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


            #region Skill

            Q  = new Spell.Targeted(SpellSlot.Q, 575);
            W  = new Spell.Targeted(SpellSlot.W, 575);
            E  = new Spell.Targeted(SpellSlot.E, 750);
            E1 = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear);
            R  = new Spell.Skillshot(SpellSlot.R, 880, SkillShotType.Circular);

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

            #region Skill

            Q = new Spell.Targeted(SpellSlot.Q, 575);
            W = new Spell.Targeted(SpellSlot.W, 575);
            E = new Spell.Targeted(SpellSlot.E, 750);
            E1 = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 880, SkillShotType.Circular);

            #endregion
        }