Example #1
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Jax"))
            {
                return;
            }
            Chat.Print("Doctor's Jax Loaded!", Color.White);
            Chat.Print("Mercedes7!", Color.Red);
            Q      = new Spell.Targeted(SpellSlot.Q, 700);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Active(SpellSlot.E, 350);
            R      = new Spell.Active(SpellSlot.R);
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil    = new Item(3144, 475f);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Doctor's Jax", "Jax");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("comboMode", new ComboBox("Combo Mode:", 0, "E => Q", "Q => E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboQ", new CheckBox("Combo [Q]"));
            ComboMenu.Add("WaitE", new CheckBox("Only [Q] if [E] ready", false));
            ComboMenu.Add("ComboW", new CheckBox("Combo [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Combo [E]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Use [R] x Enemies Around"));
            ComboMenu.Add("MinR", new Slider("x enemies around use [R]", 2, 1, 5));

            Autos = Menu.AddSubMenu("Auto E/R Settings", "Autos");
            Autos.AddGroupLabel("Automatic Settings");
            Autos.Add("AutoE", new CheckBox("Auto [E] Enemies In Range"));
            Autos.Add("minE", new Slider("Min Enemies Auto [E]", 2, 1, 5));
            Autos.Add("AutoR", new CheckBox("Auto [R] If My HP =<"));
            Autos.Add("mauR", new Slider("My HP Auto [R]", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Harass [Q]", false));
            HarassMenu.Add("HarassW", new CheckBox("Harass [W]"));
            HarassMenu.Add("HarassE", new CheckBox("Harass [E]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 30));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("LCQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("LCW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("LCE", new CheckBox("Lane Clear [E]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LHQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("LHW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("ManaLH", new Slider("Min Mana LaneClear [Q]", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Spell [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Spell [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Spell [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana For JungleClear", 10));

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

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

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

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnUpdate          += Game_OnUpdate;
            Orbwalker.OnPostAttack += ResetAttack;
        }