Пример #1
0
        static Viktor()
        {
            Q = new Spell.Targeted(SpellSlot.Q, 670);
            W = new Spell.Skillshot(SpellSlot.W, 700, SkillShotType.Circular, 500, int.MaxValue, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 1225, SkillShotType.Linear, 250, int.MaxValue, 100)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, int.MaxValue, 450)
            {
                AllowedCollisionCount = int.MaxValue
            };
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R && i != W)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.Add("Wmode", new ComboBox("GapCloser W Mode", 1, "Place On Self", "Place On Enemy"));
            AutoMenu.CreateCheckBox("GapW", "Auto W Anti-GapCloser");
            AutoMenu.CreateCheckBox("IntW", "Auto W Interrupter");
            AutoMenu.CreateCheckBox("IntR", "Auto R Interrupter");
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");

            ComboMenu.CreateSlider("RAOE", "R AoE Hit Count {0}", 2, 1, 6);
            ComboMenu.CreateSlider("RMulti", "Mutilply R Damage By X{0} Times", 3, 1, 10);

            LaneClearMenu.CreateSlider("Ehits", "E Hit Count {0}", 3, 1, 20);

            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
        }
Пример #2
0
        static Gangplank()
        {
            Init();

            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 250, int.MaxValue, 325);
            R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 250, int.MaxValue, 600);

            MenuIni   = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu  = MenuIni.AddSubMenu("Auto");
            ComboMenu = MenuIni.AddSubMenu("Combo");
            //HarassMenu = MenuIni.AddSubMenu("Harass");
            JungleClearMenu = MenuIni.AddSubMenu("JungleClear");
            LaneClearMenu   = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu   = MenuIni.AddSubMenu("KillSteal");
            DrawMenu        = MenuIni.AddSubMenu("Drawings");
            SpellList.Add(Q);
            SpellList.Add(E);
            SpellList.Add(R);

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R)
                {
                    //HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    //HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.AddSeparator(0);
                    JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    JungleClearMenu.AddSeparator(0);
                    DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot);
                    if (i != E)
                    {
                        //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                        LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                        JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    }
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs");
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");
            AutoMenu.CreateKeyBind("EQMOUSE", "E > Q To Mouse", false, KeyBind.BindTypes.HoldActive, 'S');
            ComboMenu.CreateSlider("RAOE", "R AoE Hit {0}", 3, 1, 6);
            KillStealMenu.CreateSlider("Rdmg", "Multipy R Damage By X{0}", 3, 1, 12);
            LaneClearMenu.CreateCheckBox("QLH", "LastHit Mode Q");
            LaneClearMenu.CreateSlider("EKill", "Minions Kill Count {0}", 2, 0, 10);
            LaneClearMenu.CreateSlider("EHits", "Minions To Hit With E {0}", 3, 0, 10);
            DrawMenu.CreateCheckBox("Barrels", "Enable Barrels Drawings");

            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell        += Spellbook_OnCastSpell;
        }
Пример #3
0
        static Gangplank()
        {
            Init();

            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 500, int.MaxValue, 325);
            R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 500, int.MaxValue, 600);

            MenuIni   = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu  = MenuIni.AddSubMenu("Auto");
            ComboMenu = MenuIni.AddSubMenu("Combo");
            //HarassMenu = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");
            SpellList.Add(Q);
            SpellList.Add(E);
            SpellList.Add(R);

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R)
                {
                    //HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    //HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.AddSeparator(0);
                    if (i != E)
                    {
                        //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                        LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    }
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            MenuIni.AddGroupLabel("For W CC Cleaner Check Activator > Qss");
            //AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs");
            AutoMenu.CreateCheckBox("AutoQ", "Auto Q Barrels", false);
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");

            ComboMenu.CreateCheckBox("FB", "Place First Barrel");
            ComboMenu.CreateSlider("RAOE", "R AoE Hit {0}", 3, 1, 6);

            KillStealMenu.CreateCheckBox("RSwitch", "Use Only Upgrades Damage");
            KillStealMenu.CreateSlider("Rdmg", "Multipy R Damage By X{0}", 3, 1, 12);

            LaneClearMenu.CreateCheckBox("QLH", "LastHit Mode Q");
            LaneClearMenu.CreateSlider("EKill", "Minions Kill Count {0}", 2, 0, 10);
            LaneClearMenu.CreateSlider("EHits", "Minions To Hit With E {0}", 3, 0, 10);

            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell        += Spellbook_OnCastSpell;
        }
Пример #4
0
 static LaneClear()
 {
     LaneClearMenu.AddGroupLabel("LaneClear");
     _useQ     = LaneClearMenu.Add("laneClearUseQ", new CheckBox("Use Q"));
     _useQmana = LaneClearMenu.Add("laneClearUseQmana", new Slider("Mana %"));
     LaneClearMenu.AddSeparator(10);
     _useW     = LaneClearMenu.Add("laneClearUseW", new CheckBox("Use W"));
     _useWmana = LaneClearMenu.Add("laneClearUseWmana", new Slider("Mana %"));
     LaneClearMenu.AddSeparator(10);
     _spellWeaving = LaneClearMenu.Add("laneClearSpellWeaving", new CheckBox("Use SpellWeaving"));
 }
Пример #5
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (StateHandler.Teemo.Hero != Champion.Teemo)
            {
                return;
            }

            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 680);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, (uint)Player.Instance.AttackRange);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 1000, 1000, 135);

            TeemoMenu = MainMenu.AddMenu("CrayzTeemo", "CrayzTeemo");
            TeemoMenu.AddGroupLabel("CrayzTeemo");
            TeemoMenu.AddSeparator();
            TeemoMenu.AddLabel("Made By Crayz Turkish");
            TeemoMenu.AddLabel("Have Fun!");
            TeemoMenu.AddLabel("AntiGapcloser Q and R were activated automatically.");

            ComboMenu = TeemoMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("useQCombo", new CheckBox("Use [Q] in Combo"));
            ComboMenu.Add("useRCombo", new CheckBox("Use [R] in Combo"));
            ComboMenu.Add("useWCombo", new CheckBox("Use [W] in Combo (If the target is in range AA)"));

            HarassMenu = TeemoMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQHarass", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("useWHarass", new CheckBox("Use [W] Harass"));

            LaneClearMenu = TeemoMenu.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("useQLH", new CheckBox("Use [Q] for LastHit"));
            LaneClearMenu.Add("useQWC", new CheckBox("Use [Q] for WaveClear"));

            FleeMenu = TeemoMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.AddSeparator();
            FleeMenu.Add("useRFlee", new CheckBox("Use [R] Flee"));
            FleeMenu.Add("useWFlee", new CheckBox("Use [W] Flee"));

            DrawMenu = TeemoMenu.AddSubMenu("Draw", "Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("Q.Draw", new CheckBox("Draw [Q] Range", false));
            DrawMenu.Add("R.Draw", new CheckBox("Draw [R] Range", false));

            Game.OnTick += Game_OnTick;
        }
Пример #6
0
        static Syndra()
        {
            Eball = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Linear, 600, 2400, 80)
            {
                AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical
            };

            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(Eball);
            SpellList.Add(R);

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hit {0} Minions", 3, 1, 20);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.CreateCheckBox("QEgap", "Auto QE Anti-Gapcloser");
            AutoMenu.CreateCheckBox("QEint", "Auto QE Interrupter");
            AutoMenu.CreateCheckBox("Egap", "Auto E Anti-Gapcloser");
            AutoMenu.CreateCheckBox("Eint", "Auto E Interrupter");
            AutoMenu.CreateCheckBox("Wunk", "Auto W Unkillable Minions");

            ComboMenu.CreateCheckBox("QE", "Use QE");
            HarassMenu.CreateCheckBox("QE", "Use QE");
            KillStealMenu.CreateCheckBox("QE", "QE KillSteal");

            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Spellbook.OnCastSpell            += Spellbook_OnCastSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
        }
Пример #7
0
        static Orianna()
        {
            QR = new Spell.Skillshot(SpellSlot.Q, 820, SkillShotType.Circular, 450, 1400, 350, DamageType.Magical)
            {
                AllowedCollisionCount = int.MaxValue
            };

            BallManager.Init();

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            LaneClearMenu.Add("Qfarm", new ComboBox("Q Farm Logic", 0, "Circular Area", "Linear Logic"));

            SpellList.ForEach(
                i =>
            {
                if (i != R)
                {
                    ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hit {0} Minions", 3, 1, 20);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.CreateCheckBox("flee", "Enable Smart Flee");
            AutoMenu.CreateCheckBox("fleeenemy", "Use Flee Only When Enemies Near", false);
            AutoMenu.CreateCheckBox("blockR", "Block R if no Hits");
            AutoMenu.CreateCheckBox("Ehelp", "Use E For Anti-Gapcloser & Interrupter");
            AutoMenu.CreateCheckBox("Rgap", "Auto R Anti-Gapcloser");
            AutoMenu.CreateCheckBox("Rint", "Auto R Interrupter");
            AutoMenu.CreateCheckBox("aoeR", "Auto R AOE");
            AutoMenu.CreateSlider("Raoe", "Auto R AOE Hit {0} Enemies", 3, 1, 6);

            ComboMenu.CreateCheckBox("R", "R Combo Finisher");
            ComboMenu.CreateCheckBox("aoeR", "R AOE");
            ComboMenu.CreateCheckBox("QR", "Use Q for Positon R AoE");
            ComboMenu.CreateSlider("Whit", "W Hit {0} Enemies", 1, 1, 6);
            ComboMenu.CreateSlider("Raoe", "R AOE Hit {0} Enemies", 2, 1, 6);

            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
Пример #8
0
        static Config()
        {
            Menu = MainMenu.AddMenu("Brand", "Brand");

            Menu.AddGroupLabel("Combo");
            Menu.Add("comboQ", new CheckBox("Use Q"));
            Menu.Add("comboW", new CheckBox("Use W"));
            Menu.Add("comboE", new CheckBox("Use E"));
            Menu.Add("comboR", new CheckBox("Use R"));
            Menu.Add("minEnemiesR", new Slider("Minimum enemies to use R", 1, 1, 6));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Killsteal");
            Menu.Add("ksQ", new CheckBox("Use Q"));
            Menu.Add("ksW", new CheckBox("Use W"));
            Menu.Add("ksE", new CheckBox("Use E"));
            Menu.Add("ksR", new CheckBox("Use R"));
            Menu.Add("ksIgnite", new CheckBox("Use Ignite"));

            HarassMenu = Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Spells");
            HarassMenu.Add("harassQ", new CheckBox("Use Q"));
            HarassMenu.Add("harassQmana", new Slider("Mininum mana % to use Q", 15, 0, 100));
            HarassMenu.AddSeparator();
            HarassMenu.Add("harassW", new CheckBox("Use W"));
            HarassMenu.Add("harassWmana", new Slider("Mininum mana % to use W", 15, 0, 100));
            HarassMenu.AddSeparator();
            HarassMenu.Add("harassE", new CheckBox("Use E"));
            HarassMenu.Add("harassEmana", new Slider("Mininum mana % to use E", 15, 0, 100));

            //LastHitMenu = Menu.AddSubMenu("Last Hit");
            //LastHitMenu.AddGroupLabel("Spells");
            //LastHitMenu.Add("lastHitQ", new CheckBox("Use Q"));
            //LastHitMenu.Add("minManaQ", new Slider("Mininum mana % to use Q", 15, 0, 100));
            //LastHitMenu.Add("lastHitE", new CheckBox("Use E"));
            //LastHitMenu.Add("minManaE", new Slider("Mininum mana % to use E", 15, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("Lane Clear");
            LaneClearMenu.AddGroupLabel("Spells");
            LaneClearMenu.Add("laneClearW", new CheckBox("Use W"));
            LaneClearMenu.Add("minMinionsW", new Slider("Minimum minions to use W", 2, 1, 6));
            LaneClearMenu.Add("minManaW", new Slider("Mininum mana % to use W", 25, 0, 100));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("laneClearE", new CheckBox("Use E"));
            LaneClearMenu.Add("minMinionsE", new Slider("Minimum minions to use E", 2, 1, 6));
            LaneClearMenu.Add("minManaE", new Slider("Mininum mana % to use E", 25, 0, 100));

            DrawMenu = Menu.AddSubMenu("Drawings");
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("drawW", new CheckBox("Draw W"));
            DrawMenu.Add("drawE", new CheckBox("Draw E"));
            DrawMenu.Add("drawR", new CheckBox("Draw R"));
        }
Пример #9
0
        static Config()
        {
            Menu = MainMenu.AddMenu("Not Brand", "NotBrand");

            Menu.AddGroupLabel("Kombo");
            Menu.Add("comboQ", new CheckBox("Kullan Q"));
            Menu.Add("comboW", new CheckBox("Kullan W"));
            Menu.Add("comboE", new CheckBox("Kullan E"));
            Menu.Add("comboR", new CheckBox("Kullan R"));
            Menu.Add("minEnemiesR", new Slider("R için en az düşman", 1, 1, 6));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Kill Çalma");
            Menu.Add("ksQ", new CheckBox("Kullan Q"));
            Menu.Add("ksW", new CheckBox("Kullan W"));
            Menu.Add("ksE", new CheckBox("Kullan E"));
            Menu.Add("ksR", new CheckBox("Kullan R"));
            Menu.Add("ksIgnite", new CheckBox("Tutuştur Kullan"));

            HarassMenu = Menu.AddSubMenu("Dürtme");
            HarassMenu.AddGroupLabel("Büyüler");
            HarassMenu.Add("harassQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("harassQmana", new Slider("Mininum mana % to use Q", 15, 0, 100));
            HarassMenu.AddSeparator();
            HarassMenu.Add("harassW", new CheckBox("Kullan W"));
            HarassMenu.Add("harassWmana", new Slider("Mininum mana % to use W", 15, 0, 100));
            HarassMenu.AddSeparator();
            HarassMenu.Add("harassE", new CheckBox("Kullan E"));
            HarassMenu.Add("harassEmana", new Slider("Mininum mana % to use E", 15, 0, 100));

            //LastHitMenu = Menu.AddSubMenu("Last Hit");
            //LastHitMenu.AddGroupLabel("Spells");
            //LastHitMenu.Add("lastHitQ", new CheckBox("Use Q"));
            //LastHitMenu.Add("minManaQ", new Slider("Mininum mana % to use Q", 15, 0, 100));
            //LastHitMenu.Add("lastHitE", new CheckBox("Use E"));
            //LastHitMenu.Add("minManaE", new Slider("Mininum mana % to use E", 15, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("LaneTemizleme");
            LaneClearMenu.AddGroupLabel("Büyüler");
            LaneClearMenu.Add("laneClearW", new CheckBox("Kullan W"));
            LaneClearMenu.Add("minMinionsW", new Slider("W için en az minyon", 2, 1, 6));
            LaneClearMenu.Add("minManaW", new Slider("W için en az mana", 25, 0, 100));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("laneClearE", new CheckBox("Kullan E"));
            LaneClearMenu.Add("minMinionsE", new Slider("E için en az minyon", 2, 1, 6));
            LaneClearMenu.Add("minManaE", new Slider("E için en az mana", 25, 0, 100));

            DrawMenu = Menu.AddSubMenu("Göstergeler");
            DrawMenu.Add("drawQ", new CheckBox("Göster Q"));
            DrawMenu.Add("drawW", new CheckBox("Göster W"));
            DrawMenu.Add("drawE", new CheckBox("Göster E"));
            DrawMenu.Add("drawR", new CheckBox("Göster R"));
        }
Пример #10
0
        static Sion()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 740, SkillShotType.Linear, 250, int.MaxValue, 200, DamageType.Physical)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W, 500);
            E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Linear, 250, 1250, 70)
            {
                AllowedCollisionCount = -1
            };
            R = new Spell.Skillshot(SpellSlot.R, 850, SkillShotType.Linear, 250, 950, 300)
            {
                AllowedCollisionCount = -1
            };
            SpellList.Add(Q);
            SpellList.Add(E);
            SpellList.Add(R);

            MenuIni         = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu        = MenuIni.AddSubMenu("Auto");
            ComboMenu       = MenuIni.AddSubMenu("Combo");
            HarassMenu      = MenuIni.AddSubMenu("Harass");
            JungleClearMenu = MenuIni.AddSubMenu("JungleClear");
            LaneClearMenu   = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu   = MenuIni.AddSubMenu("KillSteal");
            DrawMenu        = MenuIni.AddSubMenu("Drawings");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hits {0}", 3, 1, 20);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                    JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    JungleClearMenu.AddSeparator(0);
                    KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
                }
                DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot);
            });

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Spellbook.OnStopCast           += Spellbook_OnStopCast;
        }
Пример #11
0
        static void OnLoad(EventArgs args)
        {
            if (Player.ChampionName != ChampName)
            {
                return;
            }

            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W, 400);
            E = new Spell.Targeted(SpellSlot.E, 700);
            R = new Spell.Active(SpellSlot.R, 550);

            menu = MainMenu.AddMenu("MadCatz_Katarina", "MadCatz");
            menu.AddGroupLabel("MadCatz_Katarina");

            ComboMenu = menu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("Q", new CheckBox("Use Q", true));
            ComboMenu.Add("W", new CheckBox("Use W", true));
            ComboMenu.Add("E", new CheckBox("Use E", true));
            ComboMenu.Add("R", new CheckBox("Use R", true));
            ComboMenu.AddSeparator();

            HarassMenu = menu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass");
            HarassMenu.Add("Q", new CheckBox("Use Q", true));
            HarassMenu.Add("W", new CheckBox("Use W", true));
            HarassMenu.Add("E", new CheckBox("Use E", false));
            HarassMenu.AddSeparator();

            LaneClearMenu = menu.AddSubMenu("LanClear", "LanClear");
            LaneClearMenu.AddGroupLabel("LaneClear");
            LaneClearMenu.Add("Q", new CheckBox("Use Q", false));
            LaneClearMenu.Add("W", new CheckBox("Use W", false));
            LaneClearMenu.AddSeparator();

            Misc = menu.AddSubMenu("Misc", "Misc");
            Misc.AddGroupLabel("Misc");
            Misc.Add("Q", new CheckBox("Auto Q", true));
            Misc.Add("W", new CheckBox("Auto W", true));
            Misc.AddLabel("Auto Q,W");
            Misc.AddSeparator();


            Game.OnTick += Update;

            Chat.Print("MadCatz" + ChampName + "MadCatz_Load");
            Chat.Print("Korean Developer Good Luck!");
        }
Пример #12
0
                static LaneClear()
                {
                    LaneClearMenu.AddGroupLabel("LaneClear");

                    _useQ = LaneClearMenu.Add("useQ", new CheckBox("Use Q"));
                    LaneClearMenu.AddSeparator(10);
                    _useQmode = LaneClearMenu.Add("useQmode",
                                                  new ComboBox("Q Mode:", 2, "Always", "After Attack", "Only killable"));
                    _useQmana = LaneClearMenu.Add("useQmana", new Slider("If Mana % > {0}", 40, 0, 100));
                    LaneClearMenu.AddSeparator(20);

                    _useE = LaneClearMenu.Add("useE", new CheckBox("Use E"));
                    LaneClearMenu.AddSeparator(10);

                    _useEmode = LaneClearMenu.Add("useEmode", new ComboBox("E Mode:", 1, "Always", "Only with Ghouls"));
                    _useEmana = LaneClearMenu.Add("useEmana", new Slider("If Mana % > {0}", 40, 0, 100));
                }
Пример #13
0
        static Viktor()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R && i != W)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.Add("Wmode", new ComboBox("GapCloser W Mode", 1, "Place On Self", "Place On Enemy"));
            AutoMenu.CreateCheckBox("GapW", "Auto W Anti-GapCloser");
            AutoMenu.CreateCheckBox("IntW", "Auto W Interrupter");
            AutoMenu.CreateCheckBox("IntR", "Auto R Interrupter");
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");

            ComboMenu.CreateSlider("RAOE", "R AoE Hit Count {0}", 2, 1, 6);
            ComboMenu.CreateSlider("RMulti", "Mutilply R Damage By X{0} Times", 3, 1, 10);

            LaneClearMenu.CreateSlider("Ehits", "E Hit Count {0}", 3, 1, 20);

            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
        }
Пример #14
0
        public override void InitializeMenu()
        {
            ComboMenu.CreateCheckBox("Use Q", MenuIds.ComboUseQ);
            ComboMenu.CreateCheckBox("Use W", MenuIds.ComboUseW);
            ComboMenu.CreateCheckBox("Use E", MenuIds.ComboUseE);
            ComboMenu.CreateCheckBox("Use R", MenuIds.ComboUseR);
            ComboMenu.CreateComboBox("E Logic", "combo.e.mode", new[] { "E to Mouse" });
            ComboMenu.CreateCheckBox("Use R for Kill Steal only", "combo.r.ks");
            ComboMenu.CreateSlider("Minimum targets before casting R: {1}", "combo.r.aoe", 3, 1, 5);

            HarassMenu.CreateCheckBox("Use Q", MenuIds.HarassUseQ);
            HarassMenu.CreateCheckBox("Use W", MenuIds.HarassUseW);
            HarassMenu.CreateCheckBox("Use E", MenuIds.HarassUseE);
            HarassMenu.CreateComboBox("E Logic", "harass.e.mode", new[] { "E to Mouse" });

            LaneClearMenu.CreateCheckBox("Use Q", MenuIds.LaneclearUseQ);
            LaneClearMenu.Add("lane.mana", new Slider("Minimum {0}% mana to laneclear with Q", 65));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Jungle Clear Settings");
            LaneClearMenu.Add("jungle.q", new CheckBox("Use Q"));
            LaneClearMenu.Add("jungle.w", new CheckBox("Use W"));
            LaneClearMenu.Add("jungle.e", new CheckBox("Use E"));
            LaneClearMenu.CreateComboBox("E Logic", "jungle.e.mode", new[] { "E to Mouse" });

            KillStealMenu.CreateCheckBox("Use Q", "killsteal.q");
            KillStealMenu.CreateCheckBox("Use W", "killsteal.w");
            KillStealMenu.CreateCheckBox("Use R", "killsteal.r");
            KillStealMenu.Add("killsteal.e.withr", new CheckBox("Use E with R to Kill Steal"));

            MiscMenu.Add("misc.advancedalgorithm", new Label("Advanced Algorithm Toggles"));
            MiscMenu.Add("misc.qreturn", new CheckBox("Calculate Intersection with Q Return"));
            MiscMenu.Add("misc.qcollision", new CheckBox("Add Wall Collision Check to Q"));

            DrawMenu.CreateCheckBox("Draw Q", "draw.q", false);
            DrawMenu.CreateCheckBox("Draw W", "draw.w", false);
            DrawMenu.CreateCheckBox("Draw E", "draw.e", false);
            DrawMenu.CreateCheckBox("Draw R", "draw.r", false);
            DrawMenu.Add("draw.qreturn", new CheckBox("Draw Q Return Position", false));
        }
Пример #15
0
                static LaneClear()
                {
                    LaneClearMenu.AddGroupLabel("LaneClear");

                    _useQ = LaneClearMenu.Add("useQ", new CheckBox("Use Q"));
                    LaneClearMenu.AddSeparator(20);

                    _useQmana = LaneClearMenu.Add("useQmana", new Slider("If Mana % > {0}", 60, 0, 100));
                    LaneClearMenu.AddSeparator(20);

                    _useQminions = LaneClearMenu.Add("useQminions", new Slider("If {0} minions hit", 3, 1, 7));
                    LaneClearMenu.AddSeparator(50);

                    _useW = LaneClearMenu.Add("useW", new CheckBox("Use W"));
                    LaneClearMenu.AddSeparator(20);

                    _useWtentacles = LaneClearMenu.Add("useWtentacles", new CheckBox("Only with Tentacles in Range"));
                    LaneClearMenu.AddSeparator(20);

                    _useWmode = LaneClearMenu.Add("useWmode", new ComboBox("W Mode:", 1, "Always", "Afterattack"));
                    LaneClearMenu.AddSeparator(20);

                    _useWmana = LaneClearMenu.Add("useWmana", new Slider("If Mana % > {0}", 80, 0, 100));
                }
Пример #16
0
                static LaneClear()
                {
                    LaneClearMenu.AddGroupLabel("LaneClear");

                    _useQ = LaneClearMenu.Add("useQ", new CheckBox("Kullan Q"));
                    LaneClearMenu.AddSeparator(20);

                    _useQmana = LaneClearMenu.Add("useQmana", new Slider("Gereken mana % > {0}", 60, 0, 100));
                    LaneClearMenu.AddSeparator(20);

                    _useQminions = LaneClearMenu.Add("useQminions", new Slider("Kac {0} minyona carpsin", 3, 1, 7));
                    LaneClearMenu.AddSeparator(50);

                    _useW = LaneClearMenu.Add("useW", new CheckBox("Kullan W"));
                    LaneClearMenu.AddSeparator(20);

                    _useWtentacles = LaneClearMenu.Add("useWtentacles", new CheckBox("Sadece menzildekilere kullan"));
                    LaneClearMenu.AddSeparator(20);

                    _useWmode = LaneClearMenu.Add("useWmode", new ComboBox("W Mode:", 1, "Surekli", "AtakSonrasi"));
                    LaneClearMenu.AddSeparator(20);

                    _useWmana = LaneClearMenu.Add("useWmana", new Slider("Gereken mana % > {0}", 80, 0, 100));
                }
Пример #17
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ezreal"))
            {
                return;
            }
            Chat.Print("Doctor's Ezreal Loaded!", Color.Orange);
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100);
            R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil   = new Item(3144, 475f);
            Thm   = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("Doctor's Ezreal", "Ezreal");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("comboMode", new ComboBox("Q Mode:", 0, "Fast [Q]", "[Q] After AA"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("WMode", new ComboBox("W Mode:", 0, "Fast [W]", "[W] After AA"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] AoE"));
            ComboMenu.Add("MinR", new Slider("Use [R] AoE if hit x Enemies", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false));
            HarassMenu.Add("ManaW", new Slider("Mana Harass [W]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("Key", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'T'));
            Auto.Add("AutoQ", new CheckBox("Use [Q]"));
            Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60));
            Auto.AddSeparator();
            Auto.Add("AutoW", new CheckBox("Use [W]", false));
            Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60));
            Auto.AddSeparator();
            Auto.AddGroupLabel("Auto Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                Auto.Add("harass" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LHMode", new ComboBox("LastHit Mode:", 0, "Always [Q]", "[Q] If Orb Cant Killable"));
            LaneClearMenu.Add("LhMana", new Slider("Mana Lasthit", 50));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("LCMode", new ComboBox("LaneClear Mode:", 0, "Always [Q]", "[Q] If Orb Cant Killable"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("MnJungle", new Slider("Mana JungleClear", 20));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser", false));
            Misc.AddGroupLabel("Ultimate On CC Settings");
            Misc.Add("Rstun", new CheckBox("Use [R] Enemies Immobile"));
            Misc.AddGroupLabel("Auto Stacks Settings");
            Misc.Add("Stack", new CheckBox("Auto Stacks In Shop"));
            Misc.Add("Stackk", new CheckBox("Auto Stacks If Enemies Around = 0", false));
            Misc.Add("Stackkm", new Slider("Min Mana Auto Stack", 80));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("RKb", new KeyBind("[R] KillSteal Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'R'));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawE", new CheckBox("[E] Range", false));
            Drawings.Add("Notifications", new CheckBox("Alerter Can Killable [R]"));
            Drawings.Add("DrawAT", new CheckBox("Draw Auto Harass"));

            Drawing.OnDraw               += Drawing_OnDraw;
            Game.OnUpdate                += Game_OnUpdate;
            Gapcloser.OnGapcloser        += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit;
            Orbwalker.OnPostAttack       += ResetAttack;
        }
Пример #18
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("寒冰 连招 设置");

            ComboMenu.AddLabel("Q设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMinimumRange", new Slider("R最小射程", 350, 100, 700));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMaximumRange", new Slider("R最大射程", 2500, 700, 3000));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("寒冰 骚扰 设置");

            HarassMenu.AddLabel("W设置 :");
            HarassMenu.Add("Plugins.Ashe.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.Ashe.HarassMenu.MinManaForW", new Slider("最小蓝 百分比 ({0}%) 使用W", 60, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("寒冰 清线 设置");

            LaneClearMenu.AddLabel("基本设置 :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线"));
            var scanRange = LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Q设置 :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("W设置 :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaW", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("寒冰 其他 设置");
            MiscMenu.Add("Plugins.Ashe.MiscMenu.MaxInterrupterRange",
                         new Slider("R中断技能释放最大范围", 1500, 0, 2500));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing settings for Ashe addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawWColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawRColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Пример #19
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Lucian addon");

            ComboMenu.AddLabel("Piercing Light (Q) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Lucian.ComboMenu.ExtendQOnMinions", new CheckBox("Try to extend Q on minions"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Ardent Blaze (W) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Lucian.ComboMenu.IgnoreCollisionW", new CheckBox("Ignore collision"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Relentless Pursuit (E) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("The Culling (R) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Lucian.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Lucian addon");

            HarassMenu.AddLabel("Piercing Light (Q) settings :");
            HarassMenu.Add("Plugins.Lucian.HarassMenu.UseQ", new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange +=
                (a, b) =>
            {
                if (AutoHarassBoolItemData != null)
                {
                    AutoHarassBoolItemData.Value = b.NewValue;
                }
            };
            HarassMenu.Add("Plugins.Lucian.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Auto harass enabled for :");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Lucian.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Lucian addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Piercing Light (Q) settings :");
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.MinMinionsHitQ", new Slider("Min minions hit to use Q", 3, 1, 8));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Lucian addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Lucian.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Relentless Pursuit (E) settings :");
            MiscMenu.Add("Plugins.Lucian.MiscMenu.EMode", new ComboBox("E mode", 0, "Auto", "Cursor Pos"));
            MiscMenu.Add("Plugins.Lucian.MiscMenu.EUsageMode", new ComboBox("E usage", 0, "Always", "After autoattack only"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Lucian addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Piercing Light (Q) settings :");
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("The Culling (R) settings :");
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator");

            AutoHarassBoolItemData = PermaShow.AddItem("Auto harass", new BoolItemData("Enable Auto harass", Settings.Harass.UseQ, 14));
        }
Пример #20
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (StateHandler.Teemo.Hero != Champion.Teemo)
            {
                return;
            }

            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 680);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, (uint)Player.Instance.AttackRange);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 1000, 1000, 135);

            TeemoMenu = MainMenu.AddMenu("CrayzTeemo", "CrayzTeemo");
            TeemoMenu.AddGroupLabel("CrayzTeemo");
            TeemoMenu.AddSeparator();
            TeemoMenu.AddLabel("Made By Crayz Turkish");
            TeemoMenu.AddLabel("Have Fun!");
            TeemoMenu.AddLabel("AntiGapcloser Q and R were activated automatically.");

            ComboMenu = TeemoMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("useQCombo", new CheckBox("Use [Q] in Combo"));
            ComboMenu.Add("rcombo", new CheckBox("Use [R] in Combo"));
            ComboMenu.Add("useWCombo", new CheckBox("Use [W] in Combo (If the target is in range AA)"));
            ComboMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));

            KillStealMenu = TeemoMenu.AddSubMenu("KillSteal", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KSQ", new CheckBox("Use [Q] KS"));
            KillStealMenu.Add("KSR", new CheckBox("Use [R] KS"));


            HarassMenu = TeemoMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQHarass", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("useWHarass", new CheckBox("Use [W] Harass"));

            LaneClearMenu = TeemoMenu.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("useQLH", new CheckBox("Use [Q] for LastHit"));
            LaneClearMenu.Add("qclear", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("qManaManager", new Slider("[Q] Mana Manager", 50));
            LaneClearMenu.Add("rclear", new CheckBox("[R] LaneClear"));
            LaneClearMenu.Add("minionR", new Slider("Hit of minion to use [R]", 3, 1, 4));

            JungleClearMenu = TeemoMenu.AddSubMenu("JungleClear", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("qclear", new CheckBox("Use [Q] Jungle"));
            JungleClearMenu.Add("rclear", new CheckBox("Use [R] Jungle"));
            JungleClearMenu.Add("qManaManager", new Slider("[Q] Mana setting", 25));


            FleeMenu = TeemoMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.AddSeparator();
            FleeMenu.Add("useRFlee", new CheckBox("Use [R] Flee"));
            FleeMenu.Add("useWFlee", new CheckBox("Use [W] Flee"));

            DrawMenu = TeemoMenu.AddSubMenu("Draw", "Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("Q.Draw", new CheckBox("Draw [Q] Range", false));
            DrawMenu.Add("R.Draw", new CheckBox("Draw [R] Range", false));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Пример #21
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Jhin addon");

            ComboMenu.AddLabel("Dancing Grenade (Q) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Deadly Flourish (W) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Captive Audience (E) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Curtain Call (R) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.EnableFowPrediction", new CheckBox("Enable FoW prediction"));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.RDelay", new Slider("Delay between shots", 0, 0, 2500));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.RMode", new ComboBox("R mode", 0, "In Combo mode", "KeyBind", "Automatic"));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Jhin addon");

            HarassMenu.AddLabel("Dancing Grenade (Q) settings :");
            HarassMenu.Add("Plugins.Jhin.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Jhin.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Deadly Flourish (W) settings :");
            HarassMenu.Add("Plugins.Jhin.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.Jhin.HarassMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 80, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Jhin addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Dancing Grenade (Q) settings :");
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear", false));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinManaQ", new Slider("Minimum mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinMinionsKilledFromQ", new Slider("Minimum minions killed to use Q", 3, 1, 4));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Deadly Flourish (W) settings :");
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseWInLaneClear", new CheckBox("Use w in Lane Clear"));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1));

            MenuManager.BuildAntiGapcloserMenu();

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Jhin addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Jhin.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Deadly Flourish (W) settings :");
            MiscMenu.Add("Plugins.Jhin.MiscMenu.WFowPrediction", new CheckBox("Use FoW prediction"));
            MiscMenu.Add("Plugins.Jhin.MiscMenu.WAntiGapcloser", new CheckBox("Cast against gapclosers"));
            MiscMenu.AddSeparator(5);
            MiscMenu.AddLabel("Captive Audience (E) settings :");
            MiscMenu.Add("Plugins.Jhin.MiscMenu.EAntiGapcloser", new CheckBox("Cast against gapclosers"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Jhin addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Dancing Grenade (Q) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Deadly Flourish (W) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Captive Audience (E) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Curtain Call (R) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[4].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator and minions killable from Q");
        }
Пример #22
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Urgot addon");

            ComboMenu.AddLabel("Acid Hunter (Q) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Terror Capacitor (W) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Try to swap enemy pos under tower"));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Urgot addon");

            HarassMenu.AddLabel("Acid Hunter (Q) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Use E"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 40, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Urgot addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Acid Hunter (Q) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Urgot addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(2);
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker"));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker")).OnValueChange +=
                (a, b) =>
            {
                TearStacker.Enabled = b.NewValue;
            };

            MiscMenu.Add("Plugins.Urgot.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain", false)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.OnlyInFountain = b.NewValue;
            };

            MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.MinimumManaPercent = b.NewValue;
            };

            TearStacker.Enabled            = Settings.Misc.EnableTearStacker;
            TearStacker.OnlyInFountain     = Settings.Misc.StackOnlyInFountain;
            TearStacker.MinimumManaPercent = Settings.Misc.TearStackerMinMana;

            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Acid Hunter (Q) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.AutoHarass",
                         new KeyBind("Auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.AddLabel("Enables Auto harass on enemies with E debuff in Lane Clear and Harass mode !");
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Terror Capacitor (W) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.WMinDamage", new Slider("Auto W if incoming damage will deal more than {0}% of my hp", 10, 1));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRAgainstGapclosers", new CheckBox("Use R against gapclosers"));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Use R to interrupt dangerous spells"));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Urgot addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Acid Hunter (Q) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawR", new CheckBox("Draw R range", false));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Other settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator");
        }
Пример #23
0
        public static void getMenu()
        {
            MenuKog = MainMenu.AddMenu("KogMala", "KogMala");
            MenuKog.AddGroupLabel("O cuspidao nervoso!");
            MenuKog.AddSeparator();
            MenuKog.AddLabel("Version: " + G_version);
            MenuKog.AddLabel("Made without love by Kk2");

            ComboMenu = MenuKog.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Options");
            ComboMenu.AddSeparator();
            ComboMenu.Add("comboQ", new CheckBox("Use Q on Combo"));
            ComboMenu.Add("comboW", new CheckBox("Use W on Combo"));
            ComboMenu.Add("comboE", new CheckBox("Use E on Combo"));
            ComboMenu.Add("comboR", new CheckBox("Use R on Combo"));

            HarassMenu = MenuKog.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Options");
            HarassMenu.AddSeparator();
            HarassMenu.Add("harassQ", new CheckBox("Use Q on Harass"));
            HarassMenu.Add("harassW", new CheckBox("Use W on Harass"));
            HarassMenu.Add("harassE", new CheckBox("Use E on Harass"));
            HarassMenu.Add("harassR", new CheckBox("Use R on Harass"));

            LaneClearMenu = MenuKog.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Options");
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("clearW", new CheckBox("use W on LaneClear"));

            JungleMenu = MenuKog.AddSubMenu("JungleClear", "JungleClear");
            JungleMenu.AddGroupLabel("JungleClear Options");
            JungleMenu.AddSeparator();
            JungleMenu.Add("jungleW", new CheckBox("use W on JungleClear"));
            JungleMenu.Add("jungleR", new CheckBox("use R on JungleClear"));
            JungleMenu.Add("jungleS", new Slider("Mana % > to JungleClear", 20));

            MiscMenu = MenuKog.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Misc Options");
            MiscMenu.AddSeparator();
            MiscMenu.Add("autoPilot", new CheckBox("AutoPilot Passive of Kog"));
            MiscMenu.Add("useEgap", new CheckBox("Use E on GapCloser"));
            MiscMenu.AddSeparator();
            SkinSelect = MiscMenu.Add("skinSelect", new Slider("Choose your Skin [number]", 5, 0, 8));
            SkinSelect.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs aargs)
            {
                _Player.SetSkin(_Player.ChampionName, aargs.NewValue);
            };

            ItemsMenu = MenuKog.AddSubMenu("Items", "Items");
            ItemsMenu.AddGroupLabel("Items Options");
            ItemsMenu.AddSeparator();
            ItemsMenu.Add("usePOT", new CheckBox("Use Health Potions"));
            ItemsMenu.AddSeparator();
            ItemsMenu.Add("useBTRK", new CheckBox("Use BTRK"));
            ItemsMenu.Add("myHP", new Slider("Use If my HP <", 20));
            ItemsMenu.Add("enemyHP", new Slider("Use If enemy HP <", 20));
            ItemsMenu.AddSeparator();

            DrawsMenu = MenuKog.AddSubMenu("Drawings", "Drawings");
            DrawsMenu.AddGroupLabel("Drawing Options");
            DrawsMenu.AddSeparator();
            DrawsMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawsMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawsMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawsMenu.Add("drawR", new CheckBox("Draw R Range"));
        }
Пример #24
0
 static void OnLoadingComplete(EventArgs args)
 {
     if (!_Player.ChampionName.Contains("Twitch"))
     {
         return;
     }
     Chat.Print("Twitch7 Loaded!", Color.Orange);
     Bootstrap.Init(null);
     Q = new Spell.Active(SpellSlot.Q);
     W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular, 250, 1550, 275);
     W.AllowedCollisionCount = int.MaxValue;
     E      = new Spell.Active(SpellSlot.E, 1200);
     R      = new Spell.Active(SpellSlot.R);
     Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
     Bil    = new Item(3144, 475f);
     Youmuu = new Item(3142, 10);
     Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
     Menu   = MainMenu.AddMenu("Twitch7", "Twitch");
     Menu.AddSeparator();
     ComboMenu = Menu.AddSubMenu("连招设置", "Combo");
     ComboMenu.AddGroupLabel("连招设置");
     ComboMenu.Add("ComboQ", new CheckBox("技能 [Q]"));
     ComboMenu.Add("ComboW", new CheckBox("技能 [W]"));
     ComboMenu.AddGroupLabel("连招[E] 设置");
     ComboMenu.Add("ComboE", new CheckBox("技能 [R]"));
     ComboMenu.Add("MinEC", new Slider("最低层数使用 [E]", 5, 0, 6));
     ComboMenu.AddGroupLabel("连招[E] 目标");
     foreach (var target in EntityManager.Heroes.Enemies)
     {
         ComboMenu.Add("combo" + target.ChampionName, new CheckBox("" + target.ChampionName));
     }
     ComboMenu.AddSeparator();
     ComboMenu.Add("ComboR", new CheckBox("技能 [R]"));
     ComboMenu.Add("MinR", new Slider("最少敌人数使用 [R]", 3, 0, 5));
     HarassMenu = Menu.AddSubMenu("骚扰设置", "Harass");
     HarassMenu.AddGroupLabel("骚扰设置");
     HarassMenu.Add("HarassW", new CheckBox("使用 [W]"));
     HarassMenu.Add("HarassQ", new CheckBox("使用 [Q]", false));
     HarassMenu.Add("HminQ", new Slider("最少敌人数使用 [Q]", 2, 0, 5));
     HarassMenu.AddGroupLabel("骚扰[E] 设置");
     HarassMenu.Add("HarassE", new CheckBox("使用 [E]"));
     HarassMenu.Add("HminE", new Slider("最低层数使用 [E]", 5, 0, 6));
     HarassMenu.AddGroupLabel("骚扰[E] 目标");
     foreach (var target in EntityManager.Heroes.Enemies)
     {
         HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
     }
     HarassMenu.Add("ManaQ", new Slider("骚扰最低蓝量", 40));
     LaneClearMenu = Menu.AddSubMenu("清线设置", "LaneClear");
     LaneClearMenu.AddGroupLabel("清线设置");
     LaneClearMenu.Add("ELC", new CheckBox("使用 [E] 清线", false));
     LaneClearMenu.Add("ELH", new CheckBox("只使用 [E] 尾兵", false));
     LaneClearMenu.Add("mineLC", new Slider("最低层数使用 [E]", 4, 0, 6));
     LaneClearMenu.AddSeparator();
     LaneClearMenu.Add("WLC", new CheckBox("使用 [W] 清线", false));
     LaneClearMenu.Add("ManaLC", new Slider("清线最低蓝量", 40));
     JungleClearMenu = Menu.AddSubMenu("清野设置", "JungleClear");
     JungleClearMenu.AddGroupLabel("清野设置");
     JungleClearMenu.Add("EJungle", new CheckBox("使用 [E]"));
     JungleClearMenu.Add("mineJ", new Slider("最低层数使用 [E]", 6, 0, 6));
     JungleClearMenu.AddSeparator();
     JungleClearMenu.Add("WJungle", new CheckBox("使用 [W]"));
     JungleClearMenu.Add("MnJungle", new Slider("骚清野最低蓝量", 30));
     KillStealMenu = Menu.AddSubMenu("抢头设置", "KillSteal");
     KillStealMenu.AddGroupLabel("抢头设置");
     KillStealMenu.Add("KsW", new CheckBox("使用 [W] 抢头"));
     KillStealMenu.Add("KsE", new CheckBox("使用 [E] 抢头"));
     KillStealMenu.Add("ign", new CheckBox("使用 [点燃] 抢头"));
     Misc = Menu.AddSubMenu("杂项设置", "Misc");
     Misc.AddGroupLabel("杂项设置");
     Misc.Add("AntiGap", new CheckBox("使用 [W] 防突进"));
     Misc.Add("FleeQ", new CheckBox("使用 [Q] 逃跑"));
     Misc.Add("FleeW", new CheckBox("使用 [W] 逃跑"));
     Misc.AddGroupLabel("换肤");
     Misc.Add("checkSkin", new CheckBox("使用换肤"));
     Misc.Add("skin.Id", new ComboBox("皮肤模式", 7, "Default", "1", "2", "3", "4", "5", "6", "7"));
     Misc.AddGroupLabel("线圈设置");
     Misc.Add("DrawW", new CheckBox("W 范围"));
     Misc.Add("DrawE", new CheckBox("E 范围"));
     Misc.Add("Damage", new CheckBox("伤害指示器"));
     Items = Menu.AddSubMenu("物品设置", "Items");
     Items.AddGroupLabel("物品设置");
     Items.Add("you", new CheckBox("使用幽梦"));
     Items.Add("BOTRK", new CheckBox("使用破败"));
     Items.Add("ihp", new Slider("自身低于X血量使用破败", 50));
     Items.Add("ihpp", new Slider("敌人血量低于X使用破败", 50));
     Drawing.OnDraw        += Drawing_OnDraw;
     Drawing.OnEndScene    += Damage;
     Game.OnTick           += Game_OnTick;
     Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
 }
Пример #25
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Hecarim"))
            {
                return;
            }
            Chat.Print("Hecarim7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E, 450);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200);
            R.AllowedCollisionCount = int.MaxValue;
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Hecarim7", "Hecarim");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Spell [E]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40));

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddLabel("Auto Harass Settings");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            Auto.Add("ManaQ", new Slider("Min Mana Auto [Q]", 60));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Spell [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("LaneClear With [Q]"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50));
            LaneClearMenu.Add("LastWLC", new CheckBox("LaneClear With [W]"));
            LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Distance KillSteal", 100, 1, 700));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawW", new CheckBox("W Range", false));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnTick    += Game_OnTick;
        }
Пример #26
0
        static Kalista()
        {
            if (!Directory.Exists(appdata))
            {
                Directory.CreateDirectory(appdata);
            }

            if (!File.Exists(appdata + Game.GameId + ".dat"))
            {
                File.Create(appdata + Game.GameId + ".dat");
                Created = true;
            }

            Edmg = new Text(string.Empty, new Font("Tahoma", 9, FontStyle.Bold))
            {
                Color = System.Drawing.Color.White
            };
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2100, 60)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Skillshot(SpellSlot.W, 5000, SkillShotType.Circular, 250, 2100, 80);
            E = new Spell.Active(SpellSlot.E, 1000);
            R = new Spell.Active(SpellSlot.R, 1100);
            SpellList.Add(Q);
            SpellList.Add(E);

            MenuIni         = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu        = MenuIni.AddSubMenu("Auto");
            ComboMenu       = MenuIni.AddSubMenu("Combo");
            HarassMenu      = MenuIni.AddSubMenu("Harass");
            JungleClearMenu = MenuIni.AddSubMenu("JungleClear");
            LaneClearMenu   = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu   = MenuIni.AddSubMenu("KillSteal");
            DrawMenu        = MenuIni.AddSubMenu("Drawings");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                HarassMenu.AddSeparator(0);
                LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                LaneClearMenu.AddSeparator(0);
                JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                JungleClearMenu.AddSeparator(0);
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
                DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot);
            });

            //AutoMenu.CreateCheckBox("exploit", "Enable Kalista Exploit (WILL BAN YOU)", false);
            AutoMenu.CreateCheckBox("SoulBound", "R Save Soul Bound");
            AutoMenu.CreateCheckBox("AutoR", "Auto R");
            AutoMenu.CreateCheckBox("EDeath", "E Before Death");
            AutoMenu.CreateCheckBox("AutoEJungle", "Auto Steal Jungle Camps (E)");
            AutoMenu.CreateCheckBox("AutoEBig", "Auto Use E Big Minions");
            AutoMenu.CreateCheckBox("AutoEUnKillable", "Auto Use E On UnKillable Minions", false);
            AutoMenu.CreateCheckBox("AutoE", "Auto Use E if no modes active", false);
            AutoMenu.CreateSlider("AutoEcount", "{0} Min Stacks to Auto E", 5, 1, 25);

            var balistahero = Ballistaheros.FirstOrDefault(a => EntityManager.Heroes.Allies.Any(b => a.Hero == b.Hero));

            if (balistahero != null)
            {
                AutoMenu.CreateCheckBox(balistahero.Hero.ToString(), "Use Ballista With " + balistahero.Hero);
                AutoMenu.CreateSlider(balistahero.Hero + "dis", "Min Distance To Use Ballista", 600, 0, 1100);
            }

            ComboMenu.CreateCheckBox("Gapclose", "Auto Attack Minions To GapClose");
            ComboMenu.CreateSlider("EKillCount", "Use E To Kill {0}+ Enemies Only", 1, 1, 6);

            HarassMenu.CreateCheckBox("Emin", "E Kill Minion For Harass");
            HarassMenu.CreateSlider("Estacks", "{0} Stacks to Use E", 5, 1, 25);

            LaneClearMenu.CreateKeyBind("Etog", "E Toggle LaneClear", false, KeyBind.BindTypes.PressToggle);
            LaneClearMenu.CreateSlider("Qhits", "Q Hit Count {0}", 3, 1, 15);
            LaneClearMenu.CreateSlider("Ekills", "E Kill Count {0}", 2, 1, 10);

            JungleClearMenu.CreateCheckBox("Esmall", "E Kill Small Mobs");

            KillStealMenu.CreateCheckBox("ETransfer", "Stacks Transfer Killsteal (Q > E)");
            DrawMenu.CreateCheckBox("EDMG", "Draw E Damage");

            Orbwalker.OnUnkillableMinion   += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell          += Spellbook_OnCastSpell;
            Events.OnIncomingDamage        += Events_OnIncomingDamage;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnBuffGain         += Obj_AI_Base_OnBuffGain;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Events.OnGameEnd += Events_OnGameEnd;
        }
Пример #27
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Ashe addon");

            ComboMenu.AddLabel("Ranger's Focus (Q) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Volley (W) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Hawkshot (E) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Enchanted Crystal Arrow (R) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMinimumRange", new Slider("R minimum range to cast", 350, 100, 700));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMaximumRange", new Slider("R maximum range to cast", 2500, 700, 3000));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Ashe addon");

            HarassMenu.AddLabel("Volley (W) settings :");
            HarassMenu.Add("Plugins.Ashe.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.Ashe.HarassMenu.MinManaForW", new Slider("Min mana percentage ({0}%) to use W", 60, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Ashe addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Ranger's Focus (Q) settings :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Volley (W) settings :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 80, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Ashe addon");
            MiscMenu.Add("Plugins.Ashe.MiscMenu.MaxInterrupterRange",
                         new Slider("Max range to cast R against interruptible spell", 1500, 0, 2500));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing settings for Ashe addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawWColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawRColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Пример #28
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("老鼠 连招 设置");

            ComboMenu.AddLabel("Q 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("击杀后使用Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("有大招的时候不使用W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Use E"));
            var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E 使用模式", 0, "百分比", "最大层", "仅击杀的时候"));

            ComboMenu.AddSeparator(10);
            ComboMenu.AddLabel("百分比 : 在敌人的当前生命的百分比使用E.\n最大层 : 敌人达到最大层伤害才使用E.\n仅击杀的时候 : " +
                               "能杀死敌人的时候才使用E.");
            ComboMenu.AddSeparator(10);

            var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks",
                                           new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30));

            switch (mode.CurrentValue)
            {
            case 0:
                percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比.";
                percentage.MinValue    = 0;
                percentage.MaxValue    = 100;
                break;

            case 1:
                percentage.DisplayName = "Use E at {0} stacks.";
                percentage.MinValue    = 1;
                percentage.MaxValue    = 6;
                break;

            case 2:
                percentage.IsVisible = false;
                break;
            }
            mode.OnValueChange += (a, b) =>
            {
                switch (b.NewValue)
                {
                case 0:
                    percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比.";
                    percentage.MinValue    = 0;
                    percentage.MaxValue    = 100;
                    percentage.IsVisible   = true;
                    break;

                case 1:
                    percentage.DisplayName = "使用E在 {0} 层.";
                    percentage.MinValue    = 1;
                    percentage.MaxValue    = 6;
                    percentage.IsVisible   = true;
                    break;

                case 2:
                    percentage.IsVisible = false;
                    break;
                }
            };
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("当{0} 人的时候使用R", 3, 1, 5));
            ComboMenu.AddSeparator(5);
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("如果目标超出普攻范围使用R", false));
            ComboMenu.AddLabel("如果目标能杀死使用R, 但他不在普攻范围内, R不会在接下来的2秒.");

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("老鼠 自动骚扰 设置");

            HarassMenu.AddLabel("W 设置 :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Use W", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("E 设置 :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Use E", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("只在击中2个或更多敌人", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("最小层数使用E", 6, 1, 6));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear");
            LaneClearMenu.AddGroupLabel("老鼠 清线 设置");

            LaneClearMenu.AddLabel("基本设置 :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线"));
            var scanRange = LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("W 设置 :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Use W", false));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Contaminate (E) settings :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Use E", false));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("最少小兵的时候使用E", 4, 1, 7));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("老鼠 打野 设置");

            JungleClearMenu.AddLabel("W 设置 :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Use W", false));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("E 设置 :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Use E"));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 30, 1));
            JungleClearMenu.AddLabel("使用E仅在能杀死大野怪和buff");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("老鼠 杂项 设置");

            MiscMenu.AddLabel("基本设置 :");
            MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("隐身回城-回城的时候使用Q"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("老鼠 线圈 设置");

            DrawingsMenu.AddLabel("杂项 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("只在技能准备好的时候画出线圈"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("W 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("E 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("R 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("损坏指示图设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("绘制敌人血条的损伤指示器", false)).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor",
                             new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Пример #29
0
        static Kalista()
        {
            if (!Directory.Exists(appdata))
            {
                Directory.CreateDirectory(appdata);
            }

            if (!File.Exists(appdata + Game.GameId + ".dat"))
            {
                File.Create(appdata + Game.GameId + ".dat");
                Created = true;
            }

            Edmg = new Text(string.Empty, new Font("Tahoma", 9, FontStyle.Bold))
            {
                Color = System.Drawing.Color.White
            };
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2100, 60)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Skillshot(SpellSlot.W, 5000, SkillShotType.Circular, 250, 2100, 80);
            E = new Spell.Active(SpellSlot.E, 1000);
            R = new Spell.Active(SpellSlot.R, 1100);
            SpellList.Add(Q);
            SpellList.Add(E);

            MenuIni         = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu        = MenuIni.AddSubMenu("Otomatik");
            ComboMenu       = MenuIni.AddSubMenu("Kombo");
            HarassMenu      = MenuIni.AddSubMenu("Dürtme");
            JungleClearMenu = MenuIni.AddSubMenu("OrmanTemizleme");
            LaneClearMenu   = MenuIni.AddSubMenu("LaneTemizleme");
            KillStealMenu   = MenuIni.AddSubMenu("KillÇal");
            DrawMenu        = MenuIni.AddSubMenu("Göstergeler");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot);
                HarassMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot);
                HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60);
                HarassMenu.AddSeparator(0);
                LaneClearMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot);
                LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60);
                LaneClearMenu.AddSeparator(0);
                JungleClearMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot);
                JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60);
                JungleClearMenu.AddSeparator(0);
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillÇal");
                DrawMenu.CreateCheckBox(i.Slot, "Göster " + i.Slot);
            });

            //AutoMenu.CreateCheckBox("exploit", "Kalista Exploit Kullan (Ban Yiyebilirsin)", false);
            AutoMenu.CreateCheckBox("SoulBound", "Bağlı Olduğuna R sakla");
            AutoMenu.CreateCheckBox("AutoR", "Otomatik R");
            AutoMenu.CreateCheckBox("EDeath", "Ölmeden Önce E");
            AutoMenu.CreateCheckBox("AutoEJungle", "Orman Moblarını Otomatik çal (E)");
            AutoMenu.CreateCheckBox("AutoEBig", "Büyük Minyonlar için Otomatik E");
            AutoMenu.CreateCheckBox("AutoEUnKillable", "Ölmeyecek minyonlar için otomatik E", false);
            AutoMenu.CreateCheckBox("AutoE", "Hiçbir Mod Aktif Değilken Eyi yinede Kullan", false);
            AutoMenu.CreateSlider("AutoEcount", "{0} Otomatik R için yük say", 5, 1, 25);

            var balistahero = Ballistaheros.FirstOrDefault(a => EntityManager.Heroes.Allies.Any(b => a.Hero == b.Hero));

            if (balistahero != null)
            {
                AutoMenu.CreateCheckBox(balistahero.Hero.ToString(), "Ballista Kullan şununla " + balistahero.Hero);
                AutoMenu.CreateSlider(balistahero.Hero + "dis", "Ballista için arandaki mesafe", 600, 0, 1100);
            }

            ComboMenu.CreateCheckBox("Gapclose", "Minyona vura vura Hareket et");
            ComboMenu.CreateSlider("EKillCount", "E ile öldür {0}+ Sadece Düşman için", 1, 1, 6);

            HarassMenu.CreateCheckBox("Emin", "E ile minyon öldürerek Hedefi Dürt");
            HarassMenu.CreateSlider("Estacks", "{0} E için en az yük", 5, 1, 25);

            LaneClearMenu.CreateKeyBind("Etog", "Lanetemizlemede E Kullan/Kullanma", false, KeyBind.BindTypes.PressToggle);
            LaneClearMenu.CreateSlider("Qhits", "Q kaç Minyona Çarpsın {0}", 3, 1, 15);
            LaneClearMenu.CreateSlider("Ekills", "E ile lanetemizleme için en az minyon {0}", 2, 1, 10);

            JungleClearMenu.CreateCheckBox("Esmall", "Küçük moblara E");

            KillStealMenu.CreateCheckBox("ETransfer", "Kill Çalma için Q ya öncelik ver (Q > E)");
            DrawMenu.CreateCheckBox("EDMG", "E Hasarını Göster");

            Orbwalker.OnUnkillableMinion   += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell          += Spellbook_OnCastSpell;
            Events.OnIncomingDamage        += Events_OnIncomingDamage;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnBuffGain         += Obj_AI_Base_OnBuffGain;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Events.OnGameEnd += Events_OnGameEnd;
        }
Пример #30
0
        public static void Initialize()
        {
            // Addon Menu
            MagicianRyzeMenu = MainMenu.AddMenu("MagicianRyze", "MagicianRyze");
            MagicianRyzeMenu.AddGroupLabel("Magician Ryze");

            // Combo Menu
            ComboMenu = MagicianRyzeMenu.AddSubMenu("Combo Features", "ComboFeatures");
            ComboMenu.AddGroupLabel("Combo Features");
            ComboMenu.Add("Ucombo", new Slider("Counter Combo - My Personal Settings", 1, 1, 2));
            ComboMenu.AddSeparator(1);
            ComboMenu.AddLabel("Independent boxes for Spells:");
            ComboMenu.Add("Qcombo", new CheckBox("Use Q"));
            ComboMenu.Add("Wcombo", new CheckBox("Use W"));
            ComboMenu.Add("Ecombo", new CheckBox("Use E"));
            ComboMenu.Add("Rcombo", new CheckBox("Use R"));
            ComboMenu.Add("Dcombo", new CheckBox("Only R if Target Rooted"));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Scombo", new Slider("Passive stacks to Ult", 4, 1, 4));

            // Harass Menu
            HarassMenu = MagicianRyzeMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddLabel("Independent boxes for Spells:");
            HarassMenu.Add("Qharass", new CheckBox("Use Q"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Mana Limiter at Mana %", 25));

            // Jungle Menu
            JungleMenu = MagicianRyzeMenu.AddSubMenu("Jungle Features", "JungleFeatures");
            JungleMenu.AddGroupLabel("Jungle Features");
            JungleMenu.AddLabel("Independent boxes for Spells:");
            JungleMenu.Add("Qjungle", new CheckBox("Use Q"));
            JungleMenu.Add("Wjungle", new CheckBox("Use W"));
            JungleMenu.Add("Ejungle", new CheckBox("Use E"));
            JungleMenu.AddSeparator(1);
            JungleMenu.Add("Mjungle", new Slider("Mana Limiter at Mana %", 25));

            // LaneClear Menu
            LaneClearMenu = MagicianRyzeMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("Lane Clear Features");
            LaneClearMenu.AddLabel("Independent boxes for Spells:");
            LaneClearMenu.Add("Qlanec", new CheckBox("Use Q"));
            LaneClearMenu.Add("Wlanec", new CheckBox("Use W", false));
            LaneClearMenu.Add("Elanec", new CheckBox("Use E", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Mlanec", new Slider("Mana Limiter at Mana %", 25));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Planec", new CheckBox("Charge Passive in Lane Clear"));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.AddLabel("Late Game Lane Clear Mode - QWE minions to Mana %");
            LaneClearMenu.Add("Ulategame", new CheckBox("Late Game Mode", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.AddLabel("Late Game Mode Activators");
            LaneClearMenu.Add("Llategame", new Slider("Activate Late Game at Level", 14, 1, 18));
            LaneClearMenu.Add("Mlategame", new Slider("Mana Limiter at Mana %", 15));

            // LastHit Menu
            LastHitMenu = MagicianRyzeMenu.AddSubMenu("Last Hit Features", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("Last Hit Features");
            LastHitMenu.AddLabel("Independent boxes for Spells:");
            LastHitMenu.Add("Qlasthit", new CheckBox("Use Q"));
            LastHitMenu.Add("Wlasthit", new CheckBox("Use W", false));
            LastHitMenu.Add("Elasthit", new CheckBox("Use E", false));
            LastHitMenu.AddSeparator(1);
            LastHitMenu.Add("Mlasthit", new Slider("Mana Limiter at Mana %", 25));

            // Kill Steal Menu
            KillStealMenu = MagicianRyzeMenu.AddSubMenu("KS Features", "KSFeatures");
            KillStealMenu.AddGroupLabel("Kill Steal Features");
            KillStealMenu.Add("Uks", new CheckBox("KS Mode"));
            KillStealMenu.AddSeparator(1);
            KillStealMenu.AddLabel("Independent boxes for Spells:");
            KillStealMenu.Add("Qks", new CheckBox("Use Q in KS"));
            KillStealMenu.Add("Wks", new CheckBox("Use W in KS"));
            KillStealMenu.Add("Eks", new CheckBox("Use E in KS"));

            // Drawing Menu
            DrawingMenu = MagicianRyzeMenu.AddSubMenu("Drawing Features", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Drawing Features");
            DrawingMenu.Add("Udraw", new CheckBox("Draw Mode"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Independent boxes for Spells:");
            DrawingMenu.Add("Qdraw", new CheckBox("Draw Q"));
            DrawingMenu.Add("WEdraw", new CheckBox("Draw W & E"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Designer");
            DrawingMenu.Add("Udesign", new CheckBox("Draw Skin Design"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 9, 0, 9));

            // Setting Menu
            SettingMenu = MagicianRyzeMenu.AddSubMenu("Settings", "Settings");
            SettingMenu.AddGroupLabel("Settings");
            SettingMenu.AddLabel("Automatic Leveler");
            SettingMenu.Add("Ulevel", new CheckBox("Auto Leveler"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Automatic Tear Stacker");
            SettingMenu.Add("Ustack", new CheckBox("Stack Mode"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Ultimate Mode - If Ult is active, spam QWE");
            SettingMenu.Add("Uultimate", new CheckBox("Ultimate Mode", false));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode"));
            SettingMenu.Add("Winterrupt", new CheckBox("Use W to interrupt"));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode"));
            SettingMenu.Add("Wgapc", new CheckBox("Use W to gapclose"));
        }