예제 #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
        }
예제 #2
0
 private static void MyActivatorPage()
 {
     MyActivator = MyMenu.AddSubMenu("Activator Settings", "Items");
     MyActivator.AddGroupLabel("Auto Shield/QSS if :");
     MyActivator.Add("Blind",
                     new CheckBox("Blind", false));
     MyActivator.Add("Charm",
                     new CheckBox("Charm"));
     MyActivator.Add("Fear",
                     new CheckBox("Fear"));
     MyActivator.Add("Polymorph",
                     new CheckBox("Polymorph"));
     MyActivator.Add("Stun",
                     new CheckBox("Stun"));
     MyActivator.Add("Snare",
                     new CheckBox("Snare"));
     MyActivator.Add("Silence",
                     new CheckBox("Silence", false));
     MyActivator.Add("Taunt",
                     new CheckBox("Taunt"));
     MyActivator.Add("Suppression",
                     new CheckBox("Suppression"));
     MyActivator.AddGroupLabel("Ults");
     MyActivator.Add("ZedUlt",
                     new CheckBox("Zed Ult"));
     MyActivator.Add("VladUlt",
                     new CheckBox("Vlad Ult"));
     MyActivator.Add("FizzUlt",
                     new CheckBox("Fizz Ult"));
     MyActivator.Add("MordUlt",
                     new CheckBox("Mordekaiser Ult"));
     MyActivator.Add("PoppyUlt",
                     new CheckBox("Poppy Ult"));
     MyActivator.AddGroupLabel("Items usage:");
     MyActivator.AddSeparator();
     MyActivator.Add("checkward",
                     new CheckBox("Use AutoWard", false));
     MyActivator.Add("pinkvision",
                     new CheckBox("Use Pink Ward", false));
     MyActivator.Add("greatherstealthtotem",
                     new CheckBox("Use Greather Stealth Totem", false));
     MyActivator.Add("greatervisiontotem",
                     new CheckBox("Use Greater Vision Totem", false));
     MyActivator.Add("wardingtotem",
                     new CheckBox("Use Warding Totem", false));
     MyActivator.Add("farsightalteration",
                     new CheckBox("Use Farsight Alteration", false));
     MyActivator.AddSeparator();
     MyActivator.Add("bilgewater",
                     new CheckBox("Use Bilgewater Cutlass"));
     MyActivator.Add("bilgewater.HP",
                     new Slider("Use Bilgewater Cutlass if hp is lower than {0}(%)", 60));
     MyActivator.AddSeparator();
     MyActivator.Add("botrk",
                     new CheckBox("Use Blade of The Ruined King"));
     MyActivator.Add("botrk.HP",
                     new Slider("Use Blade of The Ruined King if hp is lower than {0}(%)", 60));
     MyActivator.AddSeparator();
     MyActivator.Add("youmus",
                     new CheckBox("Use Youmus Ghostblade"));
     MyActivator.Add("items.Youmuss.HP",
                     new Slider("Use Youmuss Ghostblade if hp is lower than {0}(%)", 60, 1));
     MyActivator.Add("youmus.Enemies",
                     new Slider("Use Youmus Ghostblade when there are {0} enemies in range", 3, 1, 5));
     MyActivator.Add("hextech",
                     new CheckBox("Use Gunblade"));
     MyActivator.Add("hextech.HP",
                     new Slider("Use Hextech Gunblade if hp is lower than {0}(%)", 60, 1));
     MyActivator.AddSeparator();
     MyActivator.AddGroupLabel("Potion Settings");
     MyActivator.Add("spells.Potions.Check",
                     new CheckBox("Use Potions"));
     MyActivator.Add("spells.Potions.HP",
                     new Slider("Use Potions when HP is lower than {0}(%)", 60, 1));
     MyActivator.Add("spells.Potions.Mana",
                     new Slider("Use Potions when Mana is lower than {0}(%)", 60, 1));
     MyActivator.AddSeparator();
     MyActivator.AddGroupLabel("Spells settings:");
     MyActivator.AddGroupLabel("Smite settings");
     MyActivator.Add("SRU_Red", new CheckBox("Smite Red Buff"));
     MyActivator.Add("SRU_Blue", new CheckBox("Smite Blue Buff"));
     MyActivator.Add("SRU_Dragon", new CheckBox("Smite Dragon"));
     MyActivator.Add("SRU_Baron", new CheckBox("Smite Baron"));
     MyActivator.Add("SRU_Gromp", new CheckBox("Smite Gromp"));
     MyActivator.Add("SRU_Murkwolf", new CheckBox("Smite Wolf"));
     MyActivator.Add("SRU_Razorbeak", new CheckBox("Smite Bird"));
     MyActivator.Add("SRU_Krug", new CheckBox("Smite Golem"));
     MyActivator.Add("Sru_Crab", new CheckBox("Smite Crab"));
     MyActivator.AddSeparator();
     MyActivator.AddGroupLabel("Barrier settings:");
     MyActivator.Add("spells.Barrier.Hp",
                     new Slider("Use Barrier when HP is lower than {0}(%)", 30, 1));
     MyActivator.AddGroupLabel("Heal settings:");
     MyActivator.Add("spells.Heal.Hp",
                     new Slider("Use Heal when HP is lower than {0}(%)", 30, 1));
     MyActivator.AddGroupLabel("Ignite settings:");
     MyActivator.Add("spells.Ignite.Focus",
                     new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1));
 }