internal static void BuildInterrupterMenu() { if (!EntityManager.Heroes.Enemies.Any(x => Utils.Interrupter.InterruptibleList.Exists(e => e.ChampionName == x.ChampionName))) { return; } InterrupterMenu = Menu.AddSubMenu("Interrupter"); InterrupterMenu.AddGroupLabel("Global settings"); InterrupterMenu.Add("MenuManager.InterrupterMenu.Enabled", new CheckBox("Interrupter Enabled")); InterrupterMenu.Add("MenuManager.InterrupterMenu.OnlyInCombo", new CheckBox("Active only in Combo mode", false)); InterrupterMenu.AddSeparator(15); foreach (var enemy in EntityManager.Heroes.Enemies.Where(x => Utils.Interrupter.InterruptibleList.Exists(e => e.ChampionName == x.ChampionName))) { var interruptibleSpells = Utils.Interrupter.InterruptibleList.FindAll(e => e.ChampionName == enemy.ChampionName); if (interruptibleSpells.Count <= 0) { continue; } InterrupterMenu.AddGroupLabel(enemy.ChampionName); foreach (var interruptibleSpell in interruptibleSpells) { int healthPercent; switch (interruptibleSpell.DangerLevel) { case DangerLevel.High: healthPercent = 100; break; case DangerLevel.Medium: healthPercent = 75; break; case DangerLevel.Low: healthPercent = 50; break; default: healthPercent = 0; break; } InterrupterMenu.AddLabel("[" + interruptibleSpell.SpellSlot + "] " + interruptibleSpell.SpellName + " | Danger Level : " + interruptibleSpell.DangerLevel); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Delay", new Slider("Delay", 0, 0, 500)); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Hp", new Slider("Only if I'm below under {0} % of my HP", healthPercent)); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Enemies", new Slider("Only if {0} or less enemies are near", 5, 1, 5)); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Enabled", new CheckBox("Enabled")); InterruptibleSpellsFound++; } } }
internal static void BuildInterrupterMenu() { if (!EntityManager.Heroes.Enemies.Any(x => Utils.Interrupter.InterruptibleList.Exists(e => e.ChampionName == x.ChampionName))) { return; } InterrupterMenu = Menu.AddSubMenu("Interrupter"); InterrupterMenu.AddGroupLabel("Global settings"); InterrupterMenu.Add("MenuManager.InterrupterMenu.Enabled", new CheckBox("Kesici Etkin")); InterrupterMenu.Add("MenuManager.InterrupterMenu.OnlyInCombo", new CheckBox("Sadece komboda aktif", false)); InterrupterMenu.AddSeparator(15); foreach (var enemy in EntityManager.Heroes.Enemies.Where(x => Utils.Interrupter.InterruptibleList.Exists(e => e.ChampionName == x.ChampionName))) { var interruptibleSpells = Utils.Interrupter.InterruptibleList.FindAll(e => e.ChampionName == enemy.ChampionName); if (interruptibleSpells.Count <= 0) { continue; } InterrupterMenu.AddGroupLabel(enemy.ChampionName); foreach (var interruptibleSpell in interruptibleSpells) { int healthPercent; switch (interruptibleSpell.DangerLevel) { case DangerLevel.High: healthPercent = 100; break; case DangerLevel.Medium: healthPercent = 75; break; case DangerLevel.Low: healthPercent = 50; break; default: healthPercent = 0; break; } InterrupterMenu.AddLabel("[" + interruptibleSpell.SpellSlot + "] " + interruptibleSpell.SpellName + " | Danger Level : " + interruptibleSpell.DangerLevel); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Delay", new Slider("Gecikme", 0, 0, 500)); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Hp", new Slider("Sadece altindaysa {0} % benim HP", healthPercent)); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Enemies", new Slider("Sadece if {0} yada daha az dusman yakinsa", 5, 1, 5)); InterrupterMenu.Add("MenuManager.InterrupterMenu." + enemy.ChampionName + "." + interruptibleSpell.SpellSlot + ".Enabled", new CheckBox("Aktif")); InterruptibleSpellsFound++; } } }
public static void CreateMenu() { RakanMain = MainMenu.AddMenu("Unk Rakan", "rakMenu"); RakanMain.AddLabel(Program.Version); RakanMain.AddLabel("Made by Unwake"); ComboMenu = RakanMain.AddSubMenu("Combo"); ComboMenu.AddLabel("Select your Combo Type"); ComboMenu.Add("Combo QWR", new CheckBox("Combo QWR", true)); ComboMenu.Add("Combo WQE", new CheckBox("Combo WQE", false)); ComboMenu.Add("Combo EWQE", new CheckBox("Combo EWQE", false)); ComboMenu.Add("Combo REWQE", new CheckBox("Combo REWQE", false)); ComboMenu.AddSeparator(0); ComboMenu.Add("Use Q", new CheckBox("Use Q", true)); ComboMenu.Add("Use W", new CheckBox("Use W", true)); ComboMenu.Add("Use E", new CheckBox("Use E", true)); ComboMenu.Add("Use R", new CheckBox("Use R", true)); ComboMenu.Add("Use R in Min Enemies", new Slider("Min Enemies R", 2, 1, 5)); ComboMenu.AddSeparator(0); ComboMenu.Add("Use Ignite", new CheckBox("Use Ignite", true)); HarassMenu = RakanMain.AddSubMenu("Harass"); HarassMenu.Add("Use Q", new CheckBox("Use Q", true)); HarassMenu.Add("Use Q Mana Percent", new Slider("Min Mana %", 30, 1, 100)); HarassMenu.AddSeparator(0); HarassMenu.Add("Use AutoQ", new CheckBox("Use Auto Q", true)); HarassMenu.Add("Use AutoQ Mana Percent", new Slider("Min Mana Auto Q %", 30, 1, 100)); InterrupterMenu = RakanMain.AddSubMenu("Interrupter"); InterrupterMenu.Add("Use W", new CheckBox("Use W", true)); FleeMenu = RakanMain.AddSubMenu("Flee"); FleeMenu.Add("AutoE", new CheckBox("Use E", true)); FleeMenu.Add("AutoEManaCost", new Slider("Mana E %", 30, 1, 100)); FleeMenu.AddSeparator(0); FleeMenu.Add("AutoRFlee", new CheckBox("Use R To Escape", true)); FleeMenu.Add("AutoRHpPer", new Slider("HP Percent to Use Auto R %", 25, 1, 100)); MiscMenu = RakanMain.AddSubMenu("Misc"); MiscMenu.Add("WGap", new CheckBox("Use W on GapCloser", true)); MiscMenu.AddSeparator(0); MiscMenu.Add("AutoPot", new CheckBox("Use Auto Potion", true)); MiscMenu.Add("AutoPotHPPercent", new Slider("Auto Pot HP %", 30, 1, 100)); MiscMenu.AddSeparator(0); MiscMenu.Add("skinHack", new CheckBox("Skin Change", false)); MiscMenu.Add("SkinID", new Slider("Skin", 0, 0, 1)); DrawMenu = RakanMain.AddSubMenu("Drawings"); DrawMenu.Add("qRange", new CheckBox("Draw Q", false)); DrawMenu.Add("wRange", new CheckBox("Draw W", false)); DrawMenu.Add("eRange", new CheckBox("Draw E", false)); DrawMenu.Add("rRange", new CheckBox("Draw R", false)); DrawMenu.AddSeparator(0); DrawMenu.Add("onlyRdy", new CheckBox("Draw when skill is Ready", true)); }
static Config() { Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower()); Modes.InitializeModes(); InterrupterMenu.Initializer(); GapcloserMenu.Initializer(); CharmMenu.Initializer(); AutoHarass.Initializer(); Drawings.Initializer(); }
static Config() { Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower()); Menu.AddLabel("Just a simple Vayne addon, with customizable options."); Menu.AddLabel("Leave feedback in forum thread if you have any sugestions."); Menu.AddLabel("Good luck in your game."); Modes.Initialize(); InterrupterMenu.Initializer(); GapcloserMenu.Initializer(); TumbleMenu.Initializer(); CondemnMenu.Initializer(); Drawings.Initializer(); Misc.Initializer(); }
public static void CreateMenu() { JannaMain = MainMenu.AddMenu("Janna - Unwake's Fury", "jmenu"); JannaMain.AddLabel(Program.Version); JannaMain.AddLabel("Made by Unwake"); ComboMenu = JannaMain.AddSubMenu("Combo"); ComboMenu.Add("Use Q", new CheckBox("Use Q", true)); ComboMenu.Add("Use W", new CheckBox("Use W", true)); ComboMenu.Add("Use E", new CheckBox("Use E", true)); ComboMenu.Add("UseEADC", new CheckBox("Use E ADC in Combo Mode", false)); ComboMenu.AddSeparator(0); ComboMenu.Add("Use Ignite", new CheckBox("Use Ignite", false)); InterrupterMenu = JannaMain.AddSubMenu("Interrupter"); InterrupterMenu.Add("Use Q", new CheckBox("Use Q", true)); FleeMenu = JannaMain.AddSubMenu("Flee"); FleeMenu.Add("Use Q", new CheckBox("Use Q", true)); FleeMenu.Add("Use W", new CheckBox("Use W", true)); MiscMenu = JannaMain.AddSubMenu("Misc"); MiscMenu.Add("Auto R", new CheckBox("Enable Auto R", true)); MiscMenu.Add("AutoRHP", new Slider("Use Auto R if Ally HP %", 15, 1, 100)); MiscMenu.Add("Auto E", new CheckBox("Enable Auto E", true)); MiscMenu.Add("AutoEHP", new Slider("Use Auto E if Ally HP %", 15, 1, 100)); MiscMenu.AddSeparator(0); MiscMenu.Add("QGap", new CheckBox("Use Q on GapClosers", true)); MiscMenu.AddSeparator(0); MiscMenu.Add("AutoPot", new CheckBox("Use Auto Potion", true)); MiscMenu.Add("AutoPotHP", new Slider("Auto Pot HP %", 30, 1, 100)); MiscMenu.AddSeparator(0); MiscMenu.Add("skinHack", new CheckBox("Skin Change", false)); MiscMenu.Add("SkinID", new Slider("Skin", 0, 0, 7)); DrawMenu = JannaMain.AddSubMenu("Drawings"); DrawMenu.Add("qRange", new CheckBox("Draw Q", false)); DrawMenu.Add("wRange", new CheckBox("Draw W", false)); DrawMenu.Add("eRange", new CheckBox("Draw E", false)); DrawMenu.Add("rRange", new CheckBox("Draw R", false)); DrawMenu.AddSeparator(0); DrawMenu.Add("onlyRdy", new CheckBox("Draw when skill is Ready", true)); }
internal static void InitMenu() { SonaMenu = MainMenu.AddMenu("Sona", "sona"); ComboMenu = SonaMenu.AddSubMenu("Combo", "combo"); ComboMenu.Add("bQ", new CheckBox("Use Q")); ComboMenu.Add("bE", new CheckBox("Use E")); ComboMenu.Add("bR", new CheckBox("Use R")); ComboMenu.Add("minR", new Slider("Min Targets for R", 3, 1, 5)); ComboMenu.Add("bSmartAA", new CheckBox("AA only after Q or on 3rd passive")); ComboMenu.AddGroupLabel("Flash R Settings"); ComboMenu.Add("bFlashR", new CheckBox("Use Flash R")); ComboMenu.Add("minFlashR", new Slider("Min Targets for Flash R", 5, 1, 5)); HarassMenu = SonaMenu.AddSubMenu("Harass", "harass"); HarassMenu.Add("bQ", new CheckBox("Use Q")); HarassMenu.Add("minMana", new Slider("Min Mana % to Harass", 50)); HarassMenu.AddSeparator(10); HarassMenu.Add("aaMins", new CheckBox("Disable AA on minions" + Environment.NewLine + "when allies nearby")); AutoWMenu = SonaMenu.AddSubMenu("Auto W", "autow"); AutoWMenu.Add("bW", new CheckBox("Use W")); AutoWMenu.Add("allyWhp", new Slider("Ally HP % to W", 50, 1)); AutoWMenu.Add("playerWhp", new Slider("Player HP % to W", 50, 1)); AutoWMenu.Add("minMana", new Slider("Min Mana % to W", 20)); GapcloseMenu = SonaMenu.AddSubMenu("AntiGapclose", "antigapclose"); GapcloseMenu.Add("bE", new CheckBox("Use E", false)); InterrupterMenu = SonaMenu.AddSubMenu("Interrupter", "interrupter"); InterrupterMenu.Add("bR", new CheckBox("Use R", false)); InterrupterMenu.Add("dangerL", new ComboBox("Min DangerLevel to interrupt", 2, "Low", "Medium", "High")); DrawMenu = SonaMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.Add("bQ", new CheckBox("Draw Q Range", false)); DrawMenu.Add("bW", new CheckBox("Draw W Range", false)); DrawMenu.Add("bE", new CheckBox("Draw E Range", false)); DrawMenu.Add("bR", new CheckBox("Draw R Range", false)); DrawMenu.Add("onlyRdy", new CheckBox("Draw only when spells can be cast")); DrawMenu.Add("drawFR", new CheckBox("Draw possible FlashUlt Targets", false)); }