Exemplo n.º 1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Nocturne")
            {
                return;
            }
            AbilitySequence = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
            Chat.Print("Fapturne Loaded!", Color.CornflowerBlue);
            Chat.Print("Enjoy the game and DONT AFK!", Color.Red);
            FapturneMenu.LoadMenu();
            wardLocation = new WardLocation();
            Game.OnTick += GameOnTick;
            MyActivator.LoadSpells();
            Game.OnUpdate          += OnGameUpdate;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Drawing.OnDraw         += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += AntiGapCloser;
            Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
            ProcessSpells.Initialize();

            #region Skill

            Q  = new Spell.Skillshot(SpellSlot.Q, 1125, SkillShotType.Linear);
            W  = new Spell.Active(SpellSlot.W);
            E  = new Spell.Targeted(SpellSlot.E, 425);
            R  = new Spell.Active(SpellSlot.R, 2500);
            R1 = new Spell.Targeted(SpellSlot.R, R.Range);



            #endregion
        }