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); Menu.CreatSlotHitChance(SpellSlot.E); Menu.CreatSlotHitChance(SpellSlot.R); #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotCheckBox(SpellSlot.R, null, false); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below"); { HarassMenu.CreatSlotCheckBox(SpellSlot.Q); HarassMenu.CreatSlotCheckBox(SpellSlot.W); HarassMenu.CreatSlotCheckBox(SpellSlot.E); 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.CreatSlotHitSlider(SpellSlot.Q, 5, 1, 10); LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 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.E, "GapCloser"); MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.CreatDangerValueBox(); 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"); MiscMenu.CreatSlotComboBox(SpellSlot.R, 0, "On Tap Key", "Auto"); MiscMenu.Add("UBAddons.Xerath.R.Key", new KeyBind("R key", false, KeyBind.BindTypes.HoldActive, 'R')); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings", "UBAddons.Drawings" + player.Hero, "Settings your drawings below"); { DrawMenu.CreatDrawingOpening(); DrawMenu.Add("UBAddons.Xerath.Notification.Draw", new CheckBox("Draw notification when can R")); 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); } }