Example #1
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Twitch addon");

            ComboMenu.AddLabel("Ambush (Q) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("Use Q after kill"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Venom Cask (W) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("Don't use W if R is active"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Contaminate (E) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Use E"));
            var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E usage mode", 0, "Percentage", "At stacks", "Only to killsteal"));

            ComboMenu.AddSeparator(10);
            ComboMenu.AddLabel("Percentage : Uses E only if it will deal desired percentage of enemy current health.\nAt stacks : Uses E only if desired amount of stack are reached on enemy.\nOnly to killsteal : " +
                               "Uses E only to execute enemies.");
            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 = "Use E if will deal ({0}%) percentage of enemy 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 = "Use E if will deal ({0}%) percentage of enemy hp.";
                    percentage.MinValue    = 0;
                    percentage.MaxValue    = 100;
                    percentage.IsVisible   = true;
                    break;

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

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

            ComboMenu.AddLabel("Rat-Ta-Tat-Tat (R) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("Use R if gonna hit {0} enemies", 3, 1, 5));
            ComboMenu.AddSeparator(5);
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("Use R if target is out of range", false));
            ComboMenu.AddLabel("Uses R if target is killabe, but he is not inside basic attack range, and R won't be up in next 2 secs.");

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

            HarassMenu.AddLabel("Venom Cask (W) settings :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Use W", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Contaminate (E) settings :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Use E", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("Only if will hit 2 or more enemies", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 80, 1));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("Min stacks to use E", 6, 1, 6));

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

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Twitch.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.Twitch.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Venom Cask (W) settings :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Use W", false));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use 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("Min mana percentage ({0}%) to use E", 80, 1));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("Min minions hit to use E", 4, 1, 7));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Twitch addon");

            JungleClearMenu.AddLabel("Venom Cask (W) settings :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Use W", false));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Contaminate (E) settings :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Use E"));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 30, 1));
            JungleClearMenu.AddLabel("Uses E only on big monsters and buffs");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Twitch addon");

            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("Enable steath recall"));

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

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

            DrawingsMenu.AddLabel("Venom Cask (W) drawing settings :");
            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("Contaminate (E) drawing settings :");
            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("Rat-Ta-Tat-Tat (R) drawing settings :");
            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("Damage indicator drawing settings :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("Draw damage indicator on enemy HP bars", 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;
            };
        }
Example #2
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");
            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 && 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);
                    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.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;
        }
Example #3
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Talon"))
            {
                return;
            }
            Chat.Print("Doctor's Talon Loaded!", Color.Orange);
            Q = new Spell.Targeted(SpellSlot.Q, 500);
            W = new Spell.Skillshot(SpellSlot.W, 750, SkillShotType.Cone, 1, 2300, 80);
            W.AllowedCollisionCount = int.MaxValue;
            R      = new Spell.Active(SpellSlot.R);
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra  = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Bil    = new Item(3144, 475f);
            Youmuu = new Item(3142, 10);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Talon", "Talon");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W]"));
            ComboMenu.Add("ComboR", new CheckBox("Always Use [R] On Combo", false));
            ComboMenu.Add("riu", new CheckBox("Use [Hydra] Reset AA"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("rcount", new CheckBox("Use [R] Aoe", false));
            ComboMenu.Add("cou", new Slider("Min Enemies Around Use [R] Aoe", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q]", false));
            HarassMenu.Add("HarassW", new CheckBox("Use [W]"));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LaneW", new CheckBox("Use [W]"));
            LaneClearMenu.Add("MinW", new Slider("Hit Minions LaneClear", 3, 1, 6));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear", 60));

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

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [W] AntiGapcloser"));
            Misc.Add("Rstun", new CheckBox("Use [W] Immobile"));
            Misc.AddSeparator();
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawQ", new CheckBox("[Q] Range"));
            Misc.Add("DrawW", new CheckBox("[W] Range"));

            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("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("you", new CheckBox("Use [Youmuu]"));
            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));

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnUpdate          += Game_OnUpdate;
            Orbwalker.OnPostAttack += ResetAttack;
            Gapcloser.OnGapcloser  += Gapcloser_OnGapcloser;
        }
Example #4
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Kayle"))
            {
                return;
            }
            Chat.Print("Doctor's Kayle Loaded!", Color.Orange);
            Chat.Print("Mercedes7", Color.Red);
            Q      = new Spell.Targeted(SpellSlot.Q, 650);
            W      = new Spell.Targeted(SpellSlot.W, 900);
            E      = new Spell.Active(SpellSlot.E, (uint)Player.Instance.GetAutoAttackRange());
            R      = new Spell.Targeted(SpellSlot.R, 900);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 22, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu = MainMenu.AddMenu("Doctor's Kayle", "Kayle");
            Menu.AddGroupLabel("Mercedes7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));

            Ulti = Menu.AddSubMenu("R Settings", "Ulti");
            Ulti.AddGroupLabel("Ultimate Settings");
            Ulti.Add("ultiR2", new CheckBox("Use [R]"));
            Ulti.Add("Alhp", new Slider("HP Use [R]", 30));
            Ulti.AddGroupLabel("Use [R] On");
            foreach (var target in EntityManager.Heroes.Allies)
            {
                Ulti.Add("useRon" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            Heal = Menu.AddSubMenu("W Settings", "Heal");
            Heal.AddGroupLabel("Heal Settings");
            Heal.Add("healW2", new CheckBox("Use [W] Allies"));
            Heal.Add("ManaHeal", new Slider("Mana Use Heal", 20));
            Heal.Add("AlW", new Slider("Allies HP Use [W]", 70));
            Heal.AddGroupLabel("Use [W] On");
            foreach (var target in EntityManager.Heroes.Allies)
            {
                Heal.Add("useWon" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("ManaHR", new Slider("Mana For Harass", 50));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("mine", new Slider("Min minions around use [E]", 2, 1, 6));
            LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50));
            LaneClearMenu.AddGroupLabel("Lasthit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] Lasthit"));
            LaneClearMenu.Add("ManaLH", new Slider("Mana For Lasthit", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("ManaJC", new Slider("Mana For JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawQ", new CheckBox("[Q] Range"));
            Misc.Add("DrawE", new CheckBox("[E] Range"));
            Misc.Add("DrawR", new CheckBox("[R] - [W] Range"));
            Misc.Add("DrawIE", new CheckBox("Status [E] Buff"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
        }
Example #5
0
 private static void JungleClearmenu()
 {
     JungleClearMenu = VMenu.AddSubMenu("JungleClear", "JungleClear");
     JungleClearMenu.Add("UseQ", new CheckBox("Kullan Q"));
     JungleClearMenu.Add("UseE", new CheckBox("Kullan E"));
 }
Example #6
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Renekton"))
            {
                return;
            }
            Chat.Print("Renekton7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q       = new Spell.Active(SpellSlot.Q, 325);
            W       = new Spell.Active(SpellSlot.W);
            E       = new Spell.Skillshot(SpellSlot.E, 450, SkillShotType.Linear);
            R       = new Spell.Active(SpellSlot.R);
            Ignite  = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());

            Menu = MainMenu.AddMenu("Renekton7", "Renekton");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Reset AA", false));
            ComboMenu.Add("FastW", new CheckBox("Use [W] Fast"));
            ComboMenu.AddGroupLabel("Combo [E] Settings");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("ComboE2", new CheckBox("Use [E2] Combo"));
            ComboMenu.Add("Edis", new Slider("Distance Use [E2]", 250, 0, 450));
            ComboMenu.AddGroupLabel("Items Settings");
            ComboMenu.Add("hydra", new CheckBox("Use [Hydra] Reset AA"));

            Ulti = Menu.AddSubMenu("Ultimate Settings", "Ulti");
            Ulti.AddGroupLabel("Ultimate Health Settings");
            Ulti.Add("ultiR", new CheckBox("Use [R] My Health"));
            Ulti.Add("MinR", new Slider("Min Health Use [R]", 50));
            Ulti.AddGroupLabel("Ultimate Enemies Count");
            Ulti.Add("ultiR2", new CheckBox("Use [R] Enemies In Range", false));
            Ulti.Add("MinE", new Slider("Min Enemies Use [R]", 3, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LHQ", new CheckBox("Use [Q] LastHit", false));
            LaneClearMenu.Add("LHW", new CheckBox("Use [W] LastHit", false));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));

            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("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsEQ", new CheckBox("Use [E-Q] KillSteal", false));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Skin Settings");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawQ", new CheckBox("Q Range"));
            Misc.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnTick            += Game_OnTick;
            Orbwalker.OnPostAttack += ResetAttack;
        }
Example #7
0
        static Config()
        {
            PandaTeemoReborn = MainMenu.AddMenu("PandaTeemoReborn", "PTR");
            PandaTeemoReborn.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            PandaTeemoReborn.AddGroupLabel(
                "Any unauthorized redistribution without credits will result in severe consequences.");
            PandaTeemoReborn.AddGroupLabel("Thank you for using this addon and have a fun time!");

            ComboMenu = PandaTeemoReborn.AddSubMenu("Combo", "Combo");
            ComboMenu.AddLabel("Spell Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q in Combo"));
            ComboMenu.Add("useW", new CheckBox("Use W in Combo"));
            ComboMenu.Add("useR", new CheckBox("Use R in Combo"));
            ComboMenu.AddLabel("ManaManager");
            ComboMenu.Add("manaQ", new Slider("Mana before casting Q"));
            ComboMenu.Add("manaW", new Slider("Mana before casting W"));
            ComboMenu.Add("manaR", new Slider("Mana before casting R"));
            ComboMenu.AddLabel("Q Settings");
            ComboMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic"));
            ComboMenu.Add("rPoison", new CheckBox("Cast R only if target isn't Poisoned"));
            ComboMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            //ComboMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            ComboMenu.AddLabel("Misc Settings");
            ComboMenu.Add("adc", new CheckBox("Use Q only on ADC", false));
            ComboMenu.Add("wRange", new CheckBox("Use W only if enemy is in range"));

            HarassMenu = PandaTeemoReborn.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Spell Settings");
            HarassMenu.Add("useQ", new CheckBox("Use Q in Harass"));
            HarassMenu.Add("useW", new CheckBox("Use W in Harass", false));
            HarassMenu.AddLabel("ManaManager");
            HarassMenu.Add("manaQ", new Slider("Mana before casting Q"));
            HarassMenu.Add("manaW", new Slider("Mana before casting W"));
            HarassMenu.AddLabel("Q Settings");
            HarassMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180));
            HarassMenu.AddLabel("Misc Settings");
            HarassMenu.Add("adc", new CheckBox("Use Q only on ADC", false));
            HarassMenu.Add("wRange", new CheckBox("Use W only if enemy is in range"));

            LaneClearMenu = PandaTeemoReborn.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddLabel("Spell Settings");
            LaneClearMenu.Add("useQ", new CheckBox("LaneClear with Q"));
            LaneClearMenu.Add("useR", new CheckBox("LaneClear with R"));
            LaneClearMenu.AddLabel("ManaManager");
            LaneClearMenu.Add("manaQ", new Slider("Q Mana Manager", 50));
            LaneClearMenu.Add("manaR", new Slider("R Mana Manager", 50));
            LaneClearMenu.AddLabel("Q Settings");
            LaneClearMenu.Add("harass", new CheckBox("Use Harass Based Logic"));
            LaneClearMenu.Add("disableLC", new CheckBox("Disable LaneClear Based Logic"));
            LaneClearMenu.AddLabel("R Settings");
            LaneClearMenu.Add("rKillable", new CheckBox("Only cast R if minion(s) are killable"));
            LaneClearMenu.Add("rPoison", new CheckBox("Cast R only if minion isn't Poisoned"));
            LaneClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            //LaneClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            LaneClearMenu.Add("minionR", new Slider("Minions before casting R: {0}", 3, 1, 4));

            JungleClearMenu = PandaTeemoReborn.AddSubMenu("JungleClear", "JungleClear");
            JungleClearMenu.AddGroupLabel("Spell Settings");
            JungleClearMenu.Add("useQ", new CheckBox("JungleClear with Q"));
            JungleClearMenu.Add("useR", new CheckBox("JungleClear with R"));
            JungleClearMenu.AddLabel("ManaManager");
            JungleClearMenu.Add("manaQ", new Slider("Q Mana Manager", 25));
            JungleClearMenu.Add("manaR", new Slider("R Mana Manager", 25));
            JungleClearMenu.AddLabel("R Settings");
            JungleClearMenu.Add("rKillable", new CheckBox("Only cast R if mob(s) are killable", false));
            JungleClearMenu.Add("rPoison", new CheckBox("Cast R only if mob isn't Poisoned"));
            JungleClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            //JungleClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            JungleClearMenu.Add("mobR", new Slider("Mobs before casting R: {0}", 1, 1, 4));
            JungleClearMenu.AddLabel("Misc Settings");
            JungleClearMenu.Add("bMob", new CheckBox("Prevent Spell Usage on Small Mobs"));

            KillStealMenu = PandaTeemoReborn.AddSubMenu("Kill Steal", "Kill Steal");
            KillStealMenu.AddGroupLabel("Spell Settings");
            KillStealMenu.Add("useQ", new CheckBox("Kill Steal with Q"));
            KillStealMenu.Add("useR", new CheckBox("Kill Steal with R", false));
            KillStealMenu.AddLabel("ManaManager");
            KillStealMenu.Add("manaQ", new Slider("Q Mana Manager", 25));
            KillStealMenu.Add("manaR", new Slider("R Mana Manager", 25));
            KillStealMenu.AddLabel("R Settings");
            //KillStealMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            KillStealMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic"));

            FleeMenu = PandaTeemoReborn.AddSubMenu("Flee Menu", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("useW", new CheckBox("Flee with W"));
            FleeMenu.Add("useR", new CheckBox("Flee with R"));
            FleeMenu.AddLabel("R Settings");
            //FleeMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            FleeMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));

            AutoShroomMenu = PandaTeemoReborn.AddSubMenu("Auto Shroom", "Auto Shroom");
            AutoShroomMenu.AddGroupLabel("Auto Shroom Settings");
            AutoShroomMenu.Add("useR", new CheckBox("AutoShroom with R"));
            AutoShroomMenu.Add("manaR", new Slider("R Mana Manager", 25));
            AutoShroomMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            AutoShroomMenu.Add("enableShroom", new CheckBox("Load AutoShroom (Requires F5)"));
            AutoShroomMenu.Add("enableDefaultLocations", new CheckBox("Use Default Locations (Requires F5)"));
            AutoShroomMenu.AddLabel("Debug Mode");
            var enable = AutoShroomMenu.Add("enableDebug", new CheckBox("Enable Debug Mode", false));

            enable.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    Chat.Print("PandaTeemo | Debug Mode Disabled", System.Drawing.Color.LawnGreen);
                }
                else
                {
                    Chat.Print("PandaTeemo | Debug Mode Enabled", System.Drawing.Color.Red);
                }
            };
            var save = AutoShroomMenu.Add("saveButton", new KeyBind("Save Configuration", false, KeyBind.BindTypes.HoldActive, 'K'));

            save.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    return;
                }

                if (Extensions.MenuValues.AutoShroom.DebugMode)
                {
                    save.CurrentValue = false;
                    AutoShroom.SavePositions();
                }
            };
            AutoShroomMenu.AddLabel("Shroom Location Adder");
            AutoShroomMenu.Add("posMode", new ComboBox("Position Mode", 0, "Save Mouse", "Save Player Position"));
            var add = AutoShroomMenu.Add("newposButton", new KeyBind("Save Position", false, KeyBind.BindTypes.HoldActive, 'L'));

            add.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    return;
                }

                if (Extensions.MenuValues.AutoShroom.DebugMode)
                {
                    add.CurrentValue = false;

                    Vector3 newPosition = Vector3.Zero;

                    switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue)
                    {
                    case 0:
                        newPosition = Game.CursorPos;
                        break;

                    case 1:
                        newPosition = Player.Instance.Position;
                        break;
                    }

                    if (newPosition != Vector3.Zero && !AutoShroom.ShroomPosition.Contains(newPosition))
                    {
                        AutoShroom.AddShroomLocation(newPosition);
                        AutoShroom.SavePositions();
                    }
                }
            };
            var remove = AutoShroomMenu.Add("delposButton", new KeyBind("Delete Position", false, KeyBind.BindTypes.HoldActive, 'U'));

            remove.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    return;
                }

                if (Extensions.MenuValues.AutoShroom.DebugMode)
                {
                    remove.CurrentValue = false;
                }

                Vector3 newPosition = Vector3.Zero;

                switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue)
                {
                case 0:
                    newPosition = Game.CursorPos;
                    break;

                case 1:
                    newPosition = Player.Instance.Position;
                    break;
                }

                if (newPosition == Vector3.Zero)
                {
                    return;
                }

                var nearbyShrooms = AutoShroom.PlayerAssignedShroomPosition.Where(pos => pos.IsInRange(newPosition, SpellManager.R.Radius)).ToList();

                if (!nearbyShrooms.Any())
                {
                    return;
                }

                AutoShroom.RemoveShroomLocations(nearbyShrooms);
                AutoShroom.SavePositions();
            };

            DrawingMenu = PandaTeemoReborn.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawingMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawingMenu.Add("drawautoR", new CheckBox("Draw Auto Shroom Positions"));
            DrawingMenu.Add("drawdoubleR", new CheckBox("Draw Double Shroom Prediction", false));

            MiscMenu = PandaTeemoReborn.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Spell Settings");
            MiscMenu.Add("autoQ", new CheckBox("Automatic Q", false));
            MiscMenu.Add("autoW", new CheckBox("Automatic W", false));
            MiscMenu.Add("intq", new CheckBox("Interrupt with Q"));
            MiscMenu.Add("gapR", new CheckBox("Gapcloser with R"));
        }
Example #8
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, Variables.AddonName + ".MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.Add(Variables.AddonName + ".Kayle.W.Enable", new CheckBox("Auto W"));
                Menu.Add(Variables.AddonName + ".Kayle.W.HP", new Slider("When HP", 50));
                Menu.Add(Variables.AddonName + ".Kayle.W.ManaLimit", new Slider("Stop when my MP below", 30));
                foreach (var champ in EntityManager.Heroes.Allies)
                {
                    Menu.Add(Variables.AddonName + ".Kayle.W.Enable." + champ.Hero, new CheckBox("Use W on " + champ.ChampionName, champ.IsMe));
                }
                #endregion

                #region R
                RMenu = Menu.AddSubMenu("R", "UBAddons.RMenu" + player.Hero, "Settings your R saver below");
                {
                    string BeginText = Variables.AddonName + "." + Player.Instance.Hero + ".R.";
                    RMenu.Add(BeginText + "Enable", new CheckBox("Use R"));
                    RMenu.AddSeparator();
                    foreach (var champ in EntityManager.Heroes.Allies)
                    {
                        RMenu.AddGroupLabel(champ.ChampionName);
                        RMenu.Add(BeginText + "Enable." + champ.Hero, new CheckBox("Use on " + champ.ChampionName));
                        if (champ.IsMe)
                        {
                            RMenu.Add(Variables.AddonName + ".Kayle.R.Turret", new CheckBox("R when turret hit me"));
                        }
                        RMenu.Add(BeginText + "HP." + champ.Hero, new Slider("Use R if " + champ.ChampionName + "'s HP below {0}%", 20, 0, 100));
                        RMenu.Add(BeginText + "Spell.Damage." + champ.Hero, new Slider("R if enemy spell damage more than", 500, 300, 3000));
                        RMenu.Add(BeginText + "Priority." + champ.Hero, new Slider(champ.ChampionName + "'s priority", CrazyTargetSelector.GetPriority(champ), 1, 5));
                        RMenu.AddSeparator();
                    }
                }
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", Variables.AddonName + ".ComboMenu" + player.Hero, "Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", Variables.AddonName + ".HarassMenu" + player.Hero, "Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", Variables.AddonName + ".LaneClear" + player.Hero, "Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", Variables.AddonName + ".JungleClear" + player.Hero, "Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LasthitMenu = Menu.AddSubMenu("Lasthit", Variables.AddonName + ".Lasthit" + player.Hero, "Settings your unkillable minion below");
                {
                    LasthitMenu.CreatLasthitOpening();
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", Variables.AddonName + ".Misc" + player.Hero, "Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser", false);
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings", Variables.AddonName + ".Drawing" + player.Hero, "Setting your Drawings below");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Log.Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Example #9
0
        public void InitMenu()
        {
            Menu = MainMenu.AddMenu(GCharname, GCharname);

            Menu.AddLabel("Version: " + GVersion);
            Menu.AddSeparator();
            Menu.AddLabel("By MrArticuno");

            DrawMenu = Menu.AddSubMenu("Draw - " + GCharname, GCharname + "Draw");
            DrawMenu.AddGroupLabel("Draw");
            DrawMenu.Add("drawReady", new CheckBox("Draw Only If The Spells Are Ready.", false));
            DrawMenu.Add("drawDisable", new CheckBox("Turn off all drawings"));
            DrawMenu.AddSeparator();
            //Q
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.AddColorItem("colorQ");
            DrawMenu.AddWidthItem("widthQ");
            //W
            DrawMenu.Add("drawW", new CheckBox("Draw W"));
            DrawMenu.AddColorItem("colorW");
            DrawMenu.AddWidthItem("widthW");
            //E
            DrawMenu.Add("drawE", new CheckBox("Draw E"));
            DrawMenu.AddColorItem("colorE");
            DrawMenu.AddWidthItem("widthE");
            //R
            DrawMenu.Add("drawR", new CheckBox("Draw R"));
            DrawMenu.AddColorItem("colorR");
            DrawMenu.AddWidthItem("widthR");

            ComboMenu = Menu.AddSubMenu("Combo - " + GCharname, GCharname + "Combo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("comboQ", new CheckBox("Use Q", true));
            ComboMenu.Add("comboW", new CheckBox("Use W", true));
            ComboMenu.Add("comboE", new CheckBox("Use E", true));
            ComboMenu.Add("comboR", new CheckBox("Use R", true));
            ComboMenu.AddGroupLabel("Combo Misc");
            ComboMenu.Add("castWifQnotLand", new CheckBox("Use W if Q not land", true));
            ComboMenu.Add("disableAA", new CheckBox("Disable AA while combo", false));
            ComboMenu.AddLabel("This option overrides min enemies for R");
            ComboMenu.Add("flashCombo", new CheckBox("Flash R Combo if Killable", false));
            ComboMenu.Add("rsMinEnemiesForR", new Slider("Min Enemies Facing for cast R: ", 2, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass - " + GCharname, GCharname + "Harass");
            HarassMenu.AddGroupLabel("Harass");
            HarassMenu.Add("hsQ", new CheckBox("Use Q", true));
            HarassMenu.Add("hsW", new CheckBox("Use W", true));
            HarassMenu.Add("hsE", new CheckBox("Use E", true));
            HarassMenu.AddGroupLabel("Harass Misc");
            HarassMenu.Add("disableAAHS", new CheckBox("Disable AA while harass", false));
            HarassMenu.Add("hsPE", new CheckBox("Only E if poisoned", true));

            LaneClearMenu = Menu.AddSubMenu("Lane Clear - " + GCharname, GCharname + "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear");
            LaneClearMenu.Add("lcQ", new CheckBox("Use Q", true));
            LaneClearMenu.Add("lcW", new CheckBox("Use W", true));
            LaneClearMenu.Add("lcE", new CheckBox("Use E", true));
            LaneClearMenu.Add("lcKE", new CheckBox("Only E if killable", false));
            LaneClearMenu.Add("lcPE", new CheckBox("Only E if poisoned", true));

            LastHitMenu = Menu.AddSubMenu("Last Hit - " + GCharname, GCharname + "LastHit");
            LastHitMenu.AddGroupLabel("Last Hit");
            LastHitMenu.Add("lhQ", new CheckBox("Use Q", true));
            LastHitMenu.Add("lhW", new CheckBox("Use W", true));
            LastHitMenu.Add("lhE", new CheckBox("Use E", true));

            JungleClearMenu = Menu.AddSubMenu("Jungle Clear - " + GCharname, GCharname + "JungleClear");
            JungleClearMenu.AddGroupLabel("Jungle Clear");
            JungleClearMenu.Add("jcQ", new CheckBox("Use Q", true));
            JungleClearMenu.Add("jcW", new CheckBox("Use W", true));
            JungleClearMenu.Add("jcE", new CheckBox("Use E", true));
            JungleClearMenu.Add("jcKE", new CheckBox("Only E if killable", false));
            JungleClearMenu.Add("jcPE", new CheckBox("Only E if poisoned", true));


            MiscMenu = Menu.AddSubMenu("Misc - " + GCharname, GCharname + "Misc");
            MiscMenu.Add("skin", new Slider("Skin Changer: ", 1, 1, 5));
            MiscMenu.Add("poisonForE", new CheckBox("Only Cast E in Poisoned targets", true));
            MiscMenu.Add("miscDelayE", new Slider("Delay E Cast by: ", 150, 0, 500));
            MiscMenu.Add("ksOn", new CheckBox("Try to KS", true));
            MiscMenu.Add("miscAntiGapW", new CheckBox("Anti Gap Closer W", true));
            MiscMenu.Add("miscAntiGapR", new CheckBox("Anti Gap Closer R", true));
            MiscMenu.Add("miscAntiMissR", new CheckBox("Block R if Miss", true));
            MiscMenu.Add("miscMinHpAntiGap", new Slider("Min HP to Anti Gap Closer R: ", 40, 0, 100));
            MiscMenu.Add("miscInterruptDangerous", new CheckBox("Interrupt Dangerous Spells", true));
        }
Example #10
0
        public void InitMenu()
        {
            Menu = MainMenu.AddMenu(GCharname, GCharname);

            Menu.AddLabel("Version: " + GVersion);
            Menu.AddSeparator();
            Menu.AddLabel("By MrArticuno");

            DrawMenu = Menu.AddSubMenu("Draw - " + GCharname, GCharname + "Draw");
            DrawMenu.AddGroupLabel("Draw");
            DrawMenu.Add("drawReady", new CheckBox("Sadece hazir olanlari goster.", false));
            DrawMenu.Add("drawDisable", new CheckBox("Tum Cizimleri Kapat"));
            DrawMenu.AddSeparator();
            //Q
            DrawMenu.Add("drawQ", new CheckBox("Goster Q"));
            DrawMenu.AddColorItem("colorQ");
            DrawMenu.AddWidthItem("widthQ");
            //W
            DrawMenu.Add("drawW", new CheckBox("Goster W"));
            DrawMenu.AddColorItem("colorW");
            DrawMenu.AddWidthItem("widthW");
            //E
            DrawMenu.Add("drawE", new CheckBox("Goster E"));
            DrawMenu.AddColorItem("colorE");
            DrawMenu.AddWidthItem("widthE");
            //R
            DrawMenu.Add("drawR", new CheckBox("Goster R"));
            DrawMenu.AddColorItem("colorR");
            DrawMenu.AddWidthItem("widthR");

            ComboMenu = Menu.AddSubMenu("Combo - " + GCharname, GCharname + "Combo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("comboQ", new CheckBox("Kullan Q", true));
            ComboMenu.Add("comboW", new CheckBox("Kullan W", true));
            ComboMenu.Add("comboE", new CheckBox("Kullan E", true));
            ComboMenu.Add("comboR", new CheckBox("Kullan R", true));
            ComboMenu.AddGroupLabel("Combo Misc");
            ComboMenu.Add("castWifQnotLand", new CheckBox("Kullan W Q ile zehirlenmesse", true));
            ComboMenu.Add("disableAA", new CheckBox("Komboda AA engelle", false));
            ComboMenu.AddLabel("This option overrides min enemies for R");
            ComboMenu.Add("flashCombo", new CheckBox("Olucek ise sicra R yap", false));
            ComboMenu.Add("rsMinEnemiesForR", new Slider("Yuzu donuk dusman sayisi R: ", 2, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass - " + GCharname, GCharname + "Harass");
            HarassMenu.AddGroupLabel("Harass");
            HarassMenu.Add("hsQ", new CheckBox("Kullan Q", true));
            HarassMenu.Add("hsW", new CheckBox("Kullan W", true));
            HarassMenu.Add("hsE", new CheckBox("Kullan E", true));
            HarassMenu.AddGroupLabel("Harass Misc");
            HarassMenu.Add("disableAAHS", new CheckBox("Durtmede AA engelle", false));
            HarassMenu.Add("hsPE", new CheckBox("Only E if poisoned", true));

            LaneClearMenu = Menu.AddSubMenu("Lane Clear - " + GCharname, GCharname + "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear");
            LaneClearMenu.Add("lcQ", new CheckBox("Kullan Q", true));
            LaneClearMenu.Add("lcW", new CheckBox("Kullan W", true));
            LaneClearMenu.Add("lcE", new CheckBox("Kullan E", true));
            LaneClearMenu.Add("lcKE", new CheckBox("Sadece olucekse E kullan", false));
            LaneClearMenu.Add("lcPE", new CheckBox("Sadece zehirliye E kullan", true));

            LastHitMenu = Menu.AddSubMenu("Last Hit - " + GCharname, GCharname + "LastHit");
            LastHitMenu.AddGroupLabel("Last Hit");
            LastHitMenu.Add("lhQ", new CheckBox("Kullan Q", true));
            LastHitMenu.Add("lhW", new CheckBox("Kullan W", true));
            LastHitMenu.Add("lhE", new CheckBox("Kullan E", true));

            JungleClearMenu = Menu.AddSubMenu("Jungle Clear - " + GCharname, GCharname + "JungleClear");
            JungleClearMenu.AddGroupLabel("Jungle Clear");
            JungleClearMenu.Add("jcQ", new CheckBox("Kullan Q", true));
            JungleClearMenu.Add("jcW", new CheckBox("Kullan W", true));
            JungleClearMenu.Add("jcE", new CheckBox("Kullan E", true));
            JungleClearMenu.Add("jcKE", new CheckBox("Sadece olucekse E kullan", false));
            JungleClearMenu.Add("jcPE", new CheckBox("Sadece zehirliye E kullan", true));


            MiscMenu = Menu.AddSubMenu("Misc - " + GCharname, GCharname + "Misc");
            MiscMenu.Add("skin", new Slider("Skin Changer: ", 1, 1, 5));
            MiscMenu.Add("poisonForE", new CheckBox("Only Cast E in Poisoned targets", true));
            MiscMenu.Add("miscDelayE", new Slider("Delay E Cast by: ", 150, 0, 500));
            MiscMenu.Add("ksOn", new CheckBox("Try to KS", true));
            MiscMenu.Add("miscAntiGapW", new CheckBox("Atilma yapana W", true));
            MiscMenu.Add("miscAntiGapR", new CheckBox("Atilma yapana R", true));
            MiscMenu.Add("miscAntiMissR", new CheckBox("Engelle R kacanlari", true));
            MiscMenu.Add("miscMinHpAntiGap", new Slider("Enaz HP atilma yapanlara R icin: ", 40, 0, 100));
            MiscMenu.Add("miscInterruptDangerous", new CheckBox("Tehlikeli buyuleri engelle", true));
        }
Example #11
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Twitch addon");

            ComboMenu.AddLabel("Ambush (Q) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Kullan Q"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("Kullan Q oldurdukten sonra"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Venom Cask (W) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Kullan W"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("R aktif degilse W kullanma"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Contaminate (E) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Kullan E"));
            var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E kullanma mode", 0, "can azalt", "yuk varken", "sadece oldurme"));

            ComboMenu.AddSeparator(10);
            ComboMenu.AddLabel("Percentage : Uses E only if it will deal desired percentage of enemy current health.\nAt stacks : Uses E only if desired amount of stack are reached on enemy.\nOnly to killsteal : " +
                               "Uses E only to execute enemies.");
            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 = "Use E if will deal ({0}%) percentage of enemy 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 = "Use E if will deal ({0}%) percentage of enemy hp.";
                    percentage.MinValue    = 0;
                    percentage.MaxValue    = 100;
                    percentage.IsVisible   = true;
                    break;

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

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

            ComboMenu.AddLabel("Rat-Ta-Tat-Tat (R) settings :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("Su kadar sampiyona deyicekse {0} R kullan", 3, 1, 5));
            ComboMenu.AddSeparator(5);
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("Hedef menzilden cikinca R kullan", false));
            ComboMenu.AddLabel("Uses R if target is killabe, but he is not inside basic attack range, and R won't be up in next 2 secs.");

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

            HarassMenu.AddLabel("Venom Cask (W) settings :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Kullan W", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Contaminate (E) settings :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Kullan E", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("Sadece 2 sampiyona deyicekse kullan", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 80, 1));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("Gereken en az yuk E", 6, 1, 6));

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

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Dusman yoksa lane temizleme aktif"));
            var scanRange = LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.ScanRange", new Slider("Dusman uzakligi", 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("Izin verilen dusman sayisi", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Venom Cask (W) settings :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Kullan W", false));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Contaminate (E) settings :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Kullan E", false));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 80, 1));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("En az kac miyona E", 4, 1, 7));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Twitch addon");

            JungleClearMenu.AddLabel("Venom Cask (W) settings :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Kullan W", false));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Contaminate (E) settings :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Kullan E"));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 30, 1));
            JungleClearMenu.AddLabel("Uses E only on big monsters and buffs");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Twitch addon");

            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("Enable steath recall"));

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

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

            DrawingsMenu.AddLabel("Venom Cask (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Goster W menzili", false));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawWColor", new CheckBox("Renk sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("Contaminate (E) drawing settings :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Goster E menzili"));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawEColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("Rat-Ta-Tat-Tat (R) drawing settings :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Goster R menzili"));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawRColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("Damage indicator drawing settings :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("Dusmana verilicek hasari goster", 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("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Example #12
0
            static JungleClear()
            {
                JMenu = Menu.AddSubMenu("JungleClear");

                JungleClearMenu.Initialize();
            }
Example #13
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, Variables.AddonName + ".MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.CreatSlotHitChance(SpellSlot.W);
                Menu.CreatSlotHitChance(SpellSlot.E);
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", Variables.AddonName + ".ComboMenu" + player.Hero, "Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotComboBox(SpellSlot.W, 1, "Usually", "Only stun");
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.CreatSlotHitSlider(SpellSlot.E, 3, 1, 5);
                    ComboMenu.AddLabel("Normal will try to stun target");
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", Variables.AddonName + ".HarassMenu" + player.Hero, "Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", Variables.AddonName + ".LaneClear" + player.Hero, "Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.Add("UBAddons.Veigar.Farm.Enable", new CheckBox("Enable AP Farm"));
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", Variables.AddonName + ".JungleClear" + player.Hero, "Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LasthitMenu = Menu.AddSubMenu("Lasthit", Variables.AddonName + ".Lasthit" + player.Hero, "Settings your unkillable minion below");
                {
                    LasthitMenu.CreatLasthitOpening();
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", Variables.AddonName + ".Misc" + player.Hero, "Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings", Variables.AddonName + ".Drawing" + player.Hero, "Setting your Drawings below");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Log.Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Example #14
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.CreatSlotHitChance(SpellSlot.W);
                Menu.CreatSlotHitChance(SpellSlot.E);
                Menu.CreatSlotHitChance(SpellSlot.R);

                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R, null, false);
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.Q, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LastHitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LastHitMenu.CreatLasthitOpening();
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.W);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LastHitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                    MiscMenu.CreatSlotComboBox(SpellSlot.R, 0, "On Tap Key", "Auto");
                    MiscMenu.Add("UBAddons.Xerath.R.Key", new KeyBind("R key", false, KeyBind.BindTypes.HoldActive, 'R'));
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings", "UBAddons.Drawings" + player.Hero, "Settings your drawings below");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.Add("UBAddons.Xerath.Notification.Draw", new CheckBox("Draw notification when can R"));
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Example #15
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, Variables.AddonName + ".MainMenu" + player.Hero, "UB" + player.Hero + " - " + Variables.AddonName + " - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.Add(Variables.AddonName + ".Amumu.Auto.R.Turret", new CheckBox("Auto R if enemy is attacked by ally turret"));
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On");
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.CreatSlotHitSlider(SpellSlot.R, 3, 1, 6);
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On");
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On");
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On");
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region LastHit
                LastHitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LastHitMenu.CreatLasthitOpening();
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.E);
                    LastHitMenu.CreatManaLimit();
                }
                #endregion

                #region Flee
                FleeMenu = Menu.AddSubMenu("Flee", "UBAddons.Flee" + player.Hero, "Setting your flee below");
                {
                    string BeginText = Variables.AddonName + "." + Player.Instance.Hero + ".";
                    FleeMenu.Add(BeginText + "Q", new CheckBox("Use Q for flee"));
                    FleeMenu.Add(BeginText + "Q.ToMinion", new CheckBox("Q to minion"));
                    FleeMenu.Add(BeginText + "Q.ToMonster", new CheckBox("Q to monster"));
                    FleeMenu.Add(BeginText + "Q.ToChamp", new CheckBox("Q to champ"));
                    FleeMenu.Add(BeginText + "Q.HP", new Slider("Min {0}% HP for E champ & monster", 15));
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings", "UBAddons.Drawings" + player.Hero, "Settings your drawings below");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Example #16
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Corki addon");

            ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Gatling Gun (E) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Valkyrie (W) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Missile Barrage (R) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("Minimum stacks to use R", 1, 1, 7));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Allow collision on minions", false));
            ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

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

            HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Gatling Gun (E) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Missile Barrage (R) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 1, 7));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Allow collision on minions"));
            HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

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

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Corki.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.Corki.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Min minions killed to use Q", 2, 1, 6));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Gatling Gun (E) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Missile Barrage (R) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 6, 1, 7));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("Minimum minions hit to use R", 3, 1, 4));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon");

            JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Gatling Gun (E) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Missile Barrage (R) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 5, 1, 7));
            JungleClearMenu.AddSeparator(1);
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Allow collision on minions"));
            JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions.");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Corki addon");
            MiscMenu.AddLabel("Auto harass settings : ");
            MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled",
                         new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Use big bomb", false));
            MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 1, 7));
            MiscMenu.AddSeparator(5);
            MiscMenu.AddLabel("Auto harass enabled for : ");

            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString()));
            }

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

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

            DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Corki.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("Valkyrie (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", 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("Missile Barrage (R) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Corki.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("Damage indicator drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("Draw damage indicator on enemy HP bars"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor",
                             new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Example #17
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Hecarim"))
            {
                return;
            }
            Chat.Print("Doctor's Hecarim Loaded!", Color.Orange);
            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E);
            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);
            Thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 22, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu      = MainMenu.AddMenu("Doctor's Hecarim", "Hecarim");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Aoe Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));
            ComboMenu.AddGroupLabel("Ultimate Selected Target Settings");
            ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt"));

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

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

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear (Keep Passive Q)"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50));
            LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70));

            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("minKsR", new Slider("Use [R] KillSteal If Enemy Distance >", 100, 1, 1000));
            KillStealMenu.AddGroupLabel("Distance < 125 = Always ,Recommended Distance 500");

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

            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("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawT", new CheckBox("Draw [E] Time"));
            Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            var notStart = new SimpleNotification("Mario`s Gangplank Yuklendi", "Mario`s Gangplank Basariyle yuklendi.");

            Notifications.Show(notStart, 2500);

            #region Combo
            ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:");
            ComboMenu.AddGroupLabel("-:Combo Büyüler:-");
            ComboMenu.Add("qCombo", new CheckBox("• Kullan Q."));
            ComboMenu.Add("eCombo", new CheckBox("• Kullan E."));
            ComboMenu.AddLabel("If the target is close to you");
            ComboMenu.Add("eComboRangeClose", new Slider("How close to put the barrel(0 on the player)", 150, 50, 600));
            ComboMenu.AddLabel("If the target is far from you");
            ComboMenu.Add("eComboRangeFar", new Slider("How close to put the barrel(0 on the player)", 350, 300, 800));
            ComboMenu.Add("rCombo", new CheckBox("• Kullan R."));
            ComboMenu.Add("rComboCount", new Slider("R için en az düşamn(0 = Kapalı)", 2, 0, 5));
            #endregion Combo

            #region Harass
            HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:");
            HarassMenu.AddGroupLabel("-:Dürtme Ayarları:-");
            HarassMenu.Add("qHarass", new CheckBox("• Kullan Q."));
            HarassMenu.Add("eHarass", new CheckBox("• Kullan E.", false));
            HarassMenu.AddGroupLabel("-:Dürtme Ayarları:-");
            HarassMenu.Add("manaHarass", new Slider("Dürtme için en az mana.", 30));
            HarassMenu.AddGroupLabel("-:Otomatikdürt Büyüleri:-");
            HarassMenu.Add("qAutoHarass", new CheckBox("• Kullan Q."));
            HarassMenu.Add("eAutoHarass", new CheckBox("• Kullan E."));
            HarassMenu.AddGroupLabel("-:Otomatikdürt Ayarları:-");
            var keyAutoHarass = HarassMenu.Add("keyAutoHarass",
                                               new KeyBind("Otomatik dürtme kapat/aç", false, KeyBind.BindTypes.PressToggle, 'T'));
            keyAutoHarass.OnValueChange += delegate
            {
                var notHarassOn  = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. ");
                var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. ");

                Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000);
            };
            HarassMenu.Add("manaAutoHarass", new Slider("Otomatik dürtme için gereken mana", 45));
            #endregion Harass

            #region LaneClear
            LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:");
            LaneClearMenu.AddGroupLabel("-:Lanetemizleme Büyüleri:-");
            LaneClearMenu.Add("qLane", new CheckBox("• Kullan Q varile."));
            LaneClearMenu.Add("qLaneLast", new CheckBox("• Kullan Q son vuruşta"));
            LaneClearMenu.Add("eLane", new CheckBox("• Kullan E."));
            LaneClearMenu.Add("eKeep", new Slider("• şu kadar varil", 1, 0, 4));
            LaneClearMenu.AddGroupLabel("-:Lanetemizleme Ayarları:-");
            LaneClearMenu.Add("qLaneCount", new Slider("Varil Q için gereken minyon", 2, 0, 6));
            LaneClearMenu.Add("eLaneCount", new Slider("Varil yerleştirmek için gereken minyon.", 3, 0, 6));
            LaneClearMenu.Add("manaLane", new Slider("Lanetemizleme için gereken en az mana", 30));
            #endregion LaneClear

            #region JungleClear
            JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:");
            JungleClearMenu.AddGroupLabel("-:Ormantemizleme Büyüleri:-");
            JungleClearMenu.Add("qJungle", new CheckBox("• Kullan Q Barrel."));
            JungleClearMenu.Add("qJungleLast", new CheckBox("• Use Q to kill the minion."));
            JungleClearMenu.Add("eJungle", new CheckBox("• Kullan E."));
            JungleClearMenu.AddGroupLabel("-:Ormantemizleme Ayarları:-");
            JungleClearMenu.Add("manaJungle", new Slider("Orman temizleme için gereken en az mana", 30));
            #endregion JungleClear

            #region Lasthit
            LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:");
            LastHitMenu.AddGroupLabel("-:Sonvuruş Büyüleri:-");
            LastHitMenu.Add("qLast", new CheckBox("• Kullan Q."));
            LastHitMenu.AddGroupLabel("-:Sonvuruş Ayarları:-");
            LastHitMenu.Add("manaLast", new Slider("Sonvuruş için gereken en az mana", 30));
            #endregion Lasthit

            #region Settings
            SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:");
            SettingsMenu.AddGroupLabel("-:Q KS AAyarları:-");
            SettingsMenu.Add("qKS", new CheckBox("• Q Kullan"));
            SettingsMenu.AddGroupLabel("-:R Ayarları:-");
            SettingsMenu.Add("rKS", new CheckBox("• R Kullan"));
            SettingsMenu.Add("rKSOverkill", new Slider("R KS hızlıkil, Ulti için gereken hedefin canı [{0}]", 150, 50, 400));
            SettingsMenu.Add("rToSaveAlly", new CheckBox("• Ryi dostlarını korumak için kullan"));
            SettingsMenu.Add("rToSaveAllyPercent", new Slider("• Dostları korumak için dostların klan canı ({0}).", 15));
            SettingsMenu.AddGroupLabel("-:W Ayarları:-");
            SettingsMenu.Add("wUsePercent", new Slider("• Canım şundan azsa  W Kullan({0}).", 20));
            SettingsMenu.AddSeparator(1);
            SettingsMenu.Add("wBuffStun", new CheckBox("• Sabitleme"));
            SettingsMenu.Add("wBuffSlow", new CheckBox("• Yavaşlatma", false));
            SettingsMenu.Add("wBuffBlind", new CheckBox("• Blind"));
            SettingsMenu.Add("wBuffSupression", new CheckBox("• Supression"));
            SettingsMenu.Add("wBuffSnare", new CheckBox("• Snare"));
            SettingsMenu.Add("wBuffTaunt", new CheckBox("• Taunt"));
            SettingsMenu.AddGroupLabel("-:Ayarlar:-");
            LastHitMenu.Add("manaSettings", new Slider("Büyüler için gereken mana", 30));
            #endregion Settings

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Büyüler hazırsa göster"));
            DrawingsMenu.Add("damageDraw", new CheckBox("•Hasartespitçisi göster"));
            DrawingsMenu.Add("perDraw", new CheckBox("• hasar tespitçisi yüzdeyle göster"));
            DrawingsMenu.Add("statDraw", new CheckBox("• hasartespitçisi istatistiklerini göster"));
            DrawingsMenu.AddGroupLabel("-:Büyüler:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• göster Q."));
            DrawingsMenu.Add("wDraw", new CheckBox("• göster W."));
            DrawingsMenu.Add("eDraw", new CheckBox("• göster E."));
            DrawingsMenu.Add("barrelDraw", new CheckBox("• göster Varil."));
            #endregion Drawings
        }
Example #19
0
        public override void InitializeMenu()
        {
            AddMultipleCheckBox(Q,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(ComboMenu),
                new MenuCheckBox(HarassMenu),
                new MenuCheckBox(LaneClearMenu, false),
                new MenuCheckBox(JungleClearMenu),
                new MenuCheckBox(LastHitMenu, false),
                new MenuCheckBox(FleeMenu),
                new MenuCheckBox(KillStealMenu),
                new MenuCheckBox(DrawMenu)
            });
            AddMultipleCheckBox(W,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(ComboMenu),
                new MenuCheckBox(HarassMenu),
                new MenuCheckBox(LaneClearMenu),
                new MenuCheckBox(JungleClearMenu),
                new MenuCheckBox(DrawMenu)
            });
            AddMultipleCheckBox(E,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(ComboMenu),
                new MenuCheckBox(HarassMenu),
                new MenuCheckBox(AutoHarassMenu),
                new MenuCheckBox(LaneClearMenu),
                new MenuCheckBox(JungleClearMenu),
                new MenuCheckBox(LastHitMenu, false),
                new MenuCheckBox(FleeMenu),
                new MenuCheckBox(KillStealMenu),
                new MenuCheckBox(DrawMenu)
            });
            AddMultipleCheckBox(R,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(ComboMenu),
                new MenuCheckBox(DrawMenu, false)
            });
            PlayerHasMana = false;

            FirstMenu.AddGroupLabel("Official plugin of OKTR- One Key To Report");

            ComboMenu.CreateSlider("Change W when under {1} HP %", 48, 80);

            HarassMenu.CreateSlider("Change W when under {1} HP %", 49, 80);

            LaneClearMenu.CreateSlider("Change W when under {1} HP %", 50, 90);
            LaneClearMenu.CreateCheckBox("Prioritize Harass over Mode", 51, false);

            JungleClearMenu.CreateSlider("Change W when under {1} HP %", 52, 80);

            LastHitMenu.CreateCheckBox("Prioritize Harass over Mode", 53, false);

            MiscMenu.AddSeparator();
            MiscMenu.AddGroupLabel("AntiGapcloser - Interrupter settings:");
            MiscMenu.CreateCheckBox("Use AntiGapcloser", MenuIds.MiscUseGapcloser);
            MiscMenu.CreateCheckBox("Use Q", 54);
            MiscMenu.CreateCheckBox("Use E", 55);

            MiscMenu.AddSeparator();
            MiscMenu.CreateCheckBox("Use Interrupter", MenuIds.MiscUseInterrupt);
            MiscMenu.CreateCheckBox("Use Q", 56);
            MiscMenu.CreateCheckBox("AutoSpells on CC", 57);
            MiscMenu.CreateCheckBox("AutoSpells on Events", 58);

            MiscMenu.AddSeparator();
            MiscMenu.CreateCheckBox("Use Auto Q", 59, false);
            MiscMenu.CreateCheckBox("Use Q on Stunned Enemies", 60, false);
            MiscMenu.CreateCheckBox("Use Q on Snared Enemies", 61, false);
            MiscMenu.CreateCheckBox("Use Q on Feared Enemies", 62, false);
            MiscMenu.CreateCheckBox("Use Q on Taunted Enemy", 63, false);
            MiscMenu.CreateCheckBox("Use Q on Suppressed Enemy", 64, false);
            MiscMenu.CreateCheckBox("Use Q on Charmed Enemies", 65, false);

            MiscMenu.CreateCheckBox("Use Auto E", 66, false);
            MiscMenu.CreateCheckBox("Use E on Stunned Enemies", 67, false);
            MiscMenu.CreateCheckBox("Use E on Snared Enemies", 68, false);
            MiscMenu.CreateCheckBox("Use E on Feared Enemies", 69, false);
            MiscMenu.CreateCheckBox("Use E on Taunted Enemy", 70, false);
            MiscMenu.CreateCheckBox("Use E on Suppressed Enemy", 71, false);
            MiscMenu.CreateCheckBox("Use E on Charmed Enemies", 72, false);
        }
Example #20
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.CreatSlotHitChance(SpellSlot.R);
                #endregion

                #region Insec
                InsecMenu = Menu.AddSubMenu("Insec", "UBAddons.Insec" + player.Hero, "UB" + player.Hero + " - Settings your insec below");
                {
                    InsecMenu.Add("UBAddons.Azir.Insec.Key", new KeyBind("Insec Key", true, KeyBind.BindTypes.HoldActive));
                    InsecMenu.Add("UBAddons.Azir.Insec.To", new ComboBox("Insec Target to", 0, "My Cursor", "My Turret", "My Ally", "Select Position"));
                }
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.Add("UBAddons.Azir.E.OnlyCanKill", new CheckBox("E to Killable Target only"));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.CreatSlotComboBox(SpellSlot.R, 0, "Smart", "Ally", "Turret", "Push");
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "UB" + player.Hero + " - Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    HarassMenu.CreatManaLimit();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.Q, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LasthitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LasthitMenu.CreatLasthitOpening();
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.Add("UBAddons.Insec.Position", new CheckBox("Draw Selected Position"));
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Example #21
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("MonkeyKing"))
            {
                return;
            }
            Chat.Print("Doctor's Wukong Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q      = new Spell.Active(SpellSlot.Q, 300);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Targeted(SpellSlot.E, 650);
            R      = new Spell.Active(SpellSlot.R, 375);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra  = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Menu   = MainMenu.AddMenu("Doctor's Wukong", "Doctor's Wukong");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("DisE", new Slider("Use [E] If Enemy Distance >", 250, 0, 650));
            ComboMenu.Add("CTurret", new KeyBind("Dont Use [E] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddGroupLabel("Items Settings");
            ComboMenu.Add("hydra", new CheckBox("Use [Hydra] Reset AA"));

            Ulti = Menu.AddSubMenu("Ultimate Settings", "Ulti");
            Ulti.AddGroupLabel("Ultimate Enemies In Count");
            Ulti.Add("ultiR", new CheckBox("Use [R] Aoe"));
            Ulti.Add("MinR", new Slider("Min Enemies Use [R] Aoe", 2, 1, 5));
            Ulti.Add("follow", new CheckBox("Auto Move To Target While [R]", false));
            Ulti.AddGroupLabel("Ultimate My HP");
            Ulti.Add("ultiR2", new CheckBox("Use [R] If My HP <"));
            Ulti.Add("MauR", new Slider("My HP Use [R]", 40));
            Ulti.Add("wulti", new CheckBox("Use [W] If My HP <"));
            Ulti.Add("MauW", new Slider("My HP Use [W]", 40));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass", false));
            HarassMenu.Add("ManaHR", new Slider("Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false));
            LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("ManaJC", new Slider("Mana For JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal", false));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal", false));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Skin Settings");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawR", new CheckBox("[R] Range"));
            Misc.Add("DrawE", new CheckBox("[E] Range"));
            Misc.Add("DrawTR", new CheckBox("Status UnderTurret"));
            Misc.AddGroupLabel("Interrupt/Anti Gap Settings");
            Misc.Add("inter", new CheckBox("Use [R] Interupt"));
            Misc.Add("AntiGap", new CheckBox("Use [W] Anti Gapcloser"));

            Drawing.OnDraw                   += Drawing_OnDraw;
            Game.OnUpdate                    += Game_OnUpdate;
            Orbwalker.OnPostAttack           += ResetAttack;
            Interrupter.OnInterruptableSpell += Interupt;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
        }
Example #22
0
// Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ashe"))
            {
                return;
            }
            Chat.Print("Doctor's Ashe Loaded!", Color.Orange);
            Q = new Spell.Active(SpellSlot.Q, 600);
            W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            W.AllowedCollisionCount = 0;
            E = new Spell.Skillshot(SpellSlot.E, 10000, SkillShotType.Linear);
            E.AllowedCollisionCount = int.MaxValue;
            R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 250, 1600, 100);
            R.AllowedCollisionCount = -1;
            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
            });
            Menu = MainMenu.AddMenu("Doctor's Ashe", "Ashe");
            Menu.AddGroupLabel("Mercedes7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Reset AA"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboMode", new ComboBox("W Mode:", 1, "Fast [W]", "[W] Reset AA"));
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("KeepCombo", new CheckBox("Keep Mana For [R]", false));
            ComboMenu.AddGroupLabel("Ultimate Aoe Settings");
            ComboMenu.Add("RAoe", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("minRAoe", new Slider("Use [R] Aoe If Hit x Enemies", 2, 1, 5));
            ComboMenu.AddGroupLabel("Ultimate Selected Target Settings");
            ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'Y'));
            ComboMenu.AddGroupLabel("KillSteal Settings");
            ComboMenu.Add("RKs", new CheckBox("Use [R] KillSteal"));
            ComboMenu.Add("WKs", new CheckBox("Use [W] KillSteal"));
            ComboMenu.Add("RKb", new KeyBind("Semi Manual [R] KillSteal", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("KeepHarass", new CheckBox("Keep Mana For [R]", false));
            HarassMenu.Add("manaHarass", new Slider("Mana Harass", 50, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("Laneclear Settings", "Clear");
            LaneClearMenu.AddGroupLabel("Laneclear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q] Laneclear", false));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W] Laneclear", false));
            LaneClearMenu.Add("minw", new Slider("Number Hit Minions Use [W]", 2, 1, 6));
            LaneClearMenu.Add("manaFarm", new Slider("Mana LaneClear", 60, 0, 100));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("jungleQ", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("jungleW", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("manaJung", new Slider("Mana JungleClear", 20, 0, 100));

            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));

            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Anti Gapcloser", false));
            Misc.Add("antiRengar", new CheckBox("Anti Rengar KhaZix", false));
            Misc.Add("inter", new CheckBox("Use [R] Interupt"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("DrawW", new CheckBox("Draw [W]", false));
            Misc.Add("Notifications", new CheckBox("Alerter Can Kill With [R]"));

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

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnPostAttack           += ResetAttack;
            GameObject.OnCreate              += GameObject_OnCreate;
        }
Example #23
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != ChampionName)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 750, 1450, 1500, 500, int.MaxValue, 100)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Skillshot(SpellSlot.W, 1100, SkillShotType.Circular, 250, int.MaxValue, 100)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 1600, 70);
            R = new Spell.Skillshot(SpellSlot.R, 3200, SkillShotType.Circular, 600, int.MaxValue, 125)
            {
                AllowedCollisionCount = int.MaxValue
            };

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

            Menuini         = MainMenu.AddMenu("Xerath", "Xerath");
            RMenu           = Menuini.AddSubMenu("R Settings");
            ComboMenu       = Menuini.AddSubMenu("Combo Settings");
            HarassMenu      = Menuini.AddSubMenu("Harass Settings");
            LaneClearMenu   = Menuini.AddSubMenu("LaneClear Settings");
            JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings");
            KillStealMenu   = Menuini.AddSubMenu("KillSteal Settings");
            MiscMenu        = Menuini.AddSubMenu("Misc Settings");
            DrawMenu        = Menuini.AddSubMenu("Drawings Settings");
            ColorMenu       = Menuini.AddSubMenu("Color Picker");

            RMenu.AddGroupLabel("R Settings");
            RMenu.Add("R", new CheckBox("Use R"));
            RMenu.Add(R.Slot + "hit", new ComboBox("R HitChance", 0, "High", "Medium", "Low"));
            RMenu.Add("scrybR", new CheckBox("Use Scrybing Orb while Ulting"));
            RMenu.Add("Rmode", new ComboBox("R Mode", 0, "Auto", "Custom Delays", "On Tap"));
            RMenu.Add("Rtap", new KeyBind("R Tap Key", false, KeyBind.BindTypes.HoldActive, 'S'));
            RMenu.AddGroupLabel("R Custom Delays");
            for (int i = 1; i <= 5; i++)
            {
                RMenu.Add("delay" + i, new Slider("Delay " + i, 0, 0, 1500));
            }
            RMenu.Add("Rblock", new CheckBox("Block Commands While Casting R"));
            RMenu.Add("Rnear", new CheckBox("Focus Targets Near Mouse Only"));
            RMenu.Add("Mradius", new Slider("Mouse Radius", 750, 300, 1500));

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("key", new KeyBind("Combo Key", false, KeyBind.BindTypes.HoldActive, 32));
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add(Q.Slot + "hit", new ComboBox("Q HitChance", 0, "High", "Medium", "Low"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add(W.Slot + "hit", new ComboBox("W HitChance", 0, "High", "Medium", "Low"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add(E.Slot + "hit", new ComboBox("E HitChance", 0, "High", "Medium", "Low"));

            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("key", new KeyBind("Harass Key", false, KeyBind.BindTypes.HoldActive, 'C'));
            HarassMenu.Add("toggle", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.Add("Q", new CheckBox("Use Q"));
            HarassMenu.Add(Q.Slot + "hit", new ComboBox("Q HitChance", 0, "High", "Medium", "Low"));
            HarassMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]"));
            HarassMenu.Add("W", new CheckBox("Use W"));
            HarassMenu.Add(W.Slot + "hit", new ComboBox("W HitChance", 0, "High", "Medium", "Low"));
            HarassMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]"));
            HarassMenu.Add("E", new CheckBox("Use E"));
            HarassMenu.Add(E.Slot + "hit", new ComboBox("E HitChance", 0, "High", "Medium", "Low"));
            HarassMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]"));

            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("key", new KeyBind("LaneClear Key", false, KeyBind.BindTypes.HoldActive, 'V'));
            LaneClearMenu.Add("Q", new CheckBox("Use Q"));
            LaneClearMenu.Add("Qmode", new ComboBox("Q Mode", 0, "LaneClear", "LastHit", "Both"));
            LaneClearMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]"));
            LaneClearMenu.Add("W", new CheckBox("Use W"));
            LaneClearMenu.Add("Wmode", new ComboBox("W Mode", 0, "LaneClear", "LastHit", "Both"));
            LaneClearMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]"));
            LaneClearMenu.Add("E", new CheckBox("Use E"));
            LaneClearMenu.Add("Emode", new ComboBox("E Mode", 0, "LaneClear", "LastHit", "Both"));
            LaneClearMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]"));

            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("key", new KeyBind("JungleClear Key", false, KeyBind.BindTypes.HoldActive, 'V'));
            JungleClearMenu.Add("Q", new CheckBox("Use Q"));
            JungleClearMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]"));
            JungleClearMenu.Add("W", new CheckBox("Use W"));
            JungleClearMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]"));
            JungleClearMenu.Add("E", new CheckBox("Use E"));
            JungleClearMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]"));

            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("Q", new CheckBox("Use Q"));
            KillStealMenu.Add("W", new CheckBox("Use W"));
            KillStealMenu.Add("E", new CheckBox("Use E"));

            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gap", new CheckBox("E Anti-GapCloser"));
            MiscMenu.Add("int", new CheckBox("E Interrupter"));
            MiscMenu.Add("danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low"));
            MiscMenu.Add("flee", new KeyBind("Escape with E", false, KeyBind.BindTypes.HoldActive, 'A'));
            var notifi = MiscMenu.Add("Notifications", new CheckBox("Use Notifications"));

            MiscMenu.Add("autoECC", new CheckBox("Auto E On CC enemy"));
            MiscMenu.Add("scrybebuy", new CheckBox("Auto Scrybing Orb Buy"));
            MiscMenu.Add("scrybebuylevel", new Slider("Buy Orb at level [{0}]", 9, 1, 18));
            MiscMenu.AddGroupLabel("Anti-GapCloser Spells");
            foreach (var spell in
                     from spell in Gapcloser.GapCloserList
                     from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName)
                     select spell)
            {
                MiscMenu.Add(spell.SpellName, new CheckBox(spell.ChampName + " - " + spell.SpellSlot));
            }

            foreach (var spell in SpellList)
            {
                DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
            }

            DrawMenu.Add("Rmini", new CheckBox("Draw R Range (MiniMap)", false));

            foreach (var spell in SpellList)
            {
                ColorMenu.Add(spell.Slot + "Color", new ColorPicker(spell.Slot + " Color", Color.Chartreuse));
            }

            if (notifi.CurrentValue)
            {
                Common.ShowNotification("KappaXerath - Loaded", 5000);
            }

            Game.OnUpdate      += Game_OnGameUpdate;
            Drawing.OnDraw     += Drawing_OnDraw;
            Drawing.OnEndScene += Drawing_OnEndScene;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Player.OnIssueOrder   += Player_OnIssueOrder;
            GameObject.OnCreate   += GameObject_OnCreate;
            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
Example #24
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.CreatSlotHitChance(SpellSlot.W);
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.Add("UBAddons.Brand.Q.Only.Stun", new CheckBox("Only Stun"));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.Add("UBAddons.Brand.W.Only.Extra", new CheckBox("Only Extra damage", false));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.Add("UBAddons.Brand.E.Only.Spread", new CheckBox("Only Spread", false));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.Add("UBAddons.Brand.R.Count.Passive", new Slider("Only has {0} champ passived around", 1, 1, 5));
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.Add("UBAddons.Brand.Q.Only.Stun", new CheckBox("Only Stun", false));
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.Add("UBAddons.Brand.W.Only.Extra", new CheckBox("Only Extra damage", false));
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.Add("UBAddons.Brand.E.Only.Spread", new CheckBox("Only Spread", false));
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.Add("UBAddons.Brand.Q.LaneClear.Around", new Slider("Only Q if around", 3, 1, 10));
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LastHitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LastHitMenu.CreatLasthitOpening();
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.W);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LastHitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings", "UBAddons.Drawings" + player.Hero, "Settings your drawings below");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Example #25
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Sejuani"))
            {
                return;
            }
            Chat.Print("Doctor's Sejuani Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 650, SkillShotType.Linear, 0, 1600, 70);
            Q.AllowedCollisionCount = -1;
            W = new Spell.Active(SpellSlot.W, 350);
            E = new Spell.Active(SpellSlot.E, 1000);
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1600, 110);
            R.AllowedCollisionCount = -1;
            F = new Spell.Skillshot(_Player.GetSpellSlotFromName("summonerflash"), 425, SkillShotType.Linear, 0, int.MaxValue, 60);
            F.AllowedCollisionCount = int.MaxValue;
            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 = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Sejuani", "Sejuani");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboFQ", new KeyBind("[Q] + [Flash] Target ", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("DisQ", new Slider("Use [Q] If Enemy Distance >", 10, 0, 650));
            ComboMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("DisE", new Slider("Use [E] If Enemy Distance > ", 10, 0, 1000));
            ComboMenu.AddLabel("[E] Distance < 125 = Always [E]");
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("MinR", new Slider("Min Hit Enemies Use [R]", 3, 0, 5));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt", false));
            ComboMenu.Add("interQ", new CheckBox("Use [Q] Interrupt", false));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("DisQ2", new Slider("Use [Q] If Enemy Distance >", 350, 0, 650));
            HarassMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("DisE2", new Slider("Use [E] If Enemy Distance >", 350, 0, 1000));
            HarassMenu.AddLabel("[E] Distance < 125 = Always [E]");
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass", 40));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false));
            LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("LaneE", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] 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("minKsR", new Slider("Min [R] Distance KillSteal", 100, 1, 1175));
            KillStealMenu.Add("RKb", new KeyBind("[R] Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'T'));
            KillStealMenu.AddGroupLabel("Recommended Distance 600");

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

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range"));
            Drawings.Add("DrawE", new CheckBox("[E] Range"));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit"));
            Drawings.Add("Notifications", new CheckBox("Notifications Killable [R]"));
            Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Example #26
0
// Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ekko"))
            {
                return;
            }
            Chat.Print("Victorious Ekko Loaded!", Color.White);
            EkkoREmitter            = ObjectManager.Get <Obj_GeneralParticleEmitter>().FirstOrDefault(x => x.Name.Equals("Ekko_Base_R_TrailEnd.troy"));
            Q                       = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Linear, 250, 2200, 60);
            Q.AllowedCollisionCount = int.MaxValue;
            W                       = new Spell.Skillshot(SpellSlot.W, 1600, SkillShotType.Circular, 1500, 500, 650);
            W.AllowedCollisionCount = int.MaxValue;
            E                       = new Spell.Active(SpellSlot.E, 450);
            R                       = new Spell.Active(SpellSlot.R, 375);
            Thm                     = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 16, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu = MainMenu.AddMenu("Victorious Ekko", "Ekko");
            Menu.AddGroupLabel("Mercedes7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("CQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("CW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("CW2", new CheckBox("Use [W] No Prediction", false));
            ComboMenu.Add("CE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("EMode", new ComboBox("Combo Mode:", 0, "E To Target", "E To Mouse"));
            ComboMenu.Add("CTurret", new KeyBind("Don't Use [E] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));

            Ulti = Menu.AddSubMenu("Ulti Settings", "Ulti");
            Ulti.AddGroupLabel("Ulti Settings");
            Ulti.Add("RKs", new CheckBox("Use [R] Ks"));
            Ulti.Add("RAoe", new CheckBox("Use [R] Aoe"));
            Ulti.Add("MinR", new Slider("Min Hit Enemies Use [R] Aoe", 3, 1, 5));
            Ulti.Add("REscape", new CheckBox("Use [R] Low Hp"));
            Ulti.Add("RHp", new Slider("Below MyHp Use [R]", 20));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("HW2", new CheckBox("Use [W] No Prediction", false));
            HarassMenu.Add("HE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("HTurret", new CheckBox("Don't [E] Under Turret"));
            HarassMenu.Add("MinE", new Slider("Limit Enemies Around Target Use [E] Harass", 5, 1, 5));
            HarassMenu.Add("HM", new Slider("Mana Harass", 50, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("Laneclear Settings", "Clear");
            LaneClearMenu.AddGroupLabel("Laneclear Settings");
            LaneClearMenu.Add("LQ", new CheckBox("Use [Q] Laneclear"));
            LaneClearMenu.Add("MinQ", new Slider("Min Hit Minions Use [Q] LaneClear", 3, 1, 6));
            LaneClearMenu.Add("LE", new CheckBox("Use [E] Laneclear", false));
            LaneClearMenu.Add("LM", new Slider("Mana LaneClear", 60, 0, 100));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("JQ", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("JW", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("JE", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JM", new Slider("Mana JungleClear", 20, 0, 100));

            KillSteals = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillSteals.Add("QKs", new CheckBox("Use [Q] Ks"));
            KillSteals.Add("EKs", new CheckBox("Use [E] Ks"));

            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Misc.Add("inter", new CheckBox("Use [W] Interupt", false));
            Misc.Add("Qcc", new CheckBox("Use [Q] Immobile"));
            Misc.Add("QPassive", new CheckBox("Auto [Q] Enemies With 2 Stacks"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("DrawE", new CheckBox("Draw [E]"));
            Misc.Add("DrawQ", new CheckBox("Draw [Q]"));
            Misc.Add("DrawW", new CheckBox("Draw [W]", false));
            Misc.Add("DrawR", new CheckBox("Draw [R]"));
            Misc.Add("DrawTR", new CheckBox("Status UnderTuret"));
            Misc.AddGroupLabel("Skins Settings");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3"));

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnProcessSpellCast   += AIHeroClient_OnProcessSpellCast;
            GameObject.OnCreate              += Game_On_Create;
            GameObject.OnDelete              += Game_On_Delete;
        }
Example #27
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Twitch"))
            {
                return;
            }
            Chat.Print("Twitch7 Loaded!", Color.GreenYellow);
            Chat.Print("Doctor7", Color.Yellow);
            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 Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.AddGroupLabel("Combo [E] Settings");
            ComboMenu.Add("ComboE", new CheckBox("Spell [E]"));
            ComboMenu.Add("MinEC", new Slider("Min Stacks Use [E]", 5, 0, 6));
            ComboMenu.AddGroupLabel("Combo [E] On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add("combo" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassW", new CheckBox("Use [W]"));
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q]", false));
            HarassMenu.Add("HminQ", new Slider("Min Enemies Use [Q]", 2, 0, 5));
            HarassMenu.AddGroupLabel("Harass [E] Settings");
            HarassMenu.Add("HarassE", new CheckBox("Use [E]"));
            HarassMenu.Add("HminE", new Slider("Min Stacks Use [E]", 5, 0, 6));
            HarassMenu.AddGroupLabel("Harass [E] On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false));
            LaneClearMenu.Add("ELH", new CheckBox("Only Use [E] LastHit", false));
            LaneClearMenu.Add("mineLC", new Slider("Min Stacks Use [E]", 4, 0, 6));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 40));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E]"));
            JungleClearMenu.Add("mineJ", new Slider("Min Stacks Use [E]", 6, 0, 6));
            JungleClearMenu.AddSeparator();
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana For JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Misc Settings");
            Misc.Add("AntiGap", new CheckBox("Use [W] AntiGapcloser"));
            Misc.Add("FleeQ", new CheckBox("Use [Q] Flee"));
            Misc.Add("FleeW", new CheckBox("Use [W] Flee"));
            Misc.AddGroupLabel("Skin Changer");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 7, "Default", "1", "2", "3", "4", "5", "6", "7"));
            Misc.AddGroupLabel("Draw Settings");
            Misc.Add("DrawW", new CheckBox("[W] Range"));
            Misc.Add("DrawE", new CheckBox("[E] Range"));
            Misc.Add("Damage", new CheckBox("Damage Indicator"));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("you", new CheckBox("Use [Youmuu]"));
            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));

            Drawing.OnDraw        += Drawing_OnDraw;
            Drawing.OnEndScene    += Damage;
            Game.OnTick           += Game_OnTick;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
Example #28
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Nasus"))
            {
                return;
            }
            Chat.Print("Doctor's Nasus Loaded!", Color.Orange);
            Chat.Print("Mercedes7", Color.Red);
            Q         = new Spell.Active(SpellSlot.Q);
            W         = new Spell.Targeted(SpellSlot.W, 600);
            E         = new Spell.Skillshot(SpellSlot.E, 650, SkillShotType.Circular, 500, 20, 380);
            R         = new Spell.Active(SpellSlot.R);
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("Doctor's Nasus", "Nasus");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Low Hp"));
            ComboMenu.Add("Rhp", new Slider("Low Hp Use [R]", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("MHR", new Slider("Min Mana Harass", 50));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false));
            LaneClearMenu.Add("mine", new Slider("Min hit minions use [E]", 3, 1, 6));
            LaneClearMenu.Add("MLC", new Slider("Min Mana LaneClear", 10));
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("MLH", new Slider("Min Mana LastHit", 10));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("MJC", new Slider("Min Mana JungleClear", 10));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Drawing Settings", "Misc");
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawW", new CheckBox("[W] Range", false));
            Misc.Add("DrawE", new CheckBox("[E] Range", false));
            Misc.Add("Damage", new CheckBox("[Q] Damage Indicator [R]"));
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw     += Drawing_OnDraw;
            Game.OnUpdate      += Game_OnUpdate;
            Drawing.OnEndScene += Damage;
        }
Example #29
0
File: Ziggs.cs Project: tekintr/AIO
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.CreatSlotHitChance(SpellSlot.W);
                Menu.CreatSlotHitChance(SpellSlot.E);
                Menu.CreatSlotHitChance(SpellSlot.R);
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below");
                {
                    ComboMenu.Add("UBAddons.Ziggs.Passive.Combo", new ComboBox("Prevent spell if has Passive", 2, "Never", "Always", "Only has target in AA range"));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.CreatSlotHitSlider(SpellSlot.R, 5, 1, 6);
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "UB" + player.Hero + " - Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatManaLimit();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.Q, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LasthitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LasthitMenu.CreatLasthitOpening();
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.W);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.E);
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Example #30
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Kassadin"))
            {
                return;
            }
            Chat.Print("Doctor's Kassadin Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Cone, 500, int.MaxValue, 10);
            E.AllowedCollisionCount = int.MaxValue;
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150);
            R.AllowedCollisionCount = int.MaxValue;
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Seraph = new Item(3040);
            Menu   = MainMenu.AddMenu("Doctor's Kassadin", "Kassadin");
            Menu.AddGroupLabel("Mercedes7 ");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("CTurret", new KeyBind("Dont Use [R] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.Add("CMinR", new Slider("Limit Enemies Around Use [R]", 2, 1, 5));
            ComboMenu.Add("Cihp", new Slider("MyHP Use [R] >", 20));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("ManaHR", new Slider("Mana For Harass", 40));
            HarassMenu.AddGroupLabel("Ultimate Settings");
            HarassMenu.Add("HarassR", new CheckBox("Use [R] Harass"));
            HarassMenu.Add("StackRH", new Slider("Use [R] Stacks Limit Harass", 5, 1, 5));
            HarassMenu.Add("MinR", new Slider("Limit Enemies Around Use [R]", 3, 1, 5));
            HarassMenu.Add("ihp", new Slider("MyHP Use [R] >", 30));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("WMode", new ComboBox("W LaneClear Mode:", 0, "Only Killable", "Always"));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false));
            LaneClearMenu.Add("MinELC", new Slider("Min Hit Minions Use [E]", 2, 1, 3));
            LaneClearMenu.Add("RLC", new CheckBox("Use [R] LaneClear", false));
            LaneClearMenu.Add("MinRLC", new Slider("Min Hit Minions Use [R]", 2, 1, 3));
            LaneClearMenu.Add("StackRL", new Slider("Use [R] Stacks Limit LaneClear", 1, 1, 5));
            LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50));

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

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LastHitMenu.Add("WLH", new CheckBox("Use [W] LastHit"));
            LastHitMenu.Add("ManaLH", new Slider("Mana For LaneClear", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("RJungle", new CheckBox("Use [R] JungleClear"));
            JungleClearMenu.Add("StackRJ", new Slider("Use [R] Stacks Limit LaneClear", 3, 1, 5));
            JungleClearMenu.Add("ManaJC", new Slider("Mana For JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal", false));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Skin Settings");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 5, "Default", "1", "2", "3", "4", "5"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawR", new CheckBox("R Range", false));
            Misc.Add("DrawQ", new CheckBox("Q Range"));
            Misc.Add("DrawE", new CheckBox("E Range", false));
            Misc.Add("DrawTR", new CheckBox("DrawText Status [R]"));
            Misc.Add("DrawAT", new CheckBox("Draw Auto Harass"));
            Misc.AddGroupLabel("Interrupt Settings");
            Misc.Add("inter", new CheckBox("Use [Q] Interupt"));
            Misc.Add("AntiGap", new CheckBox("Use [E] Anti Gapcloser"));
            Misc.AddGroupLabel("Seraph Settings");
            Misc.Add("dts", new CheckBox("Use Seraph"));
            Misc.Add("Hp", new Slider("HP For Seraph", 30, 0, 100));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnPostAttack           += ResetAttack;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
        }