/// <summary> /// Sets up the Menu /// </summary> private static void SetUpMenu() { Menu = new Menu("VayneHunter Reborn", "VHR", true); var comboMenu = new Menu("[VHR] Combo", "dz191.vhr.combo"); comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { true, true, false }); comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { 0, 0, 0 }); comboMenu.Add(new MenuSlider("dz191.vhr.combo.r.minenemies", "Min R Enemies", 2, 1, 5)); Menu.Add(comboMenu); var harassMenu = new Menu("[VHR] Harass", "dz191.vhr.harass"); harassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { true, true }); harassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { 25, 20 }); Menu.Add(harassMenu); var farmMenu = new Menu("[VHR] Farm", "dz191.vhr.farm"); farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.Q }, new[] { true, true }); farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.Q }, new[] { 40 }); Menu.Add(farmMenu); var miscMenu = new Menu("[VHR] Misc", "dz191.vhr.misc"); var miscQMenu = new Menu("Misc - Tumble", "dz191.vhr.misc.tumble"); { miscQMenu.Add(new MenuList<string>("qlogic", "Q Logic", new[] { "Normal", "Away from enemies" })); miscQMenu.Add(new MenuBool("smartq", "Try to QE First")); miscQMenu.Add(new MenuBool("noaastealth", "Don't AA while stealthed")); miscQMenu.Add(new MenuBool("noqenemies", "Don't Q into enemies", true)); miscQMenu.Add(new MenuBool("dynamicqsafety", "Dynamic Q Safety Distance")); miscQMenu.Add(new MenuBool("qspam", "Ignore Q checks")); miscQMenu.Add(new MenuBool("qinrange", "Q In Range if Enemy Health < Q+AA Dmg", true)); miscQMenu.Add(new MenuKeyBind("walltumble", "Tumble Over Wall (WallTumble)", System.Windows.Forms.Keys.Y, KeyBindType.Press)); miscQMenu.Add(new MenuBool("mirin", "Enable this if you're Mirin")); } var miscEMenu = new Menu("Misc - Condemn", "dz191.vhr.misc.condemn"); { miscEMenu.Add(new MenuList<string>("condemnmethod", "Condemn Method", new[] { "VH Reborn", "Marksman/Gosu", "VH Rework" })); miscEMenu.Add(new MenuSlider("pushdistance", "E Push Distance", 375, 350, 500)); miscEMenu.Add(new MenuKeyBind("enextauto", "E Next Auto", Keys.T, KeyBindType.Toggle)); miscEMenu.Add(new MenuBool("onlystuncurrent", "Only stun current target")); miscEMenu.Add(new MenuBool("autoe", "Auto E")); miscEMenu.Add(new MenuBool("eks", "Smart E Ks")); miscEMenu.Add(new MenuSlider("noeaa", "Don't E if Target can be killed in X AA", 1, 0, 4)); miscEMenu.Add(new MenuBool("trinketbush", "Trinket Bush on Condemn", true)); miscEMenu.Add(new MenuBool("ethird", "E 3rd proc in Harass")); miscEMenu.Add(new MenuBool("lowlifepeel", "Peel with E when low")); miscEMenu.Add(new MenuBool("condemnturret", "Try to Condemn to turret")); miscEMenu.Add(new MenuBool("condemnflag", "Condemn to J4 flag", true)); miscEMenu.Add(new MenuBool("noeturret", "No E Under enemy turret", true)); } var miscGeneralSubMenu = new Menu("Misc - General", "dz191.vhr.misc.general"); { miscGeneralSubMenu.Add(new MenuBool("antigp", "Anti Gapcloser", true)); miscGeneralSubMenu.Add(new MenuBool("interrupt", "Interrupter", true)); miscGeneralSubMenu.Add(new MenuSlider("antigpdelay", "Anti Gapcloser Delay (ms)", 0, 0, 1000)); miscGeneralSubMenu.Add(new MenuBool("specialfocus", "Focus targets with 2 W marks")); miscGeneralSubMenu.Add(new MenuBool("reveal", "Stealth Reveal (Pink Ward)")); miscGeneralSubMenu.Add(new MenuBool("disablemovement", "Disable Orbwalker Movement")); /** miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.permashow", "PermaShow").SetShared().SetValue(true)).ValueChanged += (s, args) => { if (args.GetNewValue<bool>()) { Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(true, "E Next Auto"); } else { Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(false); } }; * */ } miscMenu.Add(miscQMenu); miscMenu.Add(miscEMenu); miscMenu.Add(miscGeneralSubMenu); Menu.Add(miscMenu); //AntiGP.BuildMenu(Menu); /** var drawMenu = new Menu("[VHR] Drawing", "dz191.vhr.drawing"); drawMenu.AddDrawMenu(_spells, Color.Red); drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawstun", "Draw Stunnable").SetValue(true)); drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawspots", "Draw Spots").SetValue(true)); Menu.AddSubMenu(drawMenu); Menu.AddItem(new MenuItem("dz191.vhr.info", "VHR by Asuna v." + Assembly.GetExecutingAssembly().GetName().Version)); Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(Menu.Item("dz191.vhr.misc.condemn.enextauto").GetValue<KeyBind>().Active, "E Next Auto"); */ Menu.Attach(); }