Exemple #1
0
        static Malzahar()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 250, 500, 90);
            W = new Spell.Skillshot(SpellSlot.W, 600, SkillShotType.Circular, 250, int.MaxValue, 80);
            E = new Spell.Targeted(SpellSlot.E, 650);
            R = new Spell.Targeted(SpellSlot.R, 700);

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

            Menuini    = MainMenu.AddMenu("Malzahar", "Malzahar");
            ComboMenu  = Menuini.AddSubMenu("Combo Settings");
            HarassMenu = Menuini.AddSubMenu("Harass Settings");
            HarassMenu.AddGroupLabel("Harass");
            LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings");
            LaneClearMenu.AddGroupLabel("LaneClear");
            JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings");
            JungleClearMenu.AddGroupLabel("JungleClear");
            KillStealMenu = Menuini.AddSubMenu("KillSteal Settings");
            KillStealMenu.AddGroupLabel("Stealer");
            MiscMenu = Menuini.AddSubMenu("Misc Settings");
            DrawMenu = Menuini.AddSubMenu("Drawings Settings");
            DrawMenu.AddGroupLabel("Drawings");
            ColorMenu = Menuini.AddSubMenu("ColorPicker");
            ColorMenu.AddGroupLabel("ColorPicker");

            foreach (var spell in SpellList.Where(s => s == Q))
            {
                Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low"));
            }

            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("RCombo", new CheckBox("Use R Combo"));
            ComboMenu.Add("RFinisher", new CheckBox("Use R Finisher"));
            ComboMenu.Add("RTurret", new CheckBox("Use R if enemy Under Ally Turret"));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("Don't Use Ult On:");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                var cb = new CheckBox(enemy.BaseSkinName + " (" + enemy.Name + ")")
                {
                    CurrentValue = false
                };
                ComboMenu.Add("DontUlt" + enemy.ID(), cb);
            }

            DrawMenu.Add("damage", new CheckBox("Draw Combo Damage"));
            DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health");

            foreach (var spell in SpellList)
            {
                if (spell != R)
                {
                    HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    HarassMenu.Add(spell.Slot + "mana", new Slider("Use" + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot));
                }

                KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot));
                DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse));
            }

            KillStealMenu.AddGroupLabel("Don't Use Ult On:");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                var cb = new CheckBox(enemy.BaseSkinName + " (" + enemy.Name + ")")
                {
                    CurrentValue = false
                };
                KillStealMenu.Add("DontUlt" + enemy.ID(), cb);
            }

            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.Add("RSave", new CheckBox("Block All Commands When Casting R"));
            MiscMenu.Add("Qgap", new CheckBox("Q on GapCloser"));
            MiscMenu.Add("Rgap", new CheckBox("R on GapCloser"));
            MiscMenu.Add("Qint", new CheckBox("Q interrupt DangerSpells"));
            MiscMenu.Add("Rint", new CheckBox("R interrupt DangerSpells"));
            MiscMenu.Add("RTurret", new CheckBox("R Enemy Under Ally Tower"));
            MiscMenu.Add("blockR", new CheckBox("Block R under Enemy Turret", false));
            MiscMenu.Add("danger", new ComboBox("Spells DangerLevel to interrupt", 2, "High", "Medium", "Low"));

            Spellbook.OnCastSpell            += Spellbook_OnCastSpell;
            Player.OnIssueOrder              += Player_OnIssueOrder;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            GameObject.OnCreate              += GameObject_OnCreate;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
        }
Exemple #2
0
        static Kindred()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, 250, int.MaxValue, -1);
            W = new Spell.Active(SpellSlot.W, 900);
            E = new Spell.Targeted(SpellSlot.E, 550);
            R = new Spell.Active(SpellSlot.R, 500);

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

            Menuini   = MainMenu.AddMenu("Kindred", "Kindred");
            AutoMenu  = Menuini.AddSubMenu("Auto");
            ComboMenu = Menuini.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo");
            HarassMenu = Menuini.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass");
            LaneClearMenu = Menuini.AddSubMenu("LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear");
            JungleClearMenu = Menuini.AddSubMenu("JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear");
            KillStealMenu = Menuini.AddSubMenu("Stealer");
            DrawMenu      = Menuini.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawings");
            ColorMenu = Menuini.AddSubMenu("ColorPicker");
            ColorMenu.AddGroupLabel("ColorPicker");

            Menuini.Add("focusE", new CheckBox("Focus Target With E Mark"));
            Menuini.Add("focusP", new CheckBox("Focus Target Passive Mark", false));
            Menuini.Add("wr", new Slider("Reduce W Range by [800 - {0}]", 250, 0, 500));

            AutoMenu.AddGroupLabel("Auto Settings");
            AutoMenu.Add("Gap", new CheckBox("Anti GapCloser - Q"));
            AutoMenu.AddSeparator(0);
            AutoMenu.AddGroupLabel("AutoR Settings");
            AutoMenu.Add("R", new CheckBox("Use R"));
            AutoMenu.Add("Rhp", new Slider("Use R If MY HP under [{0}%]", 35));
            AutoMenu.Add("Rally", new Slider("Use R If ALLY HP under [{0}%]", 25));

            ComboMenu.Add("Qmode", new ComboBox("Q Mode", 0, "Auto", "Kite", "Chase", "To Mouse"));
            HarassMenu.Add("Qmode", new ComboBox("Q Mode", 0, "Auto", "Kite", "Chase", "To Mouse"));
            foreach (var spell in SpellList)
            {
                if (spell != R)
                {
                    ComboMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                }

                DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse));
            }

            ComboMenu.AddGroupLabel("Extra Settings");
            ComboMenu.Add("QW", new CheckBox("Use Smart W Q"));

            KillStealMenu.Add(Q.Slot + "ks", new CheckBox("Q Killsteal"));
            KillStealMenu.Add(Q.Slot + "js", new CheckBox("Q JungleSteal"));

            DrawMenu.Add("damage", new CheckBox("Draw Combo Damage"));
            DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health");

            Orbwalker.OnUnkillableMinion   += Clear.Orbwalker_OnUnkillableMinion;
            Orbwalker.OnPostAttack         += Compat.Orbwalker_OnPostAttack;
            Obj_AI_Base.OnProcessSpellCast += Auto.Obj_AI_Base_OnProcessSpellCast;
            Gapcloser.OnGapcloser          += Auto.Gapcloser_OnGapcloser;
            OnIncDmg += Kindred_OnIncDmg;
        }
Exemple #3
0
        static AurelionSol()
        {
            Q  = new Spell.Skillshot(SpellSlot.Q, 600, SkillShotType.Linear, 0, 1000, 180);
            W  = new Spell.Active(SpellSlot.W, 600);
            W2 = new Spell.Active(SpellSlot.W, 350);
            R  = new Spell.Skillshot(SpellSlot.R, 1475, SkillShotType.Linear, 250, 1750, 180);

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

            Menuini   = MainMenu.AddMenu("AurelionSol", "AurelionSol");
            AutoMenu  = Menuini.AddSubMenu("Auto Settings");
            ComboMenu = Menuini.AddSubMenu("Combo Settings");
            ComboMenu.AddGroupLabel("Combo Settings");
            HarassMenu = Menuini.AddSubMenu("Harass Settings");
            HarassMenu.AddGroupLabel("Harass Settings");
            LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            KillStealMenu = Menuini.AddSubMenu("KillSteal Settings");
            KillStealMenu.AddGroupLabel("Stealer Settings");
            DrawMenu = Menuini.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawings");
            ColorMenu = Menuini.AddSubMenu("ColorPicker");
            ColorMenu.AddGroupLabel("Color Picker");

            Menuini.AddGroupLabel("Global Settings");
            Menuini.Add("qrange", new Slider("Q Range [{0}]", 800, 350, 1500));
            Menuini.Add("wmax", new Slider("Max W Range [{0}]", 750, 600, 1500));
            Menuini.Add("wmin", new Slider("Min W Range [{0}]", 400, 200, 599));
            foreach (var spell in SpellList.Where(s => s != W))
            {
                Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low"));
            }

            AutoMenu.AddGroupLabel("Automated Settings");
            AutoMenu.Add("GapQ", new CheckBox("Anti-Gapcloser Q"));
            AutoMenu.Add("GapR", new CheckBox("Anti-Gapcloser R"));
            AutoMenu.Add("IntQ", new CheckBox("Interrupter Q"));
            AutoMenu.Add("IntR", new CheckBox("Interrupter R"));
            AutoMenu.Add("Danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low"));

            DrawMenu.Add("damage", new CheckBox("Draw Combo Damage"));
            DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health");
            DrawMenu.AddSeparator(1);
            foreach (var spell in SpellList)
            {
                ComboMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                if (spell != R)
                {
                    HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    if (spell != W)
                    {
                        LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                        LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                        JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                        JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    }
                }

                if (spell == W)
                {
                    DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Max Range"));
                    ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse));
                }

                if (spell != W)
                {
                    DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                    ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse));
                    KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot));
                    KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot));
                }
            }

            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("Extra Settings");
            ComboMenu.Add("disableAA", new CheckBox("Disable AA When W Active", false));
            ComboMenu.Add("qmode", new ComboBox("Cast Q2 mode", 0, "Anyone", "Only Target"));
            ComboMenu.Add("Rfinisher", new CheckBox("R Finisher"));
            ComboMenu.Add("Raoe", new Slider("R AoE hit", 2, 1, 6));

            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("Extra Settings");
            HarassMenu.Add("qmode", new ComboBox("Q2 mode", 0, "Anyone", "Only Target"));

            DrawMenu.Add("w2", new CheckBox("W Min Range"));
            ColorMenu.Add("w2", new ColorPicker("W2 Color", Color.Chartreuse));

            Gapcloser.OnGapcloser            += Auto.Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Auto.Interrupter_OnInterruptableSpell;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
        }