Example #1
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Irelia"))
            {
                return;
            }
            Chat.Print("Doctor's Irelia Loaded!", Color.Orange);
            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 425);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Linear, 250, 1600, 120);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Sheen  = new Item(ItemId.Sheen);
            Tryn   = new Item(ItemId.Trinity_Force);
            Bil    = new Item(3144, 475f);
            Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 16, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu = MainMenu.AddMenu("Doctor's Irelia", "Irelia");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboQ2", new CheckBox("Use [Q] on minions to get closer to the target"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("DisQ", new Slider("Use [Q] If Enemy Distance >", 125, 0, 625));
            ComboMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("AlwaysE", new CheckBox("Only Use [E] If Can Stun Target", false));
            ComboMenu.Add("CTurret", new KeyBind("Dont Use [Q] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("interQ", new CheckBox("Use [E] Interrupt"));

            Ultimate = Menu.AddSubMenu("Ultimate Settings", "Ultimate");
            Ultimate.AddGroupLabel("Ultimate Settings");
            Ultimate.Add("useRCombo", new CheckBox("Use [R]"));
            Ultimate.AddLabel("Use [R] Low Hp");
            Ultimate.Add("RHeatlh", new CheckBox("Use [R] If MyHP <"));
            Ultimate.Add("MauR", new Slider("MyHP Use [R] <", 50));
            Ultimate.AddLabel("Use [R] Sheen");
            Ultimate.Add("RShen", new CheckBox("Use [R] Sheen", false));
            Ultimate.AddLabel("Use [R] Ks");
            Ultimate.Add("KsR", new CheckBox("Use [R] KillSteal"));
            Ultimate.AddLabel("Use [R] Minions");
            Ultimate.Add("Rminion", new CheckBox("Use [R] On Minion If No Enemies Around"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassQ2", new CheckBox("Use [Q] on minions to get closer to the target"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("DisQ2", new Slider("Use [Q] If Enemy Distance >", 125, 0, 625));
            HarassMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("AlwaysEH", new CheckBox("Only Use [E] If Can Stun Target"));
            HarassMenu.Add("ManaQ", new Slider("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("Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LaneClearQ", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("LaneClearW", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("MauW", new Slider("Use [W] If HealthPercent <", 50));
            LaneClearMenu.Add("LaneClearE", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastHitQ", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LastHitE", new CheckBox("Use [E] LastHit"));
            LaneClearMenu.Add("ManaLH", new Slider("Mana LastHit", 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"));

            Misc = Menu.AddSubMenu("Misc Changer", "Misc");
            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));
            Misc.AddGroupLabel("Flee Settings");
            Misc.Add("FleeQ", new CheckBox("Only Use [Q] Flee If Killalble Minion"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawQ", new CheckBox("[Q] Range"));
            Misc.Add("DrawR", new CheckBox("[R] Range"));
            Misc.Add("DrawTR", new CheckBox("Status Under Turret"));
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }