Ejemplo n.º 1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Kindred")
            {
                return;
            }
            AbilitySequence = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
            Chat.Print("Fappadred Loaded!", Color.CornflowerBlue);
            Chat.Print("Enjoy the game and DONT AFK!", Color.Red);
            FappadredMenu.LoadMenu();
            wardLocation = new WardLocation();
            Game.OnTick += GameOnTick;
            MyActivator.LoadSpells();
            Game.OnUpdate          += OnGameUpdate;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Drawing.OnDraw         += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
            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, 500);
            R = new Spell.Targeted(SpellSlot.R, 500);
            #endregion
        }
Ejemplo n.º 2
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Kindred") return;
            AbilitySequence = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
            Chat.Print("Fappadred Loaded!", Color.CornflowerBlue);
            Chat.Print("Enjoy the game and DONT AFK!", Color.Red);
            FappadredMenu.LoadMenu();
            wardLocation = new WardLocation();
            Game.OnTick += GameOnTick;
            MyActivator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
            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, 500);
            R = new Spell.Targeted(SpellSlot.R, 500);
            #endregion
        }