public static void Init(Menu MenuParent) { MenuSettingQ = MenuParent.AddSubMenu("Q:", "SettingsQ"); { string[] strQ = new string[1000 / 250]; for (var i = 250; i <= 1000; i += 250) { strQ[i / 250 - 1] = i + " ms. "; } MenuSettingQ.Add("Settings.Q.VisibleDelay", new ComboBox("Instatly Visible Enemy Cast Delay:", 2, strQ)); MenuSettingQ.Add("Settings.Q.CastDelay", new ComboBox("Humanizer Cast Delay [Lane / Combo]", 2, strQ)); } MenuSettingE = MenuParent.AddSubMenu("E:", "SettingsE"); { string[] strE = new string[1000 / 250]; for (var i = 250; i <= 1000; i += 250) { strE[i / 250 - 1] = i + " ms. "; } MenuSettingE.Add("Settings.E.VisibleDelay", new ComboBox("Instatly Visible Enemy Cast Delay:", 2, strE)); MenuSettingE.Add("Settings.E.Auto", new ComboBox("Auto-Use (If can stun enemy)", 1, "Off", "On")); } MenuFlame = MenuParent.AddSubMenu("Flame", "Flame"); MenuFlame.Add("Flame.Laugh", new ComboBox("After Kill:", 4, "Off", "Joke", "Taunt", "Laugh", "Random")); MenuFlame.Add("Flame.Ctrl6", new ComboBox("After Kill: Show Champion Point Icon (Ctrl + 6)", 0, "Off", "On")); Modes.ModeJump.Init(MenuParent); }
public static void Init(Menu MenuParent) { MenuLocal = MenuParent.AddSubMenu("Humanizer Spell Cast", "SettingsSpellCast"); { string[] strQ = new string[1000 / 250]; for (float i = 250; i <= 1000; i += 250) { strQ[(int)(i / 250 - 1)] = (i / 1000) + " sec. "; } MenuLocal.Add("Settings.SpellCast.VisibleDelay", new ComboBox("Cast Delay: Instatly Visible Enemy", 2, strQ)); MenuLocal.Add("Settings.SpellCast.Default", new CheckBox("Load Recommended Settings")) .OnValueChange += (sender, args) => { if (args.NewValue) { LoadDefaultSettingsQ(); } }; } MenuSettingE = MenuParent.AddSubMenu("E Settings:", "MenuSettings.E"); int eRange = (int)PlayerSpells.E.Range; MenuSettingE.Add("Settings.E.MaxRange", new Slider("E: Max. Rage [Default: 800]", eRange - 20, eRange / 2, eRange + 50)); MenuSettingE.Add("Settings.E.Hitchance", new ComboBox("E:", 2, "Hitchance = Very High", "Hitchance >= High", "Hitchance >= Medium", "Hitchance >= Low")); MenuFlame = MenuParent.AddSubMenu("Flame", "Flame"); MenuFlame.Add("Flame.Laugh", new ComboBox("After Kill:", 5, "Off", "Joke", "Taunt", "Laugh", "Mastery Badge", "Random")); }