private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Varus") { return; } Bootstrap.Init(null); // Spell instances Q = new Spell.Chargeable(SpellSlot.Q, 925, 1650, 4); E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular); R = new Spell.Skillshot(SpellSlot.R, 1100, SkillShotType.Linear); //Menu Instances VarusMenu = MainMenu.AddMenu("xRP Varus", "xrpvarus"); VarusMenu.AddGroupLabel("xRP-Varus"); VarusMenu.AddSeparator(); VarusMenu.AddGroupLabel("Made by: xRPdev"); ComboMenu = VarusMenu.AddSubMenu("Combo", "sbtwcombo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombor", new CheckBox("R to Stun")); HarassMenu = VarusMenu.AddSubMenu("HarassMenu", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.AddSeparator(); HarassMenu.Add("useQHarass", new CheckBox("Use Q")); HarassMenu.Add("useEHarass", new CheckBox("Use E")); HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false)); MiscMenu = VarusMenu.AddSubMenu("Misc", "misc"); MiscMenu.AddGroupLabel("Misc"); MiscMenu.AddSeparator(); MiscMenu.Add("kse", new CheckBox("KS with E")); MiscMenu.Add("ksq", new CheckBox("KS with Q")); MiscMenu.AddSeparator(); MiscMenu.Add("gapr", new CheckBox("R on Gapcloser")); DrawMenu = VarusMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); DrawMenu.Add("drawAA", new CheckBox("Draw AutoAttack")); LaneClearMenu = VarusMenu.AddSubMenu("Lane Clear", "laneclear"); LaneClearMenu.AddGroupLabel("Lane Clear Settings"); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("LCQ", new CheckBox("Use Q")); LaneClearMenu.Add("countM", new Slider("Min minions to Q", 3, 0, 6)); LaneClearMenu.Add("LCE", new CheckBox("Use E")); LaneClearMenu.Add("countME", new Slider("Min minions to E", 3, 0, 6)); Game.OnTick += Tick; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; }
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 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)); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Quinn addon"); ComboMenu.AddLabel("Blinding Assault (Q) settings :"); ComboMenu.Add("Plugins.Quinn.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Heightened Senses (W) settings :"); ComboMenu.Add("Plugins.Quinn.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Vault (E) settings :"); ComboMenu.Add("Plugins.Quinn.ComboMenu.UseE", new CheckBox("Use E")); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Quinn addon"); HarassMenu.AddLabel("Blinding Assault (Q) settings :"); HarassMenu.Add("Plugins.Quinn.HarassMenu.UseQ", new CheckBox("Use Q", false)); HarassMenu.Add("Plugins.Quinn.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 75, 1)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Quinn addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false)); var scanRange = LaneClearMenu.Add("Plugins.Quinn.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.Quinn.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Blinding Assault (Q) settings :"); LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear")); LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.MinMinionsKilledForQ", new Slider("Min minions hit to use Q", 3, 1, 6)); LaneClearMenu.AddSeparator(5); LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear")); LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Quinn addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Quinn.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Vault (E) settings :"); MiscMenu.Add("Plugins.Quinn.MiscMenu.EAgainstGapclosers", new CheckBox("Use E against gapclosers")); MiscMenu.Add("Plugins.Quinn.MiscMenu.EAgainstInterruptible", new CheckBox("Use E to interrupt")); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Quinn addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Blinding Assault (Q) settings :"); DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawQ", new CheckBox("Draw Q range", false)); DrawingsMenu.Add("Plugins.Quinn.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("Vault (E) settings :"); DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
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")); }
private static void Loading_OnLoadingComplete(EventArgs args) { //Makes sure you are Katarina fdsgfdgdsgsd if (User.ChampionName != "Katarina") { return; } //print("P1 Katarina loaded! Have fun!"); //Creates the menu KatarinaMenu = MainMenu.AddMenu("PH Katarina", "P1 Katarina"); //Creates a SubMenu ComboMenu = KatarinaMenu.AddSubMenu("Combo"); LaneClearMenu = KatarinaMenu.AddSubMenu("Lane Clear"); LastHitMenu = KatarinaMenu.AddSubMenu("LastHit"); HarassAutoharass = KatarinaMenu.AddSubMenu("Harass/AutoHarass"); KillStealMenu = KatarinaMenu.AddSubMenu("Killsteal"); HumanizerMenu = KatarinaMenu.AddSubMenu("Humanizer"); DrawingsMenu = KatarinaMenu.AddSubMenu("Drawings"); //Checkbox should be - YourMenu.Add(String MenuID, new CheckBox(String DisplayName, bool DefaultValue); ComboMenu.AddLabel("I don't know what to have here, if you have any suggestions please tell me"); ComboMenu.Add("EAA", new CheckBox("Only use e if target is outside auto attack range")); LaneClearMenu.Add("Q", new CheckBox("Use Q in lane clear")); LastHitMenu.Add("Q", new CheckBox("Use Q in last hit")); HarassAutoharass.Add("HQ", new CheckBox("Use Q in harass")); HarassAutoharass.Add("CC", new CheckBox("Use E reset combo in harass")); HarassAutoharass.Add("AHQ", new CheckBox("Use Q in auto harass")); KillStealMenu.Add("Q", new CheckBox("Use Q to killsteal")); KillStealMenu.Add("R", new CheckBox("Use R to killsteal", false)); HumanizerMenu.Add("Q", new Slider("Q delay", 0, 0, 1000)); HumanizerMenu.Add("W", new Slider("W delay", 0, 0, 1000)); HumanizerMenu.Add("E", new Slider("E delay", 0, 0, 1000)); HumanizerMenu.Add("R", new Slider("R delay", 0, 0, 1000)); //Giving Q values Q = new Spell.Targeted(SpellSlot.Q, 600, DamageType.Magical); //Giving W values W = new Spell.Active(SpellSlot.W, 150, DamageType.Magical); //Giving E values E = new Spell.Skillshot(SpellSlot.E, 700, EloBuddy.SDK.Enumerations.SkillShotType.Circular, 7, null, 150, DamageType.Magical); //Giving R values R = new Spell.Active(SpellSlot.R, 550, DamageType.Magical); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //Creating menu using foreach from a list foreach (var Spell in SpellList) { //Creates checkboxes using Spell Slot DrawingsMenu.Add(Spell.Slot.ToString(), new CheckBox("Draw " + Spell.Slot)); } //used for drawings that dont override game UI Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Damage_Indicator; //Drawing.OnEndScene += Draw_Q; //happens on every core tick Game.OnTick += Game_OnTick; Game.OnTick += Game_OnTick1; }
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); } }
/// <summary> /// Creates the Menu /// </summary> public static void Initialize() { ConfigMenu = MainMenu.AddMenu("LelBlanc", "LelBlanc"); ConfigMenu.AddGroupLabel("Bu eklenti KarmaPanda tarafından yapıldı ve TekinTR tarafindan Turkce yapildi."); ConfigMenu.AddGroupLabel("Yetkisi olmayan izinsiz yeniden dağıtım, ciddi sonuçlar doğuracaktır."); ConfigMenu.AddGroupLabel("Bu eklentiyi kullandığınız ve eğlendiğiniz için tesekkür ederiz!"); ComboMenu = ConfigMenu.AddSubMenu("Combo Menu", "cMenu"); ComboMenu.AddLabel("Spell Settings"); ComboMenu.Add("useQ", new CheckBox("Kullan Q")); ComboMenu.Add("useW", new CheckBox("Kullan W")); ComboMenu.Add("useReturn", new CheckBox("Kullan W Dönüs")); ComboMenu.Add("useE", new CheckBox("Kullan E")); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("useQR", new CheckBox("Kullan QR")); ComboMenu.Add("useWR", new CheckBox("Kullan WR", false)); ComboMenu.Add("useReturn2", new CheckBox("Kullan WR Dönüs", false)); ComboMenu.Add("useER", new CheckBox("Kullan ER", false)); ComboMenu.AddLabel("Extra Settings"); ComboMenu.Add("mode", new ComboBox("Kombo Modu", 2, LogicModes)); ComboMenu.AddLabel("Burst Logic Settings"); ComboMenu.Add("minRange", new CheckBox("Kullan Q -> R sadece W menzilinde", false)); HarassMenu = ConfigMenu.AddSubMenu("Harass Menu", "hMenu"); HarassMenu.AddLabel("Spell Settings"); HarassMenu.Add("useQ", new CheckBox("Kullan Q")); HarassMenu.Add("useW", new CheckBox("Kullan W")); HarassMenu.Add("useReturn", new CheckBox("Kullan W Dönüs")); HarassMenu.Add("useE", new CheckBox("Kullan E")); HarassMenu.AddLabel("R Settings"); HarassMenu.Add("useQR", new CheckBox("Kullan QR")); HarassMenu.Add("useWR", new CheckBox("Kullan WR", false)); HarassMenu.Add("useReturn2", new CheckBox("Kullan WR Dönüs")); HarassMenu.Add("useER", new CheckBox("Kullan ER", false)); HarassMenu.AddLabel("Extra Settings"); HarassMenu.Add("mode", new ComboBox("Dürtme Modu", 1, LogicModes)); HarassMenu.AddLabel("Burst Logic Settings"); HarassMenu.Add("minRange", new CheckBox("Kullan Q -> R sadece W menzilinde", false)); LaneClearMenu = ConfigMenu.AddSubMenu("Laneclear Menu", "lcMenu"); LaneClearMenu.AddLabel("Spell Settings"); LaneClearMenu.Add("useQ", new CheckBox("Kullan Q")); LaneClearMenu.Add("useW", new CheckBox("Kullan W")); LaneClearMenu.Add("sliderQ", new Slider("Kullan Q ölücekse {0} Minyon", 3, 1, 5)); LaneClearMenu.Add("sliderW", new Slider("Kullan W ölücekse {0} Minyon", 3, 1, 5)); /*JungleClearMenu = ConfigMenu.AddSubMenu("Jungleclear Menu", "jcMenu"); * JungleClearMenu.AddLabel("Spell Settings"); * JungleClearMenu.Add("useQ", new CheckBox("Use Q")); * JungleClearMenu.Add("useW", new CheckBox("Use W")); * JungleClearMenu.Add("useE", new CheckBox("Use E")); * JungleClearMenu.Add("sliderW", new Slider("Use W if Hit {0} Minions", 3, 1, 5)); * JungleClearMenu.AddLabel("R Settings"); * JungleClearMenu.Add("useQR", new CheckBox("Use QR")); * JungleClearMenu.Add("useWR", new CheckBox("Use WR")); * JungleClearMenu.Add("useER", new CheckBox("Use ER")); * JungleClearMenu.Add("sliderWR", new Slider("Use WR if Hit {0} Minions", 5, 1, 5));*/ KillStealMenu = ConfigMenu.AddSubMenu("Killsteal Menu", "ksMenu"); KillStealMenu.AddLabel("Spell Settings"); KillStealMenu.Add("useQ", new CheckBox("Kullan Q")); KillStealMenu.Add("useW", new CheckBox("Kullan W")); KillStealMenu.Add("useReturn", new CheckBox("Kullan W Dönüs")); KillStealMenu.Add("useE", new CheckBox("Kullan E")); KillStealMenu.AddLabel("R Settings"); KillStealMenu.Add("useQR", new CheckBox("Kullan QR")); KillStealMenu.Add("useWR", new CheckBox("Kullan WR")); KillStealMenu.Add("useReturn2", new CheckBox("Kullan WR Dönüs")); KillStealMenu.Add("useER", new CheckBox("Kullan ER")); KillStealMenu.AddLabel("Misc Settings"); KillStealMenu.Add("useIgnite", new CheckBox("Kullan Tutustur")); KillStealMenu.Add("usePrediction", new CheckBox("Kullan Can tahmini", false)); KillStealMenu.Add("toggle", new CheckBox("Öldürme sekli aktif")); DrawingMenu = ConfigMenu.AddSubMenu("Drawing Menu", "dMenu"); DrawingMenu.AddLabel("Range Drawings"); DrawingMenu.Add("drawQ", new CheckBox("Goster Q Menzili", false)); DrawingMenu.Add("drawW", new CheckBox("Goster W Menzili", false)); DrawingMenu.Add("drawE", new CheckBox("Goster E Menzili", false)); DrawingMenu.AddLabel("DamageIndicator"); DrawingMenu.Add("draw.Damage", new CheckBox("Goster Hasarimi")); DrawingMenu.Add("draw.Q", new CheckBox("Hesapla Q Hasarimi")); DrawingMenu.Add("draw.W", new CheckBox("Hesapla W Hasarimi")); DrawingMenu.Add("draw.E", new CheckBox("Hesapla E Hasarimi")); DrawingMenu.Add("draw.R", new CheckBox("Hesapla R Hasarimi")); DrawingMenu.Add("draw.Ignite", new CheckBox("Hesapla Tutustur Hasarimi")); MiscMenu = ConfigMenu.AddSubMenu("Misc Menu", "mMenu"); MiscMenu.AddLabel("Miscellaneous"); MiscMenu.Add("pet", new CheckBox("Klonu otomatik yürüt.")); }
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; }; }
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 }
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)); }
public static void Initialize() { // Addon Menu DraconicChoGathMenu = MainMenu.AddMenu("DraconicChoGath", "DraconicChoGath"); DraconicChoGathMenu.AddGroupLabel("Draconic Cho'Gath"); // Combo Menu ComboMenu = DraconicChoGathMenu.AddSubMenu("Combo Features", "ComboFeatures"); ComboMenu.AddGroupLabel("Combo Features"); ComboMenu.AddLabel("Independent boxes for Spells:"); ComboMenu.Add("Qcombo", new CheckBox("Use Q")); ComboMenu.Add("Wcombo", new CheckBox("Use W")); ComboMenu.Add("Rcombo", new CheckBox("Use R", false)); // Harass Menu HarassMenu = DraconicChoGathMenu.AddSubMenu("Harass Features", "HarassFeatures"); HarassMenu.AddGroupLabel("Harass Features"); HarassMenu.AddLabel("Independent boxes for Spells:"); HarassMenu.Add("Qharass", new CheckBox("Use Q")); HarassMenu.Add("Wharass", new CheckBox("Use W")); // Jungle Menu JungleMenu = DraconicChoGathMenu.AddSubMenu("Jungle Features", "JungleFeatures"); JungleMenu.AddGroupLabel("Jungle Features"); JungleMenu.AddLabel("Independent boxes for Spells:"); JungleMenu.Add("Qjungle", new CheckBox("Use Q")); JungleMenu.Add("Wjungle", new CheckBox("Use W", false)); JungleMenu.Add("Rjungle", new CheckBox("Use R")); JungleMenu.Add("Fjungle", new CheckBox("Use Flash + R to steal")); // LaneClear Menu LaneClearMenu = DraconicChoGathMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures"); LaneClearMenu.AddGroupLabel("Lane Clear Features"); LaneClearMenu.AddLabel("Independent boxes for Spells:"); LaneClearMenu.Add("Qlanec", new CheckBox("Use Q", false)); LaneClearMenu.Add("Wlanec", new CheckBox("Use W", false)); // LastHit Menu LastHitMenu = DraconicChoGathMenu.AddSubMenu("Last Hit Features", "LastHitFeatures"); LastHitMenu.AddGroupLabel("Last Hit Features"); LastHitMenu.AddLabel("Independent boxes for Spells:"); LastHitMenu.Add("Qlasthit", new CheckBox("Use Q", false)); LastHitMenu.Add("Wlasthit", new CheckBox("Use W", false)); LastHitMenu.Add("Rlasthit", new CheckBox("Use R")); // Kill Steal Menu KillStealMenu = DraconicChoGathMenu.AddSubMenu("KS Features", "KSFeatures"); KillStealMenu.AddGroupLabel("Kill Steal Features"); KillStealMenu.Add("Uks", new CheckBox("KS Mode")); KillStealMenu.AddSeparator(1); KillStealMenu.AddLabel("Independent boxes for Spells:"); KillStealMenu.Add("Qks", new CheckBox("Use Q in KS")); KillStealMenu.Add("Wks", new CheckBox("Use W in KS")); KillStealMenu.Add("Rks", new CheckBox("Use R in KS")); KillStealMenu.Add("Fks", new CheckBox("Use Flash + R to KS")); // Drawing Menu DrawingMenu = DraconicChoGathMenu.AddSubMenu("Drawing Features", "DrawingFeatures"); DrawingMenu.AddGroupLabel("Drawing Features"); DrawingMenu.Add("Udraw", new CheckBox("Draw Mode")); DrawingMenu.AddSeparator(1); DrawingMenu.AddLabel("Independent boxes for Spells:"); DrawingMenu.Add("Qdraw", new CheckBox("Draw Q")); DrawingMenu.Add("Wdraw", new CheckBox("Draw W")); DrawingMenu.Add("Rdraw", new CheckBox("Draw R")); DrawingMenu.Add("Fdraw", new CheckBox("Draw Flash + R")); DrawingMenu.AddSeparator(1); DrawingMenu.AddLabel("Skin Designer"); DrawingMenu.Add("Udesign", new CheckBox("Draw Skin Design")); DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 0, 0, 6)); // Setting Menu SettingMenu = DraconicChoGathMenu.AddSubMenu("Settings", "Settings"); SettingMenu.AddGroupLabel("Settings"); SettingMenu.AddLabel("Automatic Leveler"); SettingMenu.Add("Ulevel", new CheckBox("Auto Leveler")); SettingMenu.AddSeparator(1); SettingMenu.AddLabel("Automatic Tear Stacker"); SettingMenu.Add("Ustack", new CheckBox("Stack Mode")); SettingMenu.AddSeparator(1); SettingMenu.AddLabel("Interrupter"); SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode")); SettingMenu.Add("Qinterrupt", new CheckBox("Use Q to interrupt")); SettingMenu.AddLabel("Gap Closer"); SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode")); SettingMenu.Add("Qgapc", new CheckBox("Use Q to gapclose")); }
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; }; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Urgot addon"); ComboMenu.AddLabel("Acid Hunter (Q) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Terror Capacitor (W) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Try to swap enemy pos under tower")); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Urgot addon"); HarassMenu.AddLabel("Acid Hunter (Q) settings :"); HarassMenu.Add("Plugins.Urgot.HarassMenu.UseQ", new CheckBox("Use Q")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 40, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Use E")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 40, 1)); HarassMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Urgot addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Acid Hunter (Q) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Urgot addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Acid Hunter (Q) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.AutoHarass", new KeyBind("Auto harass", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.AddLabel("Enables Auto harass on enemies with E debuff in Lane Clear and Harass mode !"); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Terror Capacitor (W) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.WMinDamage", new Slider("Auto W if incoming damage will deal more than {0}% of my hp", 10, 1)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRAgainstGapclosers", new CheckBox("Use R against gapclosers")); MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Use R to interrupt dangerous spells")); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Urgot addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Acid Hunter (Q) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawR", new CheckBox("Draw R range", false)); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Other settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Draws damage indicator"); }
// 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; }
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; }
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); } }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Graves addon"); ComboMenu.AddLabel("End of the Line (Q) settings :"); ComboMenu.Add("Plugins.Graves.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Smoke Screen (W) settings :"); ComboMenu.Add("Plugins.Graves.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Quickdraw (E) settings :"); ComboMenu.Add("Plugins.Graves.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Collateral Damage (R) settings :"); ComboMenu.Add("Plugins.Graves.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Graves.ComboMenu.RMinEnemiesHit", new Slider("Use R only if will hit {0} enemies", 0, 0, 5)); ComboMenu.AddLabel("If set to 0 this setting will be ignored."); ComboMenu.Add("Plugins.Graves.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T')); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Graves addon"); HarassMenu.AddLabel("End of the Line (Q) settings :"); HarassMenu.Add("Plugins.Graves.HarassMenu.UseQ", new CheckBox("Use Q", false)); HarassMenu.Add("Plugins.Graves.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Graves addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Graves.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.Graves.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("End of the Line (Q) settings :"); LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.MinMinionsHitQ", new Slider("Min minions hit to use Q", 3, 1, 8)); LaneClearMenu.AddSeparator(5); LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Graves addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Graves.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Quickdraw (E) settings :"); MiscMenu.Add("Plugins.Graves.MiscMenu.EMode", new ComboBox("E mode", 0, "Auto", "Cursor Pos")); MiscMenu.Add("Plugins.Graves.MiscMenu.EUsageMode", new ComboBox("E usage", 1, "Always", "After autoattack only")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Graves addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("End of the Line (Q) settings :"); DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Collateral Damage (R) settings :"); DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }
// 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; }
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; }
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; }
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; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("小炮 连招 设置"); ComboMenu.AddLabel("Q 设置:"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W 设置"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseW", new CheckBox("Use W", false)); ComboMenu.AddLabel("如果使用 W E R 可以击杀才使用W"); ComboMenu.AddSeparator(2); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseWVsGapclosers", new CheckBox("使用W反突进")); Keybind = ComboMenu.Add("Plugins.Tristana.ComboMenu.DoubleWKeybind", new KeyBind("使用 双W 连招", false, KeyBind.BindTypes.HoldActive, 'A')); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E 设置"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(2); ComboMenu.Add("Plugins.Tristana.ComboMenu.FocusE", new CheckBox("集火攻击E目标")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("敌方英雄:"); foreach (var enemy in EntityManager.Heroes.Enemies) { ComboMenu.Add("Plugins.Tristana.ComboMenu.UseEOn." + enemy.Hero, new CheckBox(enemy.Hero == Champion.MonkeyKing ? "Wukong" : enemy.ChampionName)); } ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R 设置:"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseR", new CheckBox("使用 R 抢人头")); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsMelees", new CheckBox("使用 R 对近战保持距离")); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsInterruptible", new CheckBox("使用 R 打断技能")); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsGapclosers", new CheckBox("用 R 反突进")); ComboMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("小炮 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.EnableLCIfNoEn", new CheckBox("开启 在附近没有敌人才使用清兵")); var scanRange = LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Q 设置:"); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("E 设置 :"); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear")); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear")); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.MinManaE", new Slider("蓝量高于 ({0}%) 使用 E 清线", 80, 1)); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEOnTowers", new CheckBox("使用 Q E 拆塔")); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("小炮 线圈 设置值"); DrawingsMenu.AddLabel("基本设置 :"); DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("只有在技能冷却")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("W 设置 :"); DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawW", new CheckBox("Draw W range")); DrawingsMenu.Add("Plugins.Tristana.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.Add("Plugins.Tristana.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("显示 伤害 和 Buff 持续时间"); }