private static void OnDraw(EventArgs args) { MenuSliderButton drawTarget = mainMenu.GetValue <MenuSliderButton>("drawTarget"); if (drawTarget.Enabled) { AIHeroClient target = TargetSelector.GetTarget(drawTarget.Value); if (target != null) { Circle.DrawCircle(target.Position, target.BoundingRadius + 50, Color.Yellow, 2); } } if (mainMenu.GetValue <MenuBool>("drawW").Enabled&& (W.IsReady() || !mainMenu.GetValue <MenuBool>("drawWOE").Enabled)) { Circle.DrawCircle(Player.Position, W.Range, Color.White, 2); } if (Orbwalker.ActiveMode == OrbwalkerMode.LaneClear && mainMenu.GetValue <MenuBool>("drawPanic").Enabled&& mainMenu.GetValue <MenuKeyBind>("panicClear").Active) { Drawing.WorldToScreen(Game.CursorPos, out Vector2 mouse); status.X = (int)mouse.X; status.Y = (int)mouse.Y - 20; status.Draw(); } if (mainMenu.GetValue <MenuBool>("drawE").Enabled&& mainMenu.GetValue <MenuKeyBind>("manualE").Active) { Drawing.WorldToScreen(Player.Position, out Vector2 pos); statusE.X = (int)pos.X; statusE.Y = (int)pos.Y + 20; statusE.Draw(); } }
static LaneClear() { Menu = Modes.Menu.Add(new Menu("LaneClear", "LaneClear")); _useQ = Menu.Add(new MenuBool("UseQ", "Use Q", false)); _useW = Menu.Add(new MenuBool("UseW", "Use W", false)); _minMana = Menu.Add(new MenuSliderButton("MinMana", "Min Mana %", 70, 0, 100, true)); }
static JungleClear() { Menu = Modes.Menu.Add(new Menu("JungleClear", "JungleClear")); _useQ = Menu.Add(new MenuBool("UseQ", "Use Q", true)); _useW = Menu.Add(new MenuBool("UseW", "Use W", true)); _minMana = Menu.Add(new MenuSliderButton("MinMana", "Min Mana %", 0, 0, 100, true)); }
static Harass() { Menu = Modes.Menu.Add(new Menu("Harass", "Harass")); _useQ = Menu.Add(new MenuBool("UseQ", "Use Q", true)); _useW = Menu.Add(new MenuBool("UseW", "Use W", true)); _minMana = Menu.Add(new MenuSliderButton("Mana", "Min Mana %", 70, 0, 100, true)); }
static Combo() { Menu = Modes.Menu.Add(new Menu("Combo", "Combo")); _useQ = Menu.Add(new MenuBool("UseQ", "Use Q", true)); _useW = Menu.Add(new MenuBool("UseW", "Use W", true)); //_useE = Menu.Add(new MenuBool("UseE", "Use E", true)); _useR = Menu.Add(new MenuSliderButton("UseR", "Use R", 3, 1, 6, true)); }
static Misc() { Menu = Config.Menu.Add(new Menu("Misc", "Misc")); _eDamageAdjust = Menu.Add(new MenuSliderButton("EDmageAdjust", "E Damage Adjust", -10, -100, 0) { BValue = false }); }
static Harass() { Menu = Modes.Menu.Add(new Menu("Harass", "Harass")); _useQ = Menu.Add(new MenuBool("UseQ", "Use Q", true)); _useQPierce = Menu.Add(new MenuBool("UseQPierce", "Use Q pierce", true)); _minMana = Menu.Add(new MenuSliderButton("Mana", "Min Mana %", 70, 0, 100) { BValue = true }); }
static AutoHarass() { Menu = Auto.Menu.Add(new Menu("AutoHarass", "Auto Harass")); _useQ = Menu.Add(new MenuBool("UseQ", "Use Q", true)); _useW = Menu.Add(new MenuBool("UseW", "Use W", false)); _minMana = Menu.Add(new MenuSliderButton("MinMana", "Min Mana %", 50, 0, 100) { BValue = true }); }
static JungleClear() { Menu = Modes.Menu.Add(new Menu("JungleClear", "JungleClear")); _useQ = Menu.Add(new MenuBool("UseQ", "Use Q", true)); _useESmall = Menu.Add(new MenuBool("UseESmall", "Use E Small", false)); _useEBig = Menu.Add(new MenuBool("UseEBig", "Use E Big", true)); _useELegendary = Menu.Add(new MenuBool("UseELegendary", "Use E Legendary", true)); _minMana = Menu.Add(new MenuSliderButton("MinMana", "Min Mana %", 0, 0, 100) { BValue = true }); }
static LaneClear() { Menu = Modes.Menu.Add(new Menu("LaneClear", "LaneClear")); UseQ = Menu.Add(new MenuSliderButton("UseQ", "Use Q to kill minions", 3, 1, 10) { BValue = false }); UseE = Menu.Add(new MenuSliderButton("UseE", "Use E to kill minions", 3, 1, 10) { BValue = true }); _minMana = Menu.Add(new MenuSliderButton("MinMana", "Min Mana %", 70, 0, 100) { BValue = true }); }
static AutoE() { Menu = Auto.Menu.Add(new Menu("AutoE", "Auto E")); Menu.Add(new MenuSeparator("info1", "Slider = Min Mana %, Switch = On/Off")); _killEnemyHeros = Menu.Add(new MenuBool("KillEnemyHeros", "Kill Enemy Heros", true)); _killSiegeMinions = Menu.Add(new MenuSliderButton("KillSiegeMinions", "Kill Siege Minions", 0, 0, 100, true) { BValue = true }); _killSuperMinions = Menu.Add(new MenuBool("KillSuperMinions", "Kill Super Minions", true)); _killSmallJungle = Menu.Add(new MenuBool("KillSmallJungle", "Kill Small Jungle", false)); _killBigJungle = Menu.Add(new MenuBool("KillBigJungle", "Kill Big Jungle", true)); _killLegendaryJungle = Menu.Add(new MenuBool("KillLegendaryJungle", "Kill Legendary Jungle (Dragon, Baron)", true)); _killUnkillableMinions = Menu.Add(new MenuSliderButton("KillUnkillableMinions", "Kill Minions unkillable with AutoAttack", 30, 0, 100, true) { BValue = true }); _KillMinionsToHarassEnemyHeros = Menu.Add(new MenuSliderButton("KillMinionsToHarassEnemyHeros", "Kill Minions to Harass Enemy heros", 50, 0, 100, true) { BValue = true }); }
static AutoW() { Menu = Auto.Menu.Add(new Menu("AutoW", "Auto W")); _enabled = Menu.Add(new MenuBool("enabled", "Enabled", true)); _minMana = Menu.Add(new MenuSliderButton("minMana", "Min Mana %", 50, 0, 100) { BValue = true }); _keepWCharge = Menu.Add(new MenuBool("keepWcharge", "Keep W Charge (1)", true)); Menu.Add(new MenuSeparator("xxx1", " ")); if (SoulHandler.WCastPositionList.All(x => x.MapID != Game.MapId)) { Menu.Add(new MenuSeparator("xxx2", "This map is not supported.")); } else { SoulHandler.WCastPositionList.Where(x => x.MapID == Game.MapId).ForEach(x => { Menu.Add(new MenuBool(x.PositionName, x.PositionName, !x.PositionName.Contains("Ally"))); }); } }
/// <summary> /// Builds a new handler for the given <see cref="MenuSliderButton" />. /// </summary> /// <param name="component">The <see cref="MenuSliderButton" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable <MenuSliderButton> BuildSliderButtonHandler(MenuSliderButton component) { return(new BlueSliderButton(component)); }
/// <summary> /// The Initialize /// </summary> public static void Initialize() { Menu = new Menu("Jayce", "Jayce", true); var ComboMenu = Menu.Add(new Menu("ComboMenu", "Combo")); { var ComboCannon = ComboMenu.Add(new Menu("ComboCannon", "Cannon")); { ComboCannonQ = ComboCannon.Add(new MenuBool("Q", "Use Q", true)); ComboCannonW = ComboCannon.Add(new MenuBool("W", "Use W", true)); ComboCannonE = ComboCannon.Add(new MenuBool("E", "Use E", true)); } var ComboHammer = ComboMenu.Add(new Menu("ComboHammer", "Hammer")); { ComboHammerQ = ComboHammer.Add(new MenuBool("Q", "Use Q", true)); ComboHammerW = ComboHammer.Add(new MenuBool("W", "Use W", true)); ComboHammerE = ComboHammer.Add(new MenuBool("E", "Use E", true)); } ComboR = ComboMenu.Add(new MenuBool("R", "Use R", true)); } var HarassMenu = Menu.Add(new Menu("HarassMenu", "Harass")); { var HarassCannon = HarassMenu.Add(new Menu("ComboCannon", "Cannon")); { HarassCannonQ = HarassCannon.Add(new MenuBool("Q", "Use Q", true)); HarassCannonE = HarassCannon.Add(new MenuBool("E", "Use E", true)); } HarassMana = HarassMenu.Add(new MenuSliderButton("Mana", "Mana(%)", 45, 0, 100, true)); } var ClearMenu = Menu.Add(new Menu("ClearMenu", "Clear")); { var LaneMenu = ClearMenu.Add(new Menu("Lane", "Lane")); { var LaneCannon = LaneMenu.Add(new Menu("LaneCannon", "Cannon")); { LaneCannonQ = LaneCannon.Add(new MenuBool("Q", "Use Q", true)); LaneCannonQHit = LaneCannon.Add(new MenuSlider("HitQ1", "Min. Minions to Hit", 3, 1, 6)); LaneCannonE = LaneCannon.Add(new MenuBool("E", "Use E", true)); } var LaneHammer = LaneMenu.Add(new Menu("LaneHammer", "Hammer")); { LaneHammerW = LaneHammer.Add(new MenuBool("W", "Use W", true)); LaneHammerWHit = LaneHammer.Add(new MenuSlider("HitW3", "Min. Minions to Hit", 3, 1, 6)); } LaneMana = LaneMenu.Add(new MenuSliderButton("Mana", "Mana(%)", 45, 0, 100, true)); } var JungleMenu = ClearMenu.Add(new Menu("Jungle", "Jungle")); { var JungleCannon = JungleMenu.Add(new Menu("JungleCannon", "Cannon")); { JungleCannonQ = JungleCannon.Add(new MenuBool("Q", "Use Q", true)); JungleCannonW = JungleCannon.Add(new MenuBool("W", "Use W", true)); } var JungleHammer = JungleMenu.Add(new Menu("JungleHammer", "Hammer")); { JungleHammerQ = JungleHammer.Add(new MenuBool("Q", "Use Q", true)); JungleHammerW = JungleHammer.Add(new MenuBool("W", "Use W", true)); JungleHammerE = JungleHammer.Add(new MenuBool("E", "Use E", true)); } JungleR = JungleMenu.Add(new MenuBool("R", "Use R", true)); JungleMana = JungleMenu.Add(new MenuSliderButton("Mana", "Mana(%)", 45, 0, 100, true)); } } var DrawMenu = Menu.Add(new Menu("DrawMenu", "Drawings")); { DrawDmg = DrawMenu.Add(new MenuBool("DMG", "Draw Damage Indicator", true)); CannonQRange = DrawMenu.Add(new MenuBool("Q", "Draw Cannon Q Range", true)); CannonQERange = DrawMenu.Add(new MenuBool("QE", "Draw Cannon QE Range", true)); HammerQRange = DrawMenu.Add(new MenuBool("HQ", "Draw Hammer Q Range", true)); } var KSMenu = Menu.Add(new Menu("KSMenu", "Kill Steal")); { var KSCannon = KSMenu.Add(new Menu("Cannon", "Cannon")); { CannonQKS = KSCannon.Add(new MenuBool("Q", "Use Q", true)); CannonEKS = KSCannon.Add(new MenuBool("E", "Use E", true)); } var KSHammer = KSMenu.Add(new Menu("Hammer", "Hammer")); { HammerQKS = KSHammer.Add(new MenuBool("Q", "Use Q", true)); HammerEKS = KSHammer.Add(new MenuBool("E", "Use E", true)); } } var Inter = Menu.Add(new Menu("Inter", "Interrupter")); { InterM = Inter.Add(new MenuBool("E", "Use Hammer E", true)); } var AGC = Menu.Add(new Menu("AGC", "Anti Gap Closer")); { AGCM = AGC.Add(new MenuBool("E", "Use Hammer E", true)); } var SM = Menu.Add(new Menu("SM", "Skin Changer")); { SkinChangerM = SM.Add( new MenuList <string>( "SM.M", "Skins", new[] { "Classic", "Full Metal", "Debonair", "Forsaken", "BrightHammer" })); } Menu.Attach(); }
/// <summary> /// Initializes a new instance of the <see cref="BlueSlider" /> class. /// </summary> /// <param name="component"> /// The menu component /// </param> public BlueSliderButton2(MenuSliderButton component) : base(component) { }
/// <summary> /// Builds a new handler for the given <see cref="MenuSliderButton" />. /// </summary> /// <param name="component">The <see cref="MenuSliderButton" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable<MenuSliderButton> BuildSliderButtonHandler(MenuSliderButton component) { return new LightSliderButton2(component); }
/// <summary> /// Builds a new handler for the given <see cref="MenuSliderButton" />. /// </summary> /// <param name="component">The <see cref="MenuSliderButton" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable<MenuSliderButton> BuildSliderButtonHandler(MenuSliderButton component) { return new DefaultSliderButton(component); }
/// <summary> /// Initializes a new instance of the <see cref="LightSliderButton2" /> class. /// </summary> /// <param name="component"> /// The menu component /// </param> public LightSliderButton2(MenuSliderButton component) : base(component) { }