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

            #region Skill

            Q  = new Spell.Skillshot(SpellSlot.Q, 725, SkillShotType.Linear);
            Q1 = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Linear);
            W  = new Spell.Active(SpellSlot.W, 450);
            E  = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear);
            E1 = new Spell.Active(SpellSlot.E);
            R  = new Spell.Targeted(SpellSlot.R, 550);

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

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 725, SkillShotType.Linear);
            Q1 = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Linear);
            W = new Spell.Active(SpellSlot.W, 450);
            E = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear);
            E1 = new Spell.Active(SpellSlot.E);
            R = new Spell.Targeted(SpellSlot.R, 550);

            #endregion
        }