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); #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.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On"); } #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.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On"); 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.E, null, false); LaneClearMenu.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On"); 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.E); JungleClearMenu.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On"); 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.E); 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.W, "GapCloser"); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "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.Unknown); } #endregion DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg); } catch (Exception exception) { Debug.Print(exception.ToString(), Console_Message.Error); } }
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.AddGroupLabel("Card Selector Key"); var Bluekey = Menu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".Key.Blue", new KeyBind("Pick Blue", false, KeyBind.BindTypes.HoldActive, 'S')); Bluekey.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (args.NewValue && W.IsReady()) { Pick(CardType.Blue); } }; var Redkey = Menu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".Key.Red", new KeyBind("Pick Red", false, KeyBind.BindTypes.HoldActive, 'E')); Redkey.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (args.NewValue && W.IsReady()) { Pick(CardType.Red); } }; var Goldkey = Menu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".Key.Gold", new KeyBind("Pick Gold", false, KeyBind.BindTypes.HoldActive, 'W')); Goldkey.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (args.NewValue && W.IsReady()) { Pick(CardType.Yellow); } }; Menu.AddGroupLabel("W Smart Setting (For all mode)"); Menu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".W.Blue.Mana", new Slider("Pick Blue when Mana < {0}%", 20)); Menu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".W.Red", new Slider("Pick Red when can hit {0} unit", 4, 1, 8)); #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".Q.Immobilize", new CheckBox("Only immobilize", false)); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotComboBox(SpellSlot.W, 0, "Smart", "Gold", "Red", "Blue"); ComboMenu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".R.AutoPick", new CheckBox("Pick Yellow Card when R")); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below"); { HarassMenu.CreatSlotCheckBox(SpellSlot.Q); HarassMenu.Add(Variables.AddonName + "." + Player.Instance.Hero + ".Q.Immobilize", new CheckBox("Only immobilize", false)); HarassMenu.CreatSlotCheckBox(SpellSlot.W); HarassMenu.CreatSlotComboBox(SpellSlot.W, 0, "Smart", "Gold", "Red", "Blue"); 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.CreatSlotCheckBox(SpellSlot.W); LaneClearMenu.CreatSlotComboBox(SpellSlot.W, 0, "Smart", "Gold", "Red", "Blue"); 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, null, false); JungleClearMenu.CreatSlotComboBox(SpellSlot.W, 0, "Smart", "Gold", "Red", "Blue"); 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, "Settings your misc below"); { MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter"); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "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.R); DrawMenu.CreatColorPicker(SpellSlot.Unknown); } #endregion } catch (Exception exception) { Debug.Print(exception.ToString(), Console_Message.Error); } DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg); }
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.Add("UBAddons.Annie.E.Attack.Enable", new CheckBox("E on Enemy/Turret/Monster Attack")); Menu.Add("UBAddons.Annie.E.Spell.Enable", new CheckBox("E on Enemy spell")); Menu.Add("UBAddons.Annie.EQ.Enable", new CheckBox("E on On Q - CanStun")); Menu.CreatSlotHitChance(SpellSlot.W); Menu.CreatSlotHitChance(SpellSlot.R); #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.CreatSlotCheckBox(SpellSlot.R); ComboMenu.CreatSlotHitSlider(SpellSlot.R, 2, 1, 5); } #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.CreatSlotHitSlider(SpellSlot.W, 1, 1, 5); HarassMenu.CreatManaLimit(); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below"); { LaneClearMenu.CreatLaneClearOpening(); LaneClearMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun")); LaneClearMenu.Add("UBAddons.Annie.Passive.Count.Buff", new Slider("Stop if my stacks", 3, 1, 4)); LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q); 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, "UB" + player.Hero + " - Settings your jungleclear below"); { JungleClearMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun", false)); JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); JungleClearMenu.CreatSlotHitSlider(SpellSlot.W, 1, 1, 6); JungleClearMenu.CreatManaLimit(); } #endregion #region Lasthit LastHitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below"); { LastHitMenu.CreatLasthitOpening(); LastHitMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun")); LastHitMenu.Add("UBAddons.Annie.Passive.Count.Buff", new Slider("Stop if my stacks", 4, 1, 4)); LastHitMenu.CreatSlotCheckBox(SpellSlot.Q); LastHitMenu.CreatSlotCheckBox(SpellSlot.W); 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.AddLabel("Will Check if only stun"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser"); MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.AddLabel("[repeat] Will Check if only stun"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.E, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.R, "Interrupter"); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal"); MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal"); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings"); { DrawMenu.CreatDrawingOpening(); DrawMenu.CreatColorPicker(SpellSlot.Q); DrawMenu.CreatColorPicker(SpellSlot.W); 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() { try { #region Mainmenu Menu = MainMenu.AddMenu("UB" + player.Hero, Variables.AddonName + ".MainMenu" + player.Hero, "UB" + player.Hero + " - " + Variables.AddonName + " - by U.Boruto"); Menu.AddGroupLabel("General Setting"); Menu.CreatSlotHitChance(SpellSlot.Q); Menu.Add(Variables.AddonName + ".Amumu.Auto.R.Turret", new CheckBox("Auto R if enemy is attacked by ally turret")); #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On"); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.CreatSlotHitSlider(SpellSlot.R, 3, 1, 6); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below"); { HarassMenu.CreatSlotCheckBox(SpellSlot.Q); HarassMenu.CreatSlotCheckBox(SpellSlot.W); HarassMenu.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On"); 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.CreatSlotCheckBox(SpellSlot.W, null, false); LaneClearMenu.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On"); 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.CreatSlotComboBox(SpellSlot.W, 0, "Spam", "Hold it On"); JungleClearMenu.CreatSlotCheckBox(SpellSlot.E); 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.E); LastHitMenu.CreatManaLimit(); } #endregion #region Flee FleeMenu = Menu.AddSubMenu("Flee", "UBAddons.Flee" + player.Hero, "Setting your flee below"); { string BeginText = Variables.AddonName + "." + Player.Instance.Hero + "."; FleeMenu.Add(BeginText + "Q", new CheckBox("Use Q for flee")); FleeMenu.Add(BeginText + "Q.ToMinion", new CheckBox("Q to minion")); FleeMenu.Add(BeginText + "Q.ToMonster", new CheckBox("Q to monster")); FleeMenu.Add(BeginText + "Q.ToChamp", new CheckBox("Q to champ")); FleeMenu.Add(BeginText + "Q.HP", new Slider("Min {0}% HP for E champ & monster", 15)); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "Settings your misc below"); { MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "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() { 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.E); Menu.Add(Variables.AddonName + ".Lissandra.Auto.R.Turret", new CheckBox("Auto R if enemy is attacked by ally turret")); #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); ComboMenu.Add("UBAddons.Lissandra.R.Enemy.Count", new Slider("R my self if more than {0} enmy around me", 3, 1, 6)); } #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.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); 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); 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.W, "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", "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() { 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() { 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); #endregion #region Auto AutoMenu = Menu.AddSubMenu("R Settings", "UBAddons.R" + player.Hero, "Settings your R below"); { string BeginText = Variables.AddonName + "." + Player.Instance.Hero + ".R."; AutoMenu.Add(BeginText + "Enable", new CheckBox("Use R")); AutoMenu.Add(BeginText + "NotCombo", new CheckBox("Prevent R when I not in Combo")); AutoMenu.Add(BeginText + "Hit", new Slider("R when hit {0} champ", 3, 1, 6)); AutoMenu.Add(BeginText + "MyHP", new Slider("Use R when my HP below", 15)); AutoMenu.Add(BeginText + "Prediction", new CheckBox("Use Prediction")); } #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.Add(Variables.AddonName + "." + Player.Instance.Hero + "W.Prediction", new CheckBox("Use W Prediction", false)); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotComboBox(SpellSlot.E, 0, "To Mouse", "To Side", "To Target"); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below"); { HarassMenu.CreatSlotCheckBox(SpellSlot.Q); HarassMenu.CreatSlotCheckBox(SpellSlot.E); HarassMenu.CreatSlotComboBox(SpellSlot.E, 0, "To Mouse", "To Side", "To Target"); 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.CreatSlotCheckBox(SpellSlot.E, null, false); 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, null, false); 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 Flee FleeMenu = Menu.AddSubMenu("Flee", "UBAddons.Flee" + player.Hero, "Setting your flee below"); { string BeginText = Variables.AddonName + "." + Player.Instance.Hero + "."; FleeMenu.Add(BeginText + "E", new CheckBox("Use E for flee")); FleeMenu.Add(BeginText + "E.Disable", new CheckBox("Disable E when jump spot near")); FleeMenu.Add(BeginText + "E.Distance", new Slider("Range for disable", 600, 0, 1000)); FleeMenu.Add(BeginText + "AA.ToMinion", new CheckBox("AA to minion")); FleeMenu.Add(BeginText + "AA.ToMonster", new CheckBox("AA to monster")); FleeMenu.Add(BeginText + "AA.ToChamp", new CheckBox("AA to champ")); FleeMenu.Add(BeginText + "AA.HP", new Slider("Min {0}% HP for AA champ & monster", 15)); } #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.W, "Interrupter"); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "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() { 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.W, 60); Menu.AddGroupLabel("Misc"); Menu.Add("UBAddons.Twitch.Recall.Q", new CheckBox("Enable Stealth Recall")); #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); var logic = ComboMenu.Add("UBAddons.Twitch.E.LogicBox", new ComboBox("E Logic", 1, "Only Kill Steal", "Killsteal Smart", "At stacks", "At stacks and enemy count")); var slider = ComboMenu.Add("UBAddons.Twitch.E.Slider", new Slider("Use E only more than {0} enemy has passive buff", 3, 1, 5)); var slider2 = ComboMenu.Add("UBAddons.Twitch.E.Slider2", new Slider("Killsteal immediately if more than {0} enemy around me", 3, 1, 5)); var checkbox = ComboMenu.Add("UBAddons.Twitch.E.CheckBox", new CheckBox("E + Passive Logic if enemy in turret")); var tips = ComboMenu.Add("UBAddons.Twitch.E.Tip", new Label("")); switch (logic.CurrentValue) { case 0: { slider.IsVisible = false; slider2.IsVisible = false; checkbox.IsVisible = false; tips.DisplayName = "E immediately if can kill enemy"; } break; case 1: { slider.IsVisible = true; slider.DisplayName = "Killsteal immediately if more than {0} enemy/ally around me"; slider2.IsVisible = false; checkbox.IsVisible = true; tips.DisplayName = "Hold your E till and attack other target till you can double kill/ triple kill, but smart usage"; } break; case 2: { slider.IsVisible = false; slider2.IsVisible = true; slider2.MaxValue = 6; slider2.DisplayName = "At Stacks"; checkbox.IsVisible = true; tips.DisplayName = "Use E immediately if any Enemy has enough stacks"; } break; case 3: { slider.IsVisible = true; slider2.IsVisible = true; slider2.MaxValue = 6; slider2.DisplayName = "At Stacks"; checkbox.IsVisible = true; tips.DisplayName = "Use E immediately if enough Enemy has enough stacks"; } break; default: { throw new ArgumentOutOfRangeException(); } } logic.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs args) { switch (args.NewValue) { case 0: { slider.IsVisible = false; slider2.IsVisible = false; checkbox.IsVisible = false; tips.DisplayName = "E immediately if can kill enemy"; } break; case 1: { slider.IsVisible = true; slider2.IsVisible = false; slider.DisplayName = "Killsteal immediately if more than {0} enemy/ally around me"; checkbox.IsVisible = true; tips.DisplayName = "Hold your E till and attack other target till you can double kill/ triple kill, but smart usage"; } break; case 2: { slider.IsVisible = false; slider2.IsVisible = true; slider2.MaxValue = 6; slider2.DisplayName = "At Stacks"; checkbox.IsVisible = false; tips.DisplayName = "Use E immediately if any Enemy has enough stacks"; } break; case 3: { slider.IsVisible = true; slider.DisplayName = "Use E only more than {0} enemy has passive buff"; slider2.IsVisible = true; slider2.MaxValue = 6; slider2.DisplayName = "At Stacks"; checkbox.IsVisible = false; tips.DisplayName = "Use E immediately if enough Enemy has enough stacks"; } break; default: { throw new ArgumentOutOfRangeException(); } } }; ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.Add("UBAddons.Twitch.R.OutRange", new CheckBox("Use R if target out of R Range")); ComboMenu.CreatSlotHitSlider(SpellSlot.R, 3, 1, 5); ComboMenu.AddLabel("Only Use R out range if 90% can kill enemy"); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below"); { 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.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, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.E); 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.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.W, "GapCloser"); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings", "UBAddons.Drawings" + player.Hero, "Settings your drawings below"); { DrawMenu.CreatDrawingOpening(); DrawMenu.Add("UBAddons.Twitch.Passive.Draw", new ComboBox("Draw Time Passive", 2, "Disable", "Circular", "Line", "Number")); DrawMenu.Add("UBAddons.Twitch.Passive.ColorPicker", new ColorPicker("Dagger Color", ColorReader.Load("UBAddons.Twitch.Passive.ColorPicker", Color.GreenYellow))); 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() { 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); foreach (var enemy in EntityManager.Heroes.Enemies) { ComboMenu.Add($"UBAdddons.Vi.R.{enemy.ChampionName}", new CheckBox($"Use R on {enemy.ChampionName}")); } } #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); } }
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.AddGroupLabel("Zhonya Flee Key"); Menu.Add("UBAddons.UBRyze.Zhonya.Key", new KeyBind("Zhonya & flee key", false, KeyBind.BindTypes.HoldActive)); #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.Add("UBAddons.Combo.Style", new ComboBox("Combo Styles", 0, "Full Damage", "Shield & MS", "Smart")); ComboMenu.AddGroupLabel("Smart Settings"); ComboMenu.Add("UBAddons.Combo.Smart.MyHP", new Slider("My HP below {0}% get Shield", 15)); ComboMenu.AddLabel("You can press Flee key any when to get shield and movement speed"); } #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.CreatSlotCheckBox(SpellSlot.E, null, false); 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); 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); 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.W, "GapCloser"); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal"); MiscMenu.CreatSlotCheckBox(SpellSlot.E, "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); } }