public static void LoadMenu() { Home = Menu.AddMenu("XinZhao by BadCommand"); //Main.Orb = new Orbwalker.OrbwalkerInstance(Home.AddSubMenu("Orbwalker")); ComboMenu = Home.AddSubMenu(Prefix + "Combo"); ComboMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); ComboMenu.Add(new MenuCheckbox("useW", "Use W", true)); ComboMenu.Add(new MenuCheckbox("useE", "Use E", true)); ComboMenu.Add(new MenuSlider("rangeE", "Minimum Range for E", 175, 600, 310)); ComboMenu.Add(new MenuCheckbox("useR", "Use R", true)); ComboMenu.Add(new MenuSlider("enemiesR", "Minimum Enemies for R", 1, 5, 3)); HarassMenu = Home.AddSubMenu(Prefix + "Harass"); HarassMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); HarassMenu.Add(new MenuCheckbox("useW", "Use W", true)); HarassMenu.Add(new MenuCheckbox("useE", "Use E", true)); HarassMenu.Add(new MenuSlider("rangeE", "Minimum Range for E", 175, 600, 310)); HarassMenu.Add(new MenuCheckbox("useR", "Use R", true)); HarassMenu.Add(new MenuSlider("enemiesR", "Minimum Enemies for R", 1, 5, 3)); LaneclearMenu = Home.AddSubMenu(Prefix + "Lane Clear"); LaneclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); LaneclearMenu.Add(new MenuCheckbox("useW", "Use W", true)); LaneclearMenu.Add(new MenuCheckbox("useE", "Use E", true)); JungleclearMenu = Home.AddSubMenu(Prefix + "Jungle Clear"); JungleclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); JungleclearMenu.Add(new MenuCheckbox("useW", "Use W", true)); JungleclearMenu.Add(new MenuCheckbox("useE", "Use E", true)); LasthitMenu = Home.AddSubMenu(Prefix + "LastHit"); LasthitMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); LasthitMenu.Add(new MenuCheckbox("useW", "Use W", true)); LasthitMenu.Add(new MenuCheckbox("useE", "Use E", true)); DrawingMenu = Home.AddSubMenu(Prefix + "Drawings"); DrawingMenu.Add(new MenuCheckbox("enable", "Enable", true)); DrawingMenu.Add(new MenuCheckbox("drawW", "Draw W", true)); DrawingMenu.Add(new MenuCheckbox("drawE", "Draw E", true)); DrawingMenu.Add(new MenuCheckbox("drawR", "Draw R", true)); DrawingMenu.Add(new MenuCheckbox("drawEmin", "Draw minimum E range", true)); KillstealMenu = Home.AddSubMenu(Prefix + "KillSteal"); KillstealMenu.Add(new MenuCheckbox("enable", "Enable", true)); KillstealMenu.Add(new MenuCheckbox("useE", "Use E", true)); KillstealMenu.Add(new MenuCheckbox("useR", "Use R", true)); MiscMenu = Home.AddSubMenu(Prefix + "Misc"); MiscMenu.Add(new MenuCheckbox("level", "Enable Spell Leveler", true)); MiscMenu.Add(new MenuSlider("levelDelay", "Level UP Delay", 10, 1000, 200)); MiscMenu.Add(new MenuCombo("levelFirst", "Level UP First", new[] { "Q", "W", "E" })); MiscMenu.Add(new MenuCombo("levelSecond", "Level UP Second", new[] { "Q", "W", "E" }, 1)); MiscMenu.Add(new MenuCombo("levelThird", "Level UP Third", new[] { "Q", "W", "E" }, 2)); }
public static void DoLastHit() { var q = LasthitMenu.GetCheckbox("useQ") && Q.IsReady(); var w = LasthitMenu.GetCheckbox("useW") && W.IsReady(); var minion = ObjectManager.MinionsAndMonsters.Enemy.Where(x => x.IsValidTarget(Q.Range)); Obj_AI_Minion mex = null; foreach (var m in minion) { if (q && Q.GetDamage(m) >= m.Health) { Q.Cast(m); mex = m; } } minion = ObjectManager.MinionsAndMonsters.Enemy.Where(x => x.IsValidTarget(W.Range)); foreach (var m in minion) { if (w && W.GetDamage(m) >= m.Health && mex != m) { if (W.Instance.ToggleState == 1) // Not holding { W.Cast(m); W.Cast(Game.MousePos); } else { W.Cast(m); } } } }
public static void Execute() { if (LasthitMenu.GetCheckBoxValue("qUse") && Q.IsReady()) { Q.TryToCast(Q.GetLastHitMinion(), LasthitMenu); } }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { if (LasthitMenu.GetCheckBoxValue("qUse") && Q.IsReady()) { Q.Cast(); } }
public static void LoadMenu() { Home = Menu.AddMenu("Vladimir by BadCommand"); //Main.Orb = new Orbwalker.OrbwalkerInstance(Home.AddSubMenu("Orbwalker")); ComboMenu = Home.AddSubMenu(Prefix + "Combo"); ComboMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); ComboMenu.Add(new MenuCheckbox("useW", "Use W", true)); ComboMenu.Add(new MenuCheckbox("useE", "Use E", true)); ComboMenu.Add(new MenuCheckbox("useR", "Use R", true)); ComboMenu.Add(new MenuSlider("enemiesR", "Minimum Enemies for R", 1, 5, 3)); HarassMenu = Home.AddSubMenu(Prefix + "Harass"); HarassMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); HarassMenu.Add(new MenuCheckbox("useE", "Use E", true)); LaneclearMenu = Home.AddSubMenu(Prefix + "Lane Clear"); LaneclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); LaneclearMenu.Add(new MenuCheckbox("useE", "Use E", true)); JungleclearMenu = Home.AddSubMenu(Prefix + "Jungle Clear"); JungleclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); JungleclearMenu.Add(new MenuCheckbox("useE", "Use E", true)); LasthitMenu = Home.AddSubMenu(Prefix + "LastHit"); LasthitMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); FleeMenu = Home.AddSubMenu(Prefix + "Flee"); FleeMenu.Add(new MenuCheckbox("useW", "Use W", true)); DrawingMenu = Home.AddSubMenu(Prefix + "Drawings"); DrawingMenu.Add(new MenuCheckbox("enable", "Enable", true)); DrawingMenu.Add(new MenuCheckbox("drawQ", "Draw Q", true)); DrawingMenu.Add(new MenuCheckbox("drawW", "Draw W", true)); DrawingMenu.Add(new MenuCheckbox("drawE", "Draw E", true)); DrawingMenu.Add(new MenuCheckbox("drawR", "Draw R", true)); KillstealMenu = Home.AddSubMenu(Prefix + "KillSteal"); KillstealMenu.Add(new MenuCheckbox("enable", "Enable", true)); KillstealMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); MiscMenu = Home.AddSubMenu(Prefix + "Misc"); MiscMenu.Add(new MenuKeybind("SemiR", "Semi-manual R", SharpDX.DirectInput.Key.A, MenuKeybindType.Hold)); MiscMenu.Add(new MenuCheckbox("level", "Enable Spell Leveler", true)); MiscMenu.Add(new MenuSlider("levelDelay", "Level UP Delay", 10, 1000, 200)); MiscMenu.Add(new MenuCombo("levelFirst", "Level UP First", new[] { "Q", "W", "E" })); MiscMenu.Add(new MenuCombo("levelSecond", "Level UP Second", new[] { "Q", "W", "E" }, 1)); MiscMenu.Add(new MenuCombo("levelThird", "Level UP Third", new[] { "Q", "W", "E" }, 2)); }
public static void DoLastHit() { var e = LasthitMenu.GetCheckbox("useE") && E.IsReady(); var minion = ObjectManager.MinionsAndMonsters.Enemy.Where(x => x.IsValidTarget(E.Range)); foreach (var m in minion) { if (e && E.GetDamage(m) >= m.Health) { E.CastOnUnit(m); } } }
public static void DoLastHit() { var q = LasthitMenu.GetCheckbox("useQ") && Q.IsReady(); var w = LasthitMenu.GetCheckbox("useW") && W.IsReady(); var e = LasthitMenu.GetCheckbox("useE") && E.IsReady(); var r = LasthitMenu.GetCheckbox("useR") && R.IsReady(); var minion = ObjectManager.MinionsAndMonsters.Enemy.Where(x => x.IsValidTarget(W.Range)); foreach (var m in minion) { if (w && W.GetDamage(m) >= m.Health) { W.CastIfHitchanceEquals(m, HitChance.Medium); } } }
public static void Execute() { var count = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, Player.ServerPosition, Player.AttackRange, false).Count(); var source = EntityManager.MinionsAndMonsters.GetLaneMinions().OrderBy(a => a.MaxHealth).FirstOrDefault(a => a.IsValidTarget(Q.Range)); var qDamage = source.GetDamage(SpellSlot.Q); if (count == 0) { return; } if (LasthitMenu.GetCheckBoxValue("qUse") && Q.IsReady()) { Q.Cast(); } }
private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Player.Instance.ManaPercent; Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); Program.AAResetCombo(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider")) { LastHit.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); Program.AAResetLane(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); Program.AAResetLane(); } AutoHarass.Execute(); if (Program.check(MiscMenu, "skinhax")) { Program._player.SetSkinId((int)MiscMenu["skinID"].Cast <ComboBox>().CurrentValue); } if (Program.check(MiscMenu, "lvlup")) { Program.LevelUpSpells(); } }
private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Player.Instance.ManaPercent; if (UltimateFollower && Program.Champion.HasBuff("VelkozR")) { Program.UltFollowMode(); } if (RoninVelkoz.Menus.StackMode) { Program.StackMode(); } Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider")) { Harass.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider")) { LastHit.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); } if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider") && AutoHarassMenu.GetKeyBindValue("autoHarassKey")) { AutoHarass.Execute(); } }
public static void DoLastHit() { var q = LasthitMenu.GetCheckbox("useQ") && Q.IsReady(); var e = LasthitMenu.GetCheckbox("useE") && E.IsReady(); var minion = ObjectManager.MinionsAndMonsters.Enemy.Where(x => x.IsValidTarget(E.Range)); foreach (var m in minion) { if (q && ObjectManager.Me.Distance(m) > Orbwalker.GetRealAutoAttackRange(m) && Q.GetDamage(m) >= m.Health) { Q.Cast(m); } if (e && ObjectManager.Me.Distance(m) > Orbwalker.GetRealAutoAttackRange(m) && E.GetDamage(m) >= m.Health) { E.CastOnUnit(m); } } }
/// </summary> /// <param name="args"></param> private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Player.Instance.ManaPercent; Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider")) { Harass.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider")) { LastHit.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee.Execute(); } if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider") && AutoHarassMenu.GetKeyBindValue("autoHarassKey")) { AutoHarass.Execute(); } }
private static void Game_OnTick() { var mana = Me.ManaPercent; if (KillstealMenu.GetCheckbox("enable")) { Killsteal.DoKs(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Combo && mana >= ComboMenu.GetSlider("mana")) { Combo.DoCombo(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Harass && mana >= HarassMenu.GetSlider("mana")) { Harass.DoHarass(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LaneClear && mana >= LaneclearMenu.GetSlider("mana")) { LaneClear.DoLaneClear(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LastHit && mana >= LasthitMenu.GetSlider("mana")) { LaneClear.DoLaneClear(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Flee && mana >= FleeMenu.GetSlider("mana")) { Flee.DoFlee(); } //This is a basic fix, due to OnLevelUp being disabled if (_currentLevel == Player.Level) { return; } Leveler(); _currentLevel = Player.Level; }
private static void Game_OnTick() { var mana = Me.ManaPercent; if (HarassMenu.GetCheckbox("autoE") && ObjectManager.Me.HealthPercent > HarassMenu.GetSlider("minE") && mana >= HarassMenu.GetSlider("mana")) { if (E.IsReady()) { var target = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical); if (target != null) { E.CastOnUnit(target); } } } if (KillstealMenu.GetCheckbox("enable")) Killsteal.DoKs(); if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Combo && mana >= ComboMenu.GetSlider("mana")) Combo.DoCombo(); if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Harass && mana >= HarassMenu.GetSlider("mana")) Harass.DoHarass(); if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LaneClear && mana >= LaneclearMenu.GetSlider("mana")) LaneClear.DoLaneClear(); if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.JungleClear && mana >= JungleclearMenu.GetSlider("mana")) JungleClear.DoJungleClear(); if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LastHit && mana >= LasthitMenu.GetSlider("mana")) LastHit.DoLastHit(); //This is a basic fix, due to OnLevelUp being disabled if (_currentLevel == Player.Level) return; Leveler(); _currentLevel = Player.Level; }
private static void Game_OnTick() { var mana = Me.ManaPercent; if (MiscMenu.GetKeybind("manualQ")) { if (Q.IsReady()) { AIHeroClient target; target = TargetSelector.GetTarget(QMenu.GetSlider("rangeQ"), TargetSelector.DamageType.Magical); if (MiscMenu.GetCheckbox("useDP")) { var location = LinearPrediction(ObjectManager.Player.Position, Q, (AIHeroClient)target); if (target != null && (target.Distance(ObjectManager.Me) > QMenu.GetSlider("minQ")) && !Functions.HasSpellShield(target) && location != DarkPrediction.empt && !DarkPrediction.CollisionChecker(location, ObjectManager.Me.Position, Q)) { Q.Cast(location); } } else { if (target != null && (target.Distance(ObjectManager.Me) > QMenu.GetSlider("minQ")) && !Functions.HasSpellShield(target)) { Q.CastIfHitchanceEquals(target, HitChance.VeryHigh); } } } } if (KillstealMenu.GetCheckbox("enable")) { Killsteal.DoKs(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Combo && mana >= ComboMenu.GetSlider("mana")) { Combo.DoCombo(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Harass && mana >= HarassMenu.GetSlider("mana")) { Harass.DoHarass(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LaneClear && mana >= LaneclearMenu.GetSlider("mana")) { LaneClear.DoLaneClear(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LastHit && mana >= LasthitMenu.GetSlider("mana")) { LaneClear.DoLaneClear(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Flee && mana >= FleeMenu.GetSlider("mana")) { Flee.DoFlee(); } //This is a basic fix, due to OnLevelUp being disabled if (_currentLevel == Player.Level) { return; } Leveler(); _currentLevel = Player.Level; }
protected override void CreateMenu() { try { #region Mainmenu Menu = MainMenu.AddMenu("UB" + player.Hero, "UBMiddle.MainMenu" + player.Hero, "UB" + player.Hero + " - UBMiddle - by U.Boruto"); Menu.AddGroupLabel("General Setting"); Menu.CreatSlotHitChance(SpellSlot.E); Menu.CreatSlotHitChance(SpellSlot.R); #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", "UBMiddle.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotComboBox(SpellSlot.W, 0, "After AA", "Before AA"); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.Add("UBMiddle.Kassadin.R.HP.Enemy", new Slider("Enemy HP {0}% for R", 60)); ComboMenu.Add("UBMiddle.Kassadin.R.HP.My", new Slider("My HP {0}% for R", 30)); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", "UBMiddle.HarassMenu" + player.Hero, "UB" + player.Hero + " - Settings your harass below"); { HarassMenu.CreatSlotCheckBox(SpellSlot.Q); HarassMenu.CreatSlotCheckBox(SpellSlot.W); HarassMenu.CreatSlotComboBox(SpellSlot.W, 0, "After AA", "Before AA"); HarassMenu.CreatSlotCheckBox(SpellSlot.E); HarassMenu.CreatManaLimit(true); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBMiddle.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below"); { LaneClearMenu.CreatLaneClearOpening(); LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false); LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10); LaneClearMenu.CreatSlotCheckBox(SpellSlot.R); LaneClearMenu.CreatSlotHitSlider(SpellSlot.R, 5, 1, 10); LaneClearMenu.Add("UBMiddle.Kassadin.R.Stack", new Slider("R stack limit", 1, 1, 4)); LaneClearMenu.CreatManaLimit(true); } #endregion #region JungleClear JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBMiddle.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below"); { JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.W); JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.R, null, false); JungleClearMenu.Add("UBMiddle.Kassadin.R.Stack", new Slider("R stack limit", 1, 1, 4)); JungleClearMenu.CreatManaLimit(true); } #endregion #region Lasthit LasthitMenu = Menu.AddSubMenu("Lasthit", "UBMiddle.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.CreatSlotCheckBox(SpellSlot.R, null, false); LasthitMenu.Add("UBMiddle.Kassadin.R.Stack", new Slider("R stack limit", 1, 1, 4)); LasthitMenu.CreatManaLimit(); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", "UBMiddle.Misc" + player.Hero, "UB" + 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.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"); MiscMenu.AddGroupLabel("Deny Recall settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, Misc_Menu_Value.DenyRecall.ToString()); MiscMenu.CreatSlotCheckBox(SpellSlot.E, Misc_Menu_Value.DenyRecall.ToString()); MiscMenu.CreatSlotCheckBox(SpellSlot.R, Misc_Menu_Value.DenyRecall.ToString()); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings"); { DrawMenu.CreatDrawingOpening(); DrawMenu.CreatColorPicker(SpellSlot.Q); 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, Variables.AddonName + ".MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto"); Menu.AddGroupLabel("General Setting"); Menu.CreatSlotHitChance(SpellSlot.Q); Menu.CreatSlotHitChance(SpellSlot.E, 85); #endregion #region DashMenu DashMenu = Menu.AddSubMenu("R", Variables.AddonName + "RMenu" + player.Hero, "Settings your R Logic below"); { var xxx = Variables.AddonName + "." + player.Hero; DashMenu.CreatSlotComboBox(SpellSlot.R, 0, "To Mouse", "To Side", "To Target"); DashMenu.Add(xxx + ".Dash.Dangerous", new CheckBox("Dangerous Check")); //DashMenu.Add(xxx + ".Dash.Wall", new CheckBox("Check Wall")); DashMenu.Add(xxx + ".Dash.Correct", new CheckBox("Allow Correct the Direction")); DashMenu.Add(xxx + ".Dash.TryE", new CheckBox("Try R for E")); DashMenu.AddLabel("Try R for E only avaiable for To Side"); DashMenu.AddGroupLabel("Dive Turret Calculator"); DashMenu.Add(xxx + ".Dash.DiveTurret", new ComboBox("Dive turret logic", 1, "Not dive turret", "Logic dive turret", "Always allow dive turret")); DashMenu.Add(xxx + ".Dash.DiveTurret.MyHP", new Slider("My min HP for dive turret", 50)); DashMenu.Add(xxx + ".Dash.DiveTurret.Flash", new CheckBox("Don't dive if target has Flash/ Flee spell")); } #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", Variables.AddonName + ".ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotCheckBox(SpellSlot.R); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", Variables.AddonName + ".HarassMenu" + player.Hero, "Settings your harass below"); { HarassMenu.CreatSlotCheckBox(SpellSlot.Q); HarassMenu.CreatSlotCheckBox(SpellSlot.W); HarassMenu.CreatManaLimit(); HarassMenu.CreatHarassKeyBind(); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", Variables.AddonName + ".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", Variables.AddonName + ".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", Variables.AddonName + ".Lasthit" + 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", Variables.AddonName + ".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"); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings", Variables.AddonName + ".Drawing" + player.Hero, "Setting 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) { Log.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 + " - UBAddons - by U.Boruto"); Menu.AddGroupLabel("General Setting"); Menu.CreatSlotHitChance(SpellSlot.Q); Menu.CreatSlotHitChance(SpellSlot.W); Menu.CreatSlotHitChance(SpellSlot.E); #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", Variables.AddonName + ".ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotComboBox(SpellSlot.W, 1, "Usually", "Only stun"); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotHitSlider(SpellSlot.E, 3, 1, 5); ComboMenu.AddLabel("Normal will try to stun target"); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", Variables.AddonName + ".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", Variables.AddonName + ".LaneClear" + player.Hero, "Settings your laneclear below"); { LaneClearMenu.CreatLaneClearOpening(); LaneClearMenu.Add("UBAddons.Veigar.Farm.Enable", new CheckBox("Enable AP Farm")); 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", Variables.AddonName + ".JungleClear" + player.Hero, "Settings your jungleclear below"); { JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q); JungleClearMenu.CreatSlotCheckBox(SpellSlot.W); JungleClearMenu.CreatManaLimit(); } #endregion #region Lasthit LasthitMenu = Menu.AddSubMenu("Lasthit", Variables.AddonName + ".Lasthit" + player.Hero, "Settings your unkillable minion below"); { LasthitMenu.CreatLasthitOpening(); LasthitMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); LasthitMenu.CreatManaLimit(); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", Variables.AddonName + ".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.R, "KillSteal"); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings", Variables.AddonName + ".Drawing" + player.Hero, "Setting 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) { Log.Debug.Print(exception.ToString(), Console_Message.Error); } }
public static void Dattenosa() { // Menu Menu = MainMenu.AddMenu("UB Kennen", "UBKennen"); Menu.AddGroupLabel("Made by Uzumaki Boruto"); Menu.AddLabel("Dattenosa"); //ComboMenu ComboMenu = Menu.AddSubMenu("Combo"); { ComboMenu.AddGroupLabel("Combo Ayarları"); ComboMenu.Add("useQCombo", new CheckBox("Kullan Q")); ComboMenu.Add("useWCombo", new CheckBox("Kullan W")); ComboMenu.Add("WHitCombo", new Slider("W kullanmak için gereken düşman", 1, 1, 5)); ComboMenu.Add("useECombo", new CheckBox("Kullan E", false)); ComboMenu.Add("useRCombo", new CheckBox("Kullan R")); ComboMenu.Add("RHitCombo", new Slider("R Kullanalabilecek düşman sayısı", 2, 1, 5)); ComboMenu.Add("sep", new Separator()); ComboMenu.AddLabel("Büyü Kullan"); ComboMenu.Add("useIg", new CheckBox("Tutuştur")); ComboMenu.Add("useheal", new CheckBox("Can")); ComboMenu.Add("manageheal", new Slider("Canım şu kadarsa kullan", 15, 1, 80)); ComboMenu.Add("usehealally", new CheckBox("Dostlara can kullan")); ComboMenu.Add("managehealally", new Slider("Can kullanmak için dostlarımın canı :)", 10, 1, 80)); } //HarassMenu HarassMenu = Menu.AddSubMenu("Harass"); { HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("useQ", new CheckBox("Kullan Q")); HarassMenu.Add("useW", new CheckBox("Kullan W")); HarassMenu.Add("HrEnergyManager", new Slider("Dürtmeyi durdurmak için enerji", 0, 0, 200)); } //LaneJungleClear Menu LaneClear = Menu.AddSubMenu("LaneClear"); { LaneClear.AddGroupLabel("Laneclear Ayarları"); LaneClear.Add("useQLc", new CheckBox("Q Kullan", false)); LaneClear.Add("useWLc", new CheckBox("W Kullan", false)); LaneClear.Add("WHitLc", new Slider("W şu kadar minyona çarpacaksa", 5, 1, 30)); LaneClear.Add("useELc", new CheckBox("E Kullan", false)); LaneClear.Add("sep4", new Separator()); LaneClear.Add("EnergyManager", new Slider("Büyü kullanmak için enerjim şu kadar olsun", 0, 0, 200)); LaneClear.Add("sep5", new Separator(40)); } //JungleClear Menu JungleClear = Menu.AddSubMenu("JungleClear"); { JungleClear.AddGroupLabel("OrmanTemizleme Ayarları"); JungleClear.Add("useQJc", new CheckBox("Q Kullan")); JungleClear.Add("useWJc", new CheckBox("W Kullan")); JungleClear.Add("WHitJc", new Slider("W şu kadar canavara çarpacaksa", 2, 1, 4)); JungleClear.Add("useEJc", new CheckBox("E Kullan", false)); JungleClear.Add("JcEnergyManager", new Slider("Büyü kullanmak için enerjim şu kadar olsun", 0, 0, 200)); } //LasthitMenu LasthitMenu = Menu.AddSubMenu("Lasthit"); { LasthitMenu.Add("useQLh", new CheckBox("Q Kullan")); LasthitMenu.Add("useWLh", new CheckBox("W Kullan")); } //DrawMenu DrawMenu = Menu.AddSubMenu("Drawings"); { DrawMenu.Add("drawQ", new CheckBox("Göster Q", false)); DrawMenu.Add("drawW", new CheckBox("Göster W", false)); DrawMenu.Add("drawR", new CheckBox("Göster R", false)); } //MiscMenu MiscMenu = Menu.AddSubMenu("MiscMenu"); { MiscMenu.AddGroupLabel("Ek Ayarları"); MiscMenu.AddLabel("Anti Gapcloser"); MiscMenu.Add("useQAG", new CheckBox("anti GapCloser Q")); MiscMenu.Add("useWAG", new CheckBox("anti GapCloser W")); MiscMenu.Add("useEAG", new CheckBox("anti GapCloser E")); MiscMenu.AddLabel("Killçalma Ayarları"); MiscMenu.Add("useQKS", new CheckBox("Q Kullan")); MiscMenu.Add("useWKS", new CheckBox("W Kullan")); MiscMenu.AddLabel("İtem Aktifleştirici"); MiscMenu.Add("item.1", new CheckBox("Otomatik Kullan bilgewater palası")); MiscMenu.Add("item.1MyHp", new Slider("Benim canım şundan az {0}%", 95)); MiscMenu.Add("item.1EnemyHp", new Slider("Düşman canı şundan az {0}%", 70)); MiscMenu.Add("item.sep", new Separator()); MiscMenu.Add("item.2", new CheckBox("Otomatik Kullan Mahvolmuş")); MiscMenu.Add("item.2MyHp", new Slider("benim canım şundan az {0}%", 80)); MiscMenu.Add("item.2EnemyHp", new Slider("Düimanın canı şundan az {0}%", 70)); MiscMenu.Add("sep7", new Separator()); MiscMenu.Add("item.3", new CheckBox("Otomatik Zhonya")); MiscMenu.Add("item.3MyHp", new Slider("Benim Canım {0}%", 50)); MiscMenu.Add("sep8", new Separator()); MiscMenu.Add("item.4", new CheckBox("R den sonra hemen Zhonya Kullan")); MiscMenu.Add("item.4mng", new Slider("Şu kadar düşmana vuracaksa", 3, 1, 5)); MiscMenu.Add("sep9", new Separator()); MiscMenu.AddLabel("Mod Skin"); MiscMenu.Add("Modskin", new CheckBox("Aktif mod skin")); MiscMenu.Add("Modskinid", new Slider("Mod Skin", 6, 0, 6)); } }
protected override void CreateMenu() { try { #region Mainmenu Menu = MainMenu.AddMenu("UB" + player.Hero, Variables.AddonName + ".MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto"); Menu.AddGroupLabel("General Setting"); Menu.Add(Variables.AddonName + ".Kayle.W.Enable", new CheckBox("Auto W")); Menu.Add(Variables.AddonName + ".Kayle.W.HP", new Slider("When HP", 50)); Menu.Add(Variables.AddonName + ".Kayle.W.ManaLimit", new Slider("Stop when my MP below", 30)); foreach (var champ in EntityManager.Heroes.Allies) { Menu.Add(Variables.AddonName + ".Kayle.W.Enable." + champ.Hero, new CheckBox("Use W on " + champ.ChampionName, champ.IsMe)); } #endregion #region R RMenu = Menu.AddSubMenu("R", "UBAddons.RMenu" + player.Hero, "Settings your R saver below"); { string BeginText = Variables.AddonName + "." + Player.Instance.Hero + ".R."; RMenu.Add(BeginText + "Enable", new CheckBox("Use R")); RMenu.AddSeparator(); foreach (var champ in EntityManager.Heroes.Allies) { RMenu.AddGroupLabel(champ.ChampionName); RMenu.Add(BeginText + "Enable." + champ.Hero, new CheckBox("Use on " + champ.ChampionName)); if (champ.IsMe) { RMenu.Add(Variables.AddonName + ".Kayle.R.Turret", new CheckBox("R when turret hit me")); } RMenu.Add(BeginText + "HP." + champ.Hero, new Slider("Use R if " + champ.ChampionName + "'s HP below {0}%", 20, 0, 100)); RMenu.Add(BeginText + "Spell.Damage." + champ.Hero, new Slider("R if enemy spell damage more than", 500, 300, 3000)); RMenu.Add(BeginText + "Priority." + champ.Hero, new Slider(champ.ChampionName + "'s priority", CrazyTargetSelector.GetPriority(champ), 1, 5)); RMenu.AddSeparator(); } } #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", Variables.AddonName + ".ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotCheckBox(SpellSlot.E); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", Variables.AddonName + ".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", Variables.AddonName + ".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", Variables.AddonName + ".JungleClear" + player.Hero, "Settings your jungleclear below"); { JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q); JungleClearMenu.CreatSlotCheckBox(SpellSlot.E); JungleClearMenu.CreatManaLimit(); } #endregion #region Lasthit LasthitMenu = Menu.AddSubMenu("Lasthit", Variables.AddonName + ".Lasthit" + player.Hero, "Settings your unkillable minion below"); { LasthitMenu.CreatLasthitOpening(); LasthitMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); LasthitMenu.CreatManaLimit(); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", Variables.AddonName + ".Misc" + player.Hero, "Settings your misc below"); { MiscMenu.AddGroupLabel("Anti Gapcloser settings"); MiscMenu.CreatMiscGapCloser(); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser", false); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal"); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings", Variables.AddonName + ".Drawing" + player.Hero, "Setting 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) { Log.Debug.Print(exception.ToString(), Console_Message.Error); } }
/// <summary> /// This event is triggered every tick of the game /// </summary> /// <param name="args"></param> private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Azir.ManaPercent; Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider")) { Harass.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider")) { LastHit.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); } if (AutoHarassMenu.GetKeyBindValue("autoHarassKey")) { if (Orbwalker.AzirSoldiers.Count >= 1 && AutoHarassMenu.GetCheckBoxValue("attack")) { var target = TargetSelector.GetTarget(1250, DamageType.Magical); if (target == null) { return; } SoldierAttack(target); } if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider")) { AutoHarass.Execute(); } } if (FleeMenu.GetKeyBindValue("insect")) { InSec.Normal(); } if (FleeMenu.GetKeyBindValue("insected")) { InSec.New(); } if (FleeMenu.GetKeyBindValue("flee")) { Flee.Execute(); } KillSteal.Execute(); }
protected override void CreateMenu() { try { #region Mainmenu Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto"); #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.Add("UBAddons.Akali.W.Energy.Min", new Slider("Min energy for W", 175, 0, 200)); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.Add("UBAddons.Akali.R.Turret", new ComboBox("R to turret if:", 0, "Killable with combo", "Always", "Never")); } #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.E); HarassMenu.CreatManaLimit(true); HarassMenu.CreatHarassKeyBind(); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below"); { LaneClearMenu.CreatLaneClearOpening(); LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false); LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 15); LaneClearMenu.CreatManaLimit(true); } #endregion #region JungleClear JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below"); { JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false); JungleClearMenu.CreatManaLimit(true); } #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, null, false); LasthitMenu.CreatSlotCheckBox(SpellSlot.E, null, false); LasthitMenu.CreatManaLimit(true); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below"); { 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"); { 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); Menu.Add("UBAddons.Viktor.E.Direction", new CheckBox("Allow use E direction")); Menu.AddLabel("Tips: Turn on direction will make your E look like human"); Menu.CreatSlotHitChance(SpellSlot.E); Menu.CreatSlotHitChance(SpellSlot.R); Menu.AddGroupLabel("Immobile Setting"); Menu.Add("UBAddons.Viktor.W.CC", new CheckBox("W CC stacks")); Menu.Add("UBAddons.Viktor.W.Teleport", new CheckBox("W Teleport")); Menu.Add("UBAddons.Viktor.W.Revive", new CheckBox("W Revive")); #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, null, false); ComboMenu.CreatSlotHitSlider(SpellSlot.W, 1, 1, 5); ComboMenu.CreatSlotCheckBox(SpellSlot.E); 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, null, false); HarassMenu.CreatSlotHitSlider(SpellSlot.W, 1, 1, 5); HarassMenu.CreatSlotCheckBox(SpellSlot.E); HarassMenu.CreatManaLimit(); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below"); { LaneClearMenu.CreatLaneClearOpening(); LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); LaneClearMenu.AddLabel("W only work if you upgraded"); 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, "UB" + player.Hero + " - Settings your jungleclear below"); { JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); //JungleClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); //JungleClearMenu.CreatSlotHitSlider(SpellSlot.W, 1, 1, 6); 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.E, null, false); 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.CreatSlotCheckBox(SpellSlot.Q, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser"); MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.R, "Interrupter", false); 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"); { 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); 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.E); ComboMenu.Add("UBAddons.Cassiopeia.E.Poison", new CheckBox("E only Poison", false)); ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.CreatSlotHitSlider(SpellSlot.R, 1, 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.CreatSlotCheckBox(SpellSlot.E); HarassMenu.CreatManaLimit(); HarassMenu.CreatHarassKeyBind(); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below"); { LaneClearMenu.CreatLaneClearOpening(); LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); LaneClearMenu.CreatSlotCheckBox(SpellSlot.E); LaneClearMenu.CreatManaLimit(); } #endregion #region JungleClear JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below"); { JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q); 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, null, false); LasthitMenu.CreatSlotCheckBox(SpellSlot.E); LasthitMenu.CreatManaLimit(); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below"); { 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"); { 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); } }
public static void LoadMenu() { Home = Menu.AddMenu("Maniac" + ObjectManager.Me.Hero); //Main.Orb = new Orbwalker.OrbwalkerInstance(Home.AddSubMenu("Orbwalker")); ComboMenu = Home.AddSubMenu(Prefix + "Combo"); ComboMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); ComboMenu.Add(new MenuCheckbox("useW", "Use W", true)); ComboMenu.Add(new MenuCheckbox("useE", "Use E", true)); ComboMenu.Add(new MenuCheckbox("useR", "Use R", true)); ComboMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50)); HarassMenu = Home.AddSubMenu(Prefix + "Harass"); HarassMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); HarassMenu.Add(new MenuCheckbox("useW", "Use W", true)); HarassMenu.Add(new MenuCheckbox("useE", "Use E", true)); HarassMenu.Add(new MenuCheckbox("useR", "Use R", true)); HarassMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50)); LaneclearMenu = Home.AddSubMenu(Prefix + "Lane Clear"); LaneclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); LaneclearMenu.Add(new MenuCheckbox("useW", "Use W", true)); LaneclearMenu.Add(new MenuCheckbox("useE", "Use E", true)); LaneclearMenu.Add(new MenuCheckbox("useR", "Use R", true)); LaneclearMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50)); LasthitMenu = Home.AddSubMenu(Prefix + "LastHit"); LasthitMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); LasthitMenu.Add(new MenuCheckbox("useW", "Use W", true)); LasthitMenu.Add(new MenuCheckbox("useE", "Use E", true)); LasthitMenu.Add(new MenuCheckbox("useR", "Use R", true)); LasthitMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50)); FleeMenu = Home.AddSubMenu(Prefix + "Flee"); FleeMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); FleeMenu.Add(new MenuCheckbox("useW", "Use W", true)); FleeMenu.Add(new MenuCheckbox("useE", "Use E", true)); FleeMenu.Add(new MenuCheckbox("useR", "Use R", true)); FleeMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 5)); DrawingMenu = Home.AddSubMenu(Prefix + "Drawings"); DrawingMenu.Add(new MenuCheckbox("enable", "Enable", true)); DrawingMenu.Add(new MenuCheckbox("drawQ", "Draw Q", true)); DrawingMenu.Add(new MenuCheckbox("drawW", "Draw W", true)); DrawingMenu.Add(new MenuCheckbox("drawE", "Draw E", true)); DrawingMenu.Add(new MenuCheckbox("drawR", "Draw R", true)); KillstealMenu = Home.AddSubMenu(Prefix + "KillSteal"); KillstealMenu.Add(new MenuCheckbox("enable", "Enable", true)); KillstealMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); KillstealMenu.Add(new MenuCheckbox("useW", "Use W", true)); KillstealMenu.Add(new MenuCheckbox("useE", "Use E", true)); KillstealMenu.Add(new MenuCheckbox("useR", "Use R", true)); KillstealMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 10)); MiscMenu = Home.AddSubMenu(Prefix + "Misc"); MiscMenu.Add(new MenuCheckbox("agQ", "AntiGapclose Q", true)); MiscMenu.Add(new MenuCheckbox("agW", "AntiGapclose W", true)); MiscMenu.Add(new MenuCheckbox("agE", "AntiGapclose E", true)); MiscMenu.Add(new MenuCheckbox("agR", "AntiGapclose R", true)); MiscMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 30)); MiscMenu.Add(new MenuCheckbox("level", "Enable Spell Leveler", true)); MiscMenu.Add(new MenuSlider("levelDelay", "Level UP Delay", 10, 1000, 200)); MiscMenu.Add(new MenuCombo("levelFirst", "Level UP First", new[] { "Q", "W", "E" })); MiscMenu.Add(new MenuCombo("levelSecond", "Level UP Second", new[] { "Q", "W", "E" }, 1)); MiscMenu.Add(new MenuCombo("levelThird", "Level UP Third", new[] { "Q", "W", "E" }, 2)); }
public static void Dattenosa() { // Menu Menu = MainMenu.AddMenu("UB Kennen", "UBKennen"); Menu.AddGroupLabel("Made by Uzumaki Boruto"); Menu.AddLabel("Dattenosa"); //ComboMenu ComboMenu = Menu.AddSubMenu("Combo"); { ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQCombo", new CheckBox("Use Q")); ComboMenu.Add("focus", new CheckBox("Priority Q on enemy has Passive Buff")); ComboMenu.Add("useWCombo", new CheckBox("Use W")); ComboMenu.Add("WHitCombo", new Slider("Only Use W if hit {0} enemy", 1, 1, 5)); ComboMenu.Add("useECombo", new CheckBox("Use E", false)); ComboMenu.Add("useRCombo", new CheckBox("Use R")); ComboMenu.Add("RHitCombo", new Slider("Least enemy to use R", 2, 1, 5)); ComboMenu.AddSeparator(); } //HarassMenu HarassMenu = Menu.AddSubMenu("Harass"); { HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQ", new CheckBox("Use Q")); HarassMenu.Add("useW", new CheckBox("Use W")); HarassMenu.Add("Whit", new Slider("W when hit {0} enemy", 1, 1, 5)); HarassMenu.Add("HrEnergyManager", new Slider("If energy below {0} stop harass", 0, 0, 200)); } //LaneJungleClear Menu LaneClear = Menu.AddSubMenu("LaneClear"); { LaneClear.AddGroupLabel("Laneclear Settings"); LaneClear.Add("useQLc", new CheckBox("Use Q to laneclear", false)); LaneClear.Add("useWLc", new CheckBox("Use W to laneclear", false)); LaneClear.Add("WHitLc", new Slider("Only Use W if hit {0} minion(s)", 5, 1, 30)); LaneClear.Add("useELc", new CheckBox("Use E to laneclear", false)); LaneClear.Add("EnergyManager", new Slider("If energy below {0} stop use skill to laneclear", 0, 0, 200)); } //JungleClear Menu JungleClear = Menu.AddSubMenu("JungleClear"); { JungleClear.AddGroupLabel("Jungleclear Settings"); JungleClear.Add("useQJc", new CheckBox("Use Q to jungleclear")); JungleClear.Add("useWJc", new CheckBox("Use W to jungleclear")); JungleClear.Add("useEJc", new CheckBox("Use E to jungleclear", false)); JungleClear.Add("JcEnergyManager", new Slider("if energy below {0} stop Use skill to jungleclear", 0, 0, 200)); } //LasthitMenu LasthitMenu = Menu.AddSubMenu("Lasthit"); { LasthitMenu.Add("useQLh", new CheckBox("Use Q to lasthit")); LasthitMenu.Add("useWLh", new CheckBox("Use W to lasthit")); } //DrawMenu DrawMenu = Menu.AddSubMenu("Drawings"); { DrawMenu.Add("draw", new CheckBox("Enable Drawings")); DrawMenu.Add("drawQ", new CheckBox("Draw Q")); DrawMenu.Add("drawW", new CheckBox("Draw W")); DrawMenu.Add("drawR", new CheckBox("Draw R")); DrawMenu.Add("Time", new CheckBox("Passive Timer", false)); DrawMenu.Add("dmg", new CheckBox("Draw Damage Indicator")); DrawMenu.Add("Color", new ColorPicker("Damage Indicator Color", Color.FromArgb(255, 255, 236, 0))); } //MiscMenu MiscMenu = Menu.AddSubMenu("MiscMenu"); { MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.AddLabel("Anti Gapcloser"); MiscMenu.Add("useQAG", new CheckBox("Use Q to anti GapCloser")); MiscMenu.Add("useWAG", new CheckBox("Use W to anti Gapcloser")); MiscMenu.Add("useEAG", new CheckBox("Use E to anti Gapcloser")); MiscMenu.AddLabel("Killsteal Settings"); MiscMenu.Add("useQKS", new CheckBox("Use Q to KS")); MiscMenu.Add("useWKS", new CheckBox("Use W to KS")); } }
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.R); #endregion #region Insec InsecMenu = Menu.AddSubMenu("Insec", "UBAddons.Insec" + player.Hero, "UB" + player.Hero + " - Settings your insec below"); { InsecMenu.Add("UBAddons.Azir.Insec.Key", new KeyBind("Insec Key", true, KeyBind.BindTypes.HoldActive)); InsecMenu.Add("UBAddons.Azir.Insec.To", new ComboBox("Insec Target to", 0, "My Cursor", "My Turret", "My Ally", "Select Position")); } #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.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3)); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.Add("UBAddons.Azir.E.OnlyCanKill", new CheckBox("E to Killable Target only")); ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.CreatSlotComboBox(SpellSlot.R, 0, "Smart", "Ally", "Turret", "Push"); } #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.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3)); HarassMenu.CreatManaLimit(); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + 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.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3)); LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false); LaneClearMenu.CreatManaLimit(); } #endregion #region JungleClear JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below"); { JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.W); JungleClearMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3)); 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 Misc MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below"); { MiscMenu.AddGroupLabel("Anti Gapcloser settings"); MiscMenu.CreatMiscGapCloser(); MiscMenu.CreatSlotCheckBox(SpellSlot.R, "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"); { DrawMenu.CreatDrawingOpening(); DrawMenu.Add("UBAddons.Insec.Position", new CheckBox("Draw Selected Position")); 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, Variables.AddonName + ".MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto"); Menu.AddGroupLabel("General Setting"); Menu.Add(Variables.AddonName + ".Alistar.R.Turret", new CheckBox("R when turret hit me")); Menu.Add(Variables.AddonName + ".Alistar.R.Enemy", new Slider("R when around me has Enemy champ", 4, 1, 6)); Menu.Add(Variables.AddonName + ".Alistar.R.HP", new Slider("R when my HP below", 50)); #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", Variables.AddonName + ".ComboMenu" + player.Hero, "Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotCheckBox(SpellSlot.R); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", Variables.AddonName + ".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", Variables.AddonName + ".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.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10); LaneClearMenu.CreatManaLimit(); } #endregion #region JungleClear JungleClearMenu = Menu.AddSubMenu("JungleClear", Variables.AddonName + ".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", Variables.AddonName + ".Lasthit" + player.Hero, "Settings your unkillable minion below"); { LasthitMenu.CreatLasthitOpening(); LasthitMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); LasthitMenu.CreatSlotCheckBox(SpellSlot.W, null, false); LasthitMenu.CreatSlotCheckBox(SpellSlot.E, null, false); LasthitMenu.CreatManaLimit(); } #endregion #region Flee FleeMenu = Menu.AddSubMenu("Flee", Variables.AddonName + ".Flee" + player.Hero, "Setting your flee below"); { string BeginText = Variables.AddonName + "." + Player.Instance.Hero + "."; FleeMenu.Add(BeginText + "W", new CheckBox("W for flee")); FleeMenu.Add(BeginText + "W.ToMonster", new CheckBox("W to monster")); FleeMenu.Add(BeginText + "W.ToChamp", new CheckBox("W to champ")); FleeMenu.Add(BeginText + "W.HP", new Slider("Min {0}% HP for AA champ & monster", 15)); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", Variables.AddonName + ".Misc" + player.Hero, "Settings your misc below"); { MiscMenu.AddGroupLabel("Anti Gapcloser settings"); MiscMenu.CreatMiscGapCloser(); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser", false); MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter", false); 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", Variables.AddonName + ".Drawing" + player.Hero, "Setting 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) { Log.Debug.Print(exception.ToString(), Console_Message.Error); } }
private static void Game_OnTick() { var mana = Me.ManaPercent; if (MiscMenu.GetKeybind("manualEQ") && E.IsReady() && Q.IsReady()) { Q.Cast(ObjectManager.Player.Position.Extend(Game.CursorPosition, Q.Range)); DoEQ = true; } if (MiscMenu.GetKeybind("semimanualEQ") && E.IsReady() && Q.IsReady()) { var target = Heroes.Enemies.Where(enemy => enemy.IsValidTarget(EQ.Range)).OrderBy(enemy => enemy.Distance(Game.CursorPosition)).FirstOrDefault(); var qpos = DarkPrediction.CirclerPrediction(Q, (AIHeroClient)target, 1); if (qpos != DarkPrediction.empt && qpos.Distance(ObjectManager.Player) <= Q.Range) { Q.Cast(qpos); } DoEQ = true; } if (DoEQ && !E.IsReady()) { DoEQ = false; } if (KillstealMenu.GetCheckbox("enable")) { Killsteal.DoKs(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.JungleClear && mana >= JungleclearMenu.GetSlider("mana")) { JungleClear.DoJungleClear(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LastHit && mana >= LasthitMenu.GetSlider("mana")) { LastHit.DoLastHit(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Combo && mana >= ComboMenu.GetSlider("mana")) { Combo.DoCombo(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Harass && mana >= HarassMenu.GetSlider("mana")) { Harass.DoHarass(); } if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LaneClear && mana >= LaneclearMenu.GetSlider("mana")) { LaneClear.DoLaneClear(); } //This is a basic fix, due to OnLevelUp being disabled if (_currentLevel == Player.Level) { return; } Leveler(); _currentLevel = Player.Level; }
public static void LoadMenu() { Home = Menu.AddMenu("Syndra by BadCommand"); //Main.Orb = new Orbwalker.OrbwalkerInstance(Home.AddSubMenu("Orbwalker")); ComboMenu = Home.AddSubMenu(Prefix + "Combo"); ComboMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); ComboMenu.Add(new MenuCheckbox("useW", "Use W", true)); ComboMenu.Add(new MenuCheckbox("useEQ", "Use EQ combo", true)); ComboMenu.Add(new MenuCheckbox("useE", "Use E to stun", true)); ComboMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 0)); HarassMenu = Home.AddSubMenu(Prefix + "Harass"); HarassMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); HarassMenu.Add(new MenuCheckbox("useW", "Use W", true)); HarassMenu.Add(new MenuCheckbox("useEQ", "Use EQ", true)); HarassMenu.Add(new MenuCheckbox("useE", "Use E to stun", true)); HarassMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50)); LaneclearMenu = Home.AddSubMenu(Prefix + "Lane Clear"); LaneclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); LaneclearMenu.Add(new MenuCheckbox("useW", "Use W", true)); LaneclearMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 50)); JungleclearMenu = Home.AddSubMenu(Prefix + "Jungle Clear"); JungleclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); JungleclearMenu.Add(new MenuCheckbox("useW", "Use W", true)); JungleclearMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 50)); LasthitMenu = Home.AddSubMenu(Prefix + "Last Hit"); LasthitMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); LasthitMenu.Add(new MenuCheckbox("useW", "Use W", true)); LasthitMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 50)); DrawingMenu = Home.AddSubMenu(Prefix + "Drawings"); DrawingMenu.Add(new MenuCheckbox("enable", "Enable", true)); DrawingMenu.Add(new MenuCheckbox("drawQ", "Draw Q", true)); DrawingMenu.Add(new MenuCheckbox("drawW", "Draw W", true)); DrawingMenu.Add(new MenuCheckbox("drawE", "Draw E", true)); DrawingMenu.Add(new MenuCheckbox("drawEQ", "Draw EQ", true)); DrawingMenu.Add(new MenuCheckbox("drawR", "Draw R", true)); KillstealMenu = Home.AddSubMenu(Prefix + "KillSteal"); KillstealMenu.Add(new MenuCheckbox("enable", "Enable", true)); KillstealMenu.Add(new MenuCheckbox("useIgnite", "Use Ignite", true)); KillstealMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); KillstealMenu.Add(new MenuCheckbox("useW", "Use W", true)); KillstealMenu.Add(new MenuCheckbox("useR", "Use R on the enemies below", true)); foreach (var hero in HesaEngine.SDK.ObjectManager.Heroes.Enemies) { KillstealMenu.Add(new MenuCheckbox("rlist" + hero.ChampionName, hero.ChampionName, true)); } KillstealMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 0)); MiscMenu = Home.AddSubMenu(Prefix + "Misc"); MiscMenu.Add(new MenuKeybind("manualEQ", "EQ to mouse position", SharpDX.DirectInput.Key.A, MenuKeybindType.Hold)); MiscMenu.Add(new MenuKeybind("semimanualEQ", "Semi manual EQ to enemi near mouse", SharpDX.DirectInput.Key.T, MenuKeybindType.Hold)); MiscMenu.Add(new MenuCheckbox("inE", "Use E to interrupt", true)); MiscMenu.Add(new MenuCheckbox("inEQ", "Use EQ to interrupt", true)); MiscMenu.Add(new MenuCheckbox("level", "Enable Spell Leveler", false)); MiscMenu.Add(new MenuSlider("levelDelay", "Level UP Delay", 10, 1000, 200)); MiscMenu.Add(new MenuCombo("levelFirst", "Level UP First", new[] { "Q", "W", "E" })); MiscMenu.Add(new MenuCombo("levelSecond", "Level UP Second", new[] { "Q", "W", "E" }, 1)); MiscMenu.Add(new MenuCombo("levelThird", "Level UP Third", new[] { "Q", "W", "E" }, 2)); }