Example #1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Aatrox")
            {
                return;
            }
            AbilitySequence = new int[] { 3, 2, 3, 1, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
            Chat.Print("AAtron Loaded!", Color.CornflowerBlue);
            Chat.Print("Enjoy the game and DONT BLAME!", Color.Red);
            AatroxMenu.loadMenu();
            Game.OnTick += GameOnTick;
            MyActivator.loadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill
            Q = new Spell.Skillshot(SpellSlot.Q, 650, SkillShotType.Circular, (int)0.6f, 250, 2000);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 1075, SkillShotType.Linear, (int)0.25f, 35, 1250);
            R = new Spell.Active(SpellSlot.R, 550);
            #endregion

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += AntiGapCloser;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }