private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Ashe) { return; } _q = new Spell.Active(SpellSlot.Q); _w = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60); _w.AllowedCollisionCount = 0; _e = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0); _r = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250); _r.AllowedCollisionCount = int.MaxValue; var slot = _Player.GetSpellSlotFromName("summonerheal"); if (slot != SpellSlot.Unknown) { Heal = new Spell.Active(slot, 600); } HealthPotion = new Item(2003, 0); TotalBiscuit = new Item(2010, 0); CorruptingPotion = new Item(2033, 0); RefillablePotion = new Item(2031, 0); HuntersPotion = new Item(2032, 0); Chat.Print( "<font color=\"#4dd5ea\" >MeLoDag Presents </font><font color=\"#ffffff\" >AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>"); Menu = MainMenu.AddMenu("AsheTheTroll", "AsheTheTroll"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.Add("useQCombo", new CheckBox("Use Q")); ComboMenu.Add("useWCombo", new CheckBox("Use W")); ComboMenu.Add("useRCombo", new CheckBox("Use R [45%hp]")); ComboMenu.Add("useRComboENEMIES", new CheckBox("Use R[Count]")); ComboMenu.Add("Rcount", new Slider("R when enemies >= ", 1, 1, 5)); ComboMenu.AddSeparator(); ComboMenu.Add("useRComboFinisher", new CheckBox("Use R [FinisherMode]")); ComboMenu.Add("ForceR", new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0])); ComboMenu.Add("useRComboRange", new Slider("R Max Range ", 1000, 500, 2000)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.Add("useQHarass", new CheckBox("Use Q")); HarassMenu.Add("useWHarass", new CheckBox("Use W")); HarassMenu.Add("useWHarassMana", new Slider("W Mana > %", 70, 0, 100)); HarassMenu.AddLabel("AutoHarass"); HarassMenu.Add("autoWHarass", new CheckBox("Auto W for Harass", false)); HarassMenu.Add("autoWHarassMana", new Slider("W Mana > %", 70, 0, 100)); JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings"); JungleLaneMenu.AddLabel("Lane Clear"); JungleLaneMenu.Add("useWFarm", new CheckBox("Use W")); JungleLaneMenu.Add("useWManalane", new Slider("W Mana > %", 70, 0, 100)); JungleLaneMenu.AddSeparator(14); JungleLaneMenu.AddLabel("Jungle Clear"); // JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q")); JungleLaneMenu.Add("useWJungle", new CheckBox("Use W")); JungleLaneMenu.Add("useWMana", new Slider("W Mana > %", 70, 0, 100)); MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings"); MiscMenu.Add("gapcloser", new CheckBox("Auto W for Gapcloser")); MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter")); MiscMenu.Add("CCE", new CheckBox("Auto W on Enemy CC")); MiscMenu.Add("UseWks", new CheckBox("Use W ks")); AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL"); AutoPotHealMenu.AddGroupLabel("Auto pot usage"); AutoPotHealMenu.Add("potion", new CheckBox("Use potions")); AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 70)); AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20)); AutoPotHealMenu.AddGroupLabel("AUto Heal Usage"); AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal")); AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 70)); ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings"); ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK")); ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100)); ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100)); ItemMenu.Add("useYoumu", new CheckBox("Use Youmu")); ItemMenu.AddSeparator(); ItemMenu.Add("useQSS", new CheckBox("Use QSS")); ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ItemMenu.Add("Stun", new CheckBox("Stun", true)); ItemMenu.Add("Blind", new CheckBox("Blind", true)); ItemMenu.Add("Charm", new CheckBox("Charm", true)); ItemMenu.Add("Suppression", new CheckBox("Suppression", true)); ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true)); ItemMenu.Add("Fear", new CheckBox("Fear", true)); ItemMenu.Add("Taunt", new CheckBox("Taunt", true)); ItemMenu.Add("Silence", new CheckBox("Silence", false)); ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000)); ItemMenu.AddGroupLabel("Qqs Utly"); ItemMenu.Add("ZedUlt", new CheckBox("Zed R", true)); ItemMenu.Add("VladUlt", new CheckBox("Vladimir R", true)); ItemMenu.Add("FizzUlt", new CheckBox("Fizz R", true)); ItemMenu.Add("MordUlt", new CheckBox("Mordekaiser R", true)); ItemMenu.Add("PoppyUlt", new CheckBox("Poppy R", true)); ItemMenu.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000)); SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger"); SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer")); SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 8)); PrediMenu = Menu.AddSubMenu("Prediction Settings", "_PrediMenuettings"); var style = PrediMenu.Add("style", new Slider("Min Prediction", 1, 0, 2)); style.OnValueChange += delegate { style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[style.CurrentValue]; }; style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[style.CurrentValue]; DrawMenu = Menu.AddSubMenu("Drawing Settings"); DrawMenu.Add("drawRange", new CheckBox("Draw Q Range")); DrawMenu.Add("drawW", new CheckBox("Draw W Range")); DrawMenu.Add("drawR", new CheckBox("Draw R Range")); Game.OnTick += Game_OnTick; Game.OnUpdate += OnGameUpdate; Obj_AI_Base.OnBuffGain += OnBuffGain; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Drawing.OnDraw += Drawing_OnDraw; }
private static void Obj_AI_Base_OnProcessSpellCaster(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args) { if (sender.IsAlly) { return; } if (MiscMenu.GetCheckBoxValue("evade")) { //Need to calc Delay/Time for misille to hit ! if (DangerDB.TargetedList.Contains(args.SData.Name)) { if (args.Target.IsMe) { R.Cast(); } } if (DangerDB.CircleSkills.Contains(args.SData.Name)) { if (player.Distance(args.End) < args.SData.LineWidth) { R.Cast(); } } if (DangerDB.Skillshots.Contains(args.SData.Name)) { if (new Geometry.Polygon.Rectangle(args.Start, args.End, args.SData.LineWidth).IsInside(player)) { R.Cast(); } } var target = TargetSelector.GetTarget(Q.Range, DamageType.Physical); if (DangerDB.TargetedList.Contains(args.SData.Name)) { if (args.Target.IsMe) { Q.Cast(target.Position - 30); } } if (DangerDB.CircleSkills.Contains(args.SData.Name)) { if (player.Distance(args.End) < args.SData.LineWidth) { Q.Cast(target.Position - 30); } } if (DangerDB.Skillshots.Contains(args.SData.Name)) { if (new Geometry.Polygon.Rectangle(args.Start, args.End, args.SData.LineWidth).IsInside(player)) { Q.Cast(target.Position - 30); } } } }
static Config() { PandaTeemoReborn = MainMenu.AddMenu("PandaTeemoReborn", "PTR"); PandaTeemoReborn.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way."); PandaTeemoReborn.AddGroupLabel( "Any unauthorized redistribution without credits will result in severe consequences."); PandaTeemoReborn.AddGroupLabel("Thank you for using this addon and have a fun time!"); ComboMenu = PandaTeemoReborn.AddSubMenu("Combo", "Combo"); ComboMenu.AddLabel("Spell Settings"); ComboMenu.Add("useQ", new CheckBox("Use Q in Combo")); ComboMenu.Add("useW", new CheckBox("Use W in Combo")); ComboMenu.Add("useR", new CheckBox("Use R in Combo")); ComboMenu.AddLabel("ManaManager"); ComboMenu.Add("manaQ", new Slider("Mana before casting Q")); ComboMenu.Add("manaW", new Slider("Mana before casting W")); ComboMenu.Add("manaR", new Slider("Mana before casting R")); ComboMenu.AddLabel("Q Settings"); ComboMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180)); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic")); ComboMenu.Add("rPoison", new CheckBox("Cast R only if target isn't Poisoned")); ComboMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); ComboMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); ComboMenu.AddLabel("Misc Settings"); ComboMenu.Add("adc", new CheckBox("Use Q only on ADC", false)); ComboMenu.Add("wRange", new CheckBox("Use W only if enemy is in range")); HarassMenu = PandaTeemoReborn.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Spell Settings"); HarassMenu.Add("useQ", new CheckBox("Use Q in Harass")); HarassMenu.Add("useW", new CheckBox("Use W in Harass", false)); HarassMenu.AddLabel("ManaManager"); HarassMenu.Add("manaQ", new Slider("Mana before casting Q")); HarassMenu.Add("manaW", new Slider("Mana before casting W")); HarassMenu.AddLabel("Q Settings"); HarassMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180)); HarassMenu.AddLabel("Misc Settings"); HarassMenu.Add("adc", new CheckBox("Use Q only on ADC", false)); HarassMenu.Add("wRange", new CheckBox("Use W only if enemy is in range")); LaneClearMenu = PandaTeemoReborn.AddSubMenu("LaneClear", "LaneClear"); LaneClearMenu.AddLabel("Spell Settings"); LaneClearMenu.Add("useQ", new CheckBox("LaneClear with Q")); LaneClearMenu.Add("useR", new CheckBox("LaneClear with R")); LaneClearMenu.AddLabel("ManaManager"); LaneClearMenu.Add("manaQ", new Slider("Q Mana Manager", 50)); LaneClearMenu.Add("manaR", new Slider("R Mana Manager", 50)); LaneClearMenu.AddLabel("Q Settings"); LaneClearMenu.Add("harass", new CheckBox("Use Harass Based Logic")); LaneClearMenu.Add("disableLC", new CheckBox("Disable LaneClear Based Logic")); LaneClearMenu.AddLabel("R Settings"); LaneClearMenu.Add("rKillable", new CheckBox("Only cast R if minion(s) are killable")); LaneClearMenu.Add("rPoison", new CheckBox("Cast R only if minion isn't Poisoned")); LaneClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); LaneClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); LaneClearMenu.Add("minionR", new Slider("Minions before casting R: {0}", 3, 1, 4)); JungleClearMenu = PandaTeemoReborn.AddSubMenu("JungleClear", "JungleClear"); JungleClearMenu.AddGroupLabel("Spell Settings"); JungleClearMenu.Add("useQ", new CheckBox("JungleClear with Q")); JungleClearMenu.Add("useR", new CheckBox("JungleClear with R")); JungleClearMenu.AddLabel("ManaManager"); JungleClearMenu.Add("manaQ", new Slider("Q Mana Manager", 25)); JungleClearMenu.Add("manaR", new Slider("R Mana Manager", 25)); JungleClearMenu.AddLabel("R Settings"); JungleClearMenu.Add("rKillable", new CheckBox("Only cast R if mob(s) are killable", false)); JungleClearMenu.Add("rPoison", new CheckBox("Cast R only if mob isn't Poisoned")); JungleClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); JungleClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); JungleClearMenu.Add("mobR", new Slider("Mobs before casting R: {0}", 1, 1, 4)); JungleClearMenu.AddLabel("Misc Settings"); JungleClearMenu.Add("bMob", new CheckBox("Prevent Spell Usage on Small Mobs")); KillStealMenu = PandaTeemoReborn.AddSubMenu("Kill Steal", "Kill Steal"); KillStealMenu.AddGroupLabel("Spell Settings"); KillStealMenu.Add("useQ", new CheckBox("Kill Steal with Q")); KillStealMenu.Add("useR", new CheckBox("Kill Steal with R", false)); KillStealMenu.AddLabel("ManaManager"); KillStealMenu.Add("manaQ", new Slider("Q Mana Manager", 25)); KillStealMenu.Add("manaR", new Slider("R Mana Manager", 25)); KillStealMenu.AddLabel("R Settings"); KillStealMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); KillStealMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic")); FleeMenu = PandaTeemoReborn.AddSubMenu("Flee Menu", "Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("useW", new CheckBox("Flee with W")); FleeMenu.Add("useR", new CheckBox("Flee with R")); FleeMenu.AddLabel("R Settings"); FleeMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); FleeMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); AutoShroomMenu = PandaTeemoReborn.AddSubMenu("Auto Shroom", "Auto Shroom"); AutoShroomMenu.AddGroupLabel("Auto Shroom Settings"); AutoShroomMenu.Add("useR", new CheckBox("AutoShroom with R")); AutoShroomMenu.Add("manaR", new Slider("R Mana Manager", 25)); AutoShroomMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); AutoShroomMenu.Add("enableShroom", new CheckBox("Load AutoShroom (Requires F5)")); AutoShroomMenu.Add("enableDefaultLocations", new CheckBox("Use Default Locations (Requires F5)")); AutoShroomMenu.AddLabel("Debug Mode"); var enable = AutoShroomMenu.Add("enableDebug", new CheckBox("Enable Debug Mode", false)); enable.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { Chat.Print("PandaTeemo | Debug Mode Disabled", System.Drawing.Color.LawnGreen); } else { Chat.Print("PandaTeemo | Debug Mode Enabled", System.Drawing.Color.Red); } }; var save = AutoShroomMenu.Add("saveButton", new KeyBind("Save Configuration", false, KeyBind.BindTypes.HoldActive, 'K')); save.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { save.CurrentValue = false; AutoShroom.SavePositions(); } }; AutoShroomMenu.AddLabel("Shroom Location Adder"); AutoShroomMenu.Add("posMode", new ComboBox("Position Mode", 0, "Save Mouse", "Save Player Position")); var add = AutoShroomMenu.Add("newposButton", new KeyBind("Save Position", false, KeyBind.BindTypes.HoldActive, 'L')); add.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { add.CurrentValue = false; Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition != Vector3.Zero && !AutoShroom.ShroomPosition.Contains(newPosition)) { AutoShroom.AddShroomLocation(newPosition); AutoShroom.SavePositions(); } } }; var remove = AutoShroomMenu.Add("delposButton", new KeyBind("Delete Position", false, KeyBind.BindTypes.HoldActive, 'U')); remove.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { remove.CurrentValue = false; } Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition == Vector3.Zero) { return; } var nearbyShrooms = AutoShroom.PlayerAssignedShroomPosition.Where(pos => pos.IsInRange(newPosition, SpellManager.R.Radius)).ToList(); if (!nearbyShrooms.Any()) { return; } AutoShroom.RemoveShroomLocations(nearbyShrooms); AutoShroom.SavePositions(); }; DrawingMenu = PandaTeemoReborn.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Settings"); DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawingMenu.Add("drawR", new CheckBox("Draw R Range")); DrawingMenu.Add("drawautoR", new CheckBox("Draw Auto Shroom Positions")); DrawingMenu.Add("drawdoubleR", new CheckBox("Draw Double Shroom Prediction", false)); MiscMenu = PandaTeemoReborn.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Spell Settings"); MiscMenu.Add("autoQ", new CheckBox("Automatic Q", false)); MiscMenu.Add("autoW", new CheckBox("Automatic W", false)); MiscMenu.Add("intq", new CheckBox("Interrupt with Q")); MiscMenu.Add("gapR", new CheckBox("Gapcloser with R")); }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Olaf") { return; } Chat.Print("Perfect Olaf Reloaded"); SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null; if (smite != null) { Smite = new Spell.Targeted(smite.Slot, 500); } Bootstrap.Init(null); Healthpot = new Item(2003, 0); Manapot = new Item(2004, 0); RefillablePotion = new Item(2031, 0); HuntersPotion = new Item(2032, 0); CorruptionPotion = new Item(2033, 0); uint level = (uint)Player.Instance.Level; Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); Menu = MainMenu.AddMenu("Perfect Olaf", "perfectolaf"); ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings"); ComboMenu.AddLabel("Combo Settings"); ComboMenu.Add("QCombo", new CheckBox("Use Q")); ComboMenu.Add("WCombo", new CheckBox("Use W")); ComboMenu.Add("ECombo", new CheckBox("Use E")); ComboMenu.Add("RCombo", new CheckBox("Use R")); ComboMenu.Add("useTiamat", new CheckBox("Use Items")); HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings"); HarassMenu.AddLabel("Harass Settings"); HarassMenu.Add("QHarass", new CheckBox("Use Q")); HarassMenu.Add("WHarass", new CheckBox("Use W")); HarassMenu.Add("EHarass", new CheckBox("Use E")); FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings"); FarmingMenu.AddLabel("Lane Clear"); FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear")); FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear")); FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear")); FarmingMenu.Add("ElaneclearHP", new Slider("HP < %", 10, 0, 100)); FarmingMenu.AddLabel("Jungle Clear"); FarmingMenu.Add("Qjungle", new CheckBox("Use Q in Jungle")); FarmingMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("Wjungle", new CheckBox("Use W in Jungle")); FarmingMenu.Add("WjungleMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("Ejungle", new CheckBox("Use E in Jungle")); FarmingMenu.Add("EjungleHP", new Slider("HP < %", 25, 0, 100)); FarmingMenu.AddLabel("Last Hit Settings"); FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit")); FarmingMenu.Add("Elasthit", new CheckBox("Use E LastHit")); FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100)); SetSmiteSlot(); if (SmiteSlot != SpellSlot.Unknown) { SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage"); SmiteMenu.AddLabel("Smite Usage"); SmiteMenu.Add("Use Smite?", new CheckBox("Use Smite")); SmiteMenu.Add("SmiteEnemy", new CheckBox("Use Smite Combo for Enemy!")); SmiteMenu.Add("Red?", new CheckBox("Red")); SmiteMenu.Add("Blue?", new CheckBox("Blue")); SmiteMenu.Add("Dragon?", new CheckBox("Dragon")); SmiteMenu.Add("Baron?", new CheckBox("Baron")); } MiscMenu = Menu.AddSubMenu("More Settings", "Misc"); MiscMenu.AddLabel("Auto"); MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite")); MiscMenu.Add("autoQ", new CheckBox("Use Auto Q to Flee/Escape")); MiscMenu.Add("autoR", new CheckBox("Use Auto R in Dangerous Spell", false)); MiscMenu.Add("autoEenemyHP", new Slider("Enemy HP < %", 45, 0, 100)); MiscMenu.AddSeparator(); MiscMenu.AddLabel("Items"); MiscMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings"); MiscMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100)); MiscMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100)); MiscMenu.AddLabel("KillSteal"); MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal")); MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal")); MiscMenu.AddLabel("Activator"); MiscMenu.Add("useHP", new CheckBox("Use Health Potion")); MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100)); MiscMenu.Add("useMana", new CheckBox("Use Mana Potion")); MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100)); MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions")); MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 45, 0, 100)); MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 45, 0, 100)); DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings"); DrawMenu.Add("drawAA", new CheckBox("Draw AA Range")); DrawMenu.Add("drawQ", new CheckBox("Draw Q")); DrawMenu.Add("drawQpos", new CheckBox("Draw Q Position")); DrawMenu.Add("drawE", new CheckBox("Draw E")); UpdateMenu = Menu.AddSubMenu("Last Update Logs", "Updates"); UpdateMenu.AddLabel("V0.1.7.0"); UpdateMenu.AddLabel("-Q Prediction UPDATE! Please Change Prediction Settings"); UpdateMenu.AddLabel("Prediction"); UpdateMenu.AddLabel(" Algorithm"); UpdateMenu.AddLabel(" Hitchance = 4"); UpdateMenu.AddLabel(" Collision"); UpdateMenu.AddLabel(" Extra Hitbox Radius = 40"); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Chat.Print("Perrrrrrrrrfect Addon", System.Drawing.Color.Red); }
private static void OnLoad(EventArgs args) { if (player.ChampionName != "AurelionSol") { return; } Q = new Spell.Skillshot(SpellSlot.Q, (uint)650f, SkillShotType.Linear, 250, 850, 180); W = new Spell.Active(SpellSlot.W, 725); R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 1750, 180); menuIni = MainMenu.AddMenu("AurelionSol", "AurelionSol"); menuIni.AddGroupLabel("Welcome to the Worst AurelionSol addon!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("Clear", new CheckBox("Use Lane Clear?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("Q2", new CheckBox("Follow Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("W2", new CheckBox("Use W2")); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("Rhit", new Slider("Use R Hit", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("W", new CheckBox("Use W", false)); HarassMenu.Add("W2", new CheckBox("Use W2", false)); HarassMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("Q", new CheckBox("Use Q")); LaneMenu.Add("W", new CheckBox("Use W", false)); LaneMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gapcloserQ", new CheckBox("Anti-GapCloser (Q)")); MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser (R)")); MiscMenu.Add("KillStealQ", new CheckBox("KillSteal (Q)")); MiscMenu.Add("KillStealR", new CheckBox("KillSteal (R)")); MiscMenu.Add("AQ", new Slider("Auto Trigger Q On hit (Size inc)", 1, 1, 5)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Draw Q")); DrawMenu.Add("W", new CheckBox("Draw W")); DrawMenu.Add("E", new CheckBox("Draw E")); DrawMenu.Add("R", new CheckBox("Draw R")); DrawMenu.Add("QS", new CheckBox("Draw Q Size")); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGap; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; }
public static void LoadMenu() { Bootstrap.Init(null); Menu = MainMenu.AddMenu("Lazy Illaoi", "lazy illaoi"); Menu.AddGroupLabel("Lazy Illaoi"); Menu.AddLabel("by DamnedNooB"); Menu.AddLabel("Ceviri Tradana"); Menu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _____ _ __ __ * / ____| | | | \/ | * | | ___ _ __ ___ | |__ ___ | \ / | ___ _ __ _ _ * | | / _ \| '_ ` _ \| '_ \ / _ \ | |\/| |/ _ \ '_ \| | | | * | |___| (_) | | | | | | |_) | (_) | | | | | __/ | | | |_| | * \_____\___/|_| |_| |_|_.__/ \___/ |_| |_|\___|_| |_|\__,_| * * */ ComboMenu = Menu.AddSubMenu("Kombo", "Combo"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.AddLabel("Q - DOKUNAÇ DARBESİ"); ComboMenu.Add("useQ", new CheckBox("Q Mantıklı Kullan")); ComboMenu.Add("useEQ", new CheckBox("Mümkünse İlk E Kullan")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("W - SİLLE TOKAT"); ComboMenu.Add("useW", new CheckBox("W Mantıklı Kullan")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("E - RUH SINAVI"); ComboMenu.Add("useE", new CheckBox("E Mantıklı Kullan")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("R - İLAHİ DERS"); ComboMenu.Add("useR", new CheckBox("R Mantıklı Kullan")); ComboMenu.Add("useR#", new Slider("Eğer Düşman Menzildeyse (veya 1v1 hayaletse)", 2, 0, 5)); ComboMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _ _ __ __ * | | | | | \/ | * | |__| | __ _ _ __ __ _ ___ ___ | \ / | ___ _ __ _ _ * | __ |/ _` | '__/ _` / __/ __| | |\/| |/ _ \ '_ \| | | | * | | | | (_| | | | (_| \__ \__ \ | | | | __/ | | | |_| | * |_| |_|\__,_|_| \__,_|___/___/ |_| |_|\___|_| |_|\__,_| * * */ HarassMenu = Menu.AddSubMenu("Dürtme", "Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.AddLabel("Q - DOKUNAÇ DARBESİ"); HarassMenu.Add("useQ", new CheckBox("Q mantıklı Kullan")); HarassMenu.Add("qMana", new Slider("En az mana: ", 20, 1)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("W - SİLLE TOKAT"); HarassMenu.Add("useW", new CheckBox("W mantıklı Kullan")); HarassMenu.Add("wMana", new Slider("En az mana: ", 20, 1)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("E - RUH SINAVI"); HarassMenu.Add("useE", new CheckBox("E mantıklı Kullan")); HarassMenu.Add("eMana", new Slider("En az mana: ", 20, 1)); HarassMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * ______ __ __ * | ____| | \/ | * | |__ __ _ _ __ _ __ ___ | \ / | ___ _ __ _ _ * | __/ _` | '__| '_ ` _ \ | |\/| |/ _ \ '_ \| | | | * | | | (_| | | | | | | | | | | | | __/ | | | |_| | * |_| \__,_|_| |_| |_| |_| |_| |_|\___|_| |_|\__,_| * * */ FarmMenu = Menu.AddSubMenu("Farm", "Farm"); FarmMenu.AddGroupLabel("Farm Ayarları"); FarmMenu.AddLabel("Q - DOKUNAÇ DARBESİ"); FarmMenu.Add("useQlane", new CheckBox("LaneTemizlerken Kullan")); FarmMenu.Add("qManaLane", new Slider("LaneTemizleme için en az mana: ", 20, 1)); FarmMenu.Add("qMinionsLane", new Slider("LaneTemizleme için en az minyon: ", 3, 1, 6)); FarmMenu.AddSeparator(); FarmMenu.Add("useQjungle", new CheckBox("Orman Temizlemede Kullan")); FarmMenu.AddSeparator(); FarmMenu.AddLabel("W - SİLLE TOKAT"); FarmMenu.Add("useWlane", new CheckBox("LaneTemizlemede Kullan")); FarmMenu.Add("wManaLane", new Slider("LaneTemizleme için en az mana : ", 20, 1)); FarmMenu.AddSeparator(); FarmMenu.Add("useWjungle", new CheckBox("Orman Temizleme için Kullan")); FarmMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * __ __ _ __ __ * | \/ (_) | \/ | * | \ / |_ ___ ___ | \ / | ___ _ __ _ _ * | |\/| | / __|/ __| | |\/| |/ _ \ '_ \| | | | * | | | | \__ \ (__ | | | | __/ | | | |_| | * |_| |_|_|___/\___| |_| |_|\___|_| |_|\__,_| * * */ MiscMenu = Menu.AddSubMenu("Ek", "Misc"); MiscMenu.AddGroupLabel("Ek Ayarlar"); MiscMenu.AddLabel("Anti Gapcloser Ayarları"); MiscMenu.Add("gapcloserQ", new CheckBox("Use Q - DOKUNAÇ DARBESİ ni gapcloser için kullan")); MiscMenu.Add("gapcloserW", new CheckBox("Use W - SİLLE TOKAT 'ı gapcloser için kullan")); MiscMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _____ __ __ * | __ \ | \/ | * | | | |_ __ __ ___ __ | \ / | ___ _ __ _ _ * | | | | '__/ _` \ \ /\ / / | |\/| |/ _ \ '_ \| | | | * | |__| | | | (_| |\ V V / | | | | __/ | | | |_| | * |_____/|_| \__,_| \_/\_/ |_| |_|\___|_| |_|\__,_| * * */ DrawMenu = Menu.AddSubMenu("Göster", "Draw"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.AddLabel("Spell Ranges"); DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili")); DrawMenu.Add("drawW", new CheckBox("Göster W Menzili")); DrawMenu.Add("drawE", new CheckBox("Göster E Menzili")); DrawMenu.Add("drawR", new CheckBox("Göster R Menzili")); DrawMenu.Add("drawT", new CheckBox("Göster Dokunaç Menzili")); //------------------------------------------------------------------------------------------------------------------- /* * ______ _ * | ____| | | * | |____ _____ _ __ | |_ ___ * | __\ \ / / _ \ '_ \| __/ __| * | |___\ V / __/ | | | |_\__ \ * |______\_/ \___|_| |_|\__|___/ * * */ Game.OnUpdate += Events.OnUpdate; Orbwalker.OnPostAttack += Events.OnPostAttack; //Orbwalker.OnPreAttack += Events.OnPreAttack; Obj_AI_Base.OnSpellCast += Events.OnSpellCast; Gapcloser.OnGapcloser += Events.OnGapCloser; GameObject.OnCreate += Events.OnCreateObj; GameObject.OnDelete += Events.OnDeleteObj; Drawing.OnDraw += Events.OnDraw; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Ashe addon"); ComboMenu.AddLabel("Ranger's Focus (Q) settings :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Volley (W) settings :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Hawkshot (E) settings :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Enchanted Crystal Arrow (R) settings :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Ashe.ComboMenu.RMinimumRange", new Slider("R minimum range to cast", 350, 100, 700)); ComboMenu.Add("Plugins.Ashe.ComboMenu.RMaximumRange", new Slider("R maximum range to cast", 2500, 700, 3000)); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Ashe addon"); HarassMenu.AddLabel("Volley (W) settings :"); HarassMenu.Add("Plugins.Ashe.HarassMenu.UseW", new CheckBox("Use W")); HarassMenu.Add("Plugins.Ashe.HarassMenu.MinManaForW", new Slider("Min mana percentage ({0}%) to use W", 60, 1)); HarassMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Ashe addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Ranger's Focus (Q) settings :"); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Volley (W) settings :"); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Ashe addon"); MiscMenu.Add("Plugins.Ashe.MiscMenu.MaxInterrupterRange", new Slider("Max range to cast R against interruptible spell", 1500, 0, 2500)); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawing settings for Ashe addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawW", new CheckBox("Draw W range")); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawWColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawRColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
public static void Loading_OnLoadingComplete(EventArgs args) { if (EloBuddy.Player.Instance.Hero != Champion.Varus) { return; } Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250) { AllowedCollisionCount = int.MaxValue }; R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120) { AllowedCollisionCount = int.MaxValue }; var slot = Player.GetSpellSlotFromName("summonerheal"); if (slot != SpellSlot.Unknown) { Heal = new Spell.Active(slot, 600); } Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot"); HealthPotion = new Item(2003, 0); TotalBiscuit = new Item(2010, 0); CorruptingPotion = new Item(2033, 0); RefillablePotion = new Item(2031, 0); HuntersPotion = new Item(2032, 0); Chat.Print( "<font color=\"#580dd9\" >MeLoDag Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>"); Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll"); Menu.AddLabel(" Varus The Troll " + Version); Menu.AddLabel(" Made by MeLoDag"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Q Ayarları"); ComboMenu.Add("useQComboAlways", new CheckBox("Her zaman Q kullan")); ComboMenu.Add("useQCombo", new CheckBox("Q için yük say", false)); ComboMenu.Add("StackCount", new Slider("Q yükü >= ", 3, 1, 3)); ComboMenu.AddLabel("E Ayarları"); ComboMenu.Add("useEComboAlways", new CheckBox("Use E")); ComboMenu.AddLabel("R Ayarları"); ComboMenu.Add("useRCombo", new CheckBox("Kullan R")); ComboMenu.Add("Rcount", new Slider("R için gereken düşman >= ", 1, 1, 5)); ComboMenu.Add("UseRcomboHP", new CheckBox("R yi düşmanın canına göre kullan")); ComboMenu.Add("RHP", new Slider("R kullanmak için gereken düşman canı >= ", 50)); ComboMenu.AddSeparator(); ComboMenu.AddGroupLabel("Kombo özellikleri:"); ComboMenu.Add("useWComboFocus", new CheckBox("W hedefe odakla")); ComboMenu.Add("ForceR", new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0])); ComboMenu.Add("combo.ignite", new CheckBox("Tutuştur kullan hedef ölecekse")); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.Add("useQHarass", new CheckBox("Kullan Q")); HarassMenu.Add("useEHarass", new CheckBox("Kullan E")); HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70)); HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70)); JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings"); JungleLaneMenu.AddLabel("Lane Temizleme"); JungleLaneMenu.Add("useQFarm", new CheckBox("Kullan Q")); JungleLaneMenu.Add("useEFarm", new CheckBox("Kullan E")); JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70)); JungleLaneMenu.AddSeparator(); JungleLaneMenu.AddLabel("Orman Temizleme"); JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q")); JungleLaneMenu.Add("useEJungle", new CheckBox("Kullan E")); JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70)); MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings"); MiscMenu.AddGroupLabel("Gap Close/Interrupt Ayarları"); MiscMenu.Add("gapcloser", new CheckBox("Otomatik Q Gapcloser")); MiscMenu.Add("interrupter", new CheckBox("Otomatik R Interrupter")); MiscMenu.AddLabel("Otomatik büyü kullanma hedefe(CC)"); MiscMenu.Add("CCQ", new CheckBox("Otomatik hedefe Q (CC)")); MiscMenu.AddLabel("Killçalma ayarları"); MiscMenu.Add("UseQks", new CheckBox("Q ile çal")); MiscMenu.Add("UseRKs", new CheckBox("R ile çal")); AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal"); AutoPotHealMenu.AddGroupLabel("Otomatik Pot Kullanımı"); AutoPotHealMenu.Add("potion", new CheckBox("Kullan İksir")); AutoPotHealMenu.Add("potionminHP", new Slider("İksir için Canım şundan az", 40)); AutoPotHealMenu.Add("potionMinMP", new Slider("İksir için manam şundan az", 20)); AutoPotHealMenu.AddGroupLabel("Otomatik iyileştirme kullan"); AutoPotHealMenu.Add("UseHeal", new CheckBox("İyileştirme Kullan")); AutoPotHealMenu.Add("useHealHP", new Slider("İyileştirme için benim canım", 20)); ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings"); ItemMenu.Add("useBOTRK", new CheckBox("Kullan Mahvolmuş kılıcı")); ItemMenu.Add("useBotrkMyHP", new Slider("Canım < ", 60)); ItemMenu.Add("useBotrkEnemyHP", new Slider("Düşmanın canı < ", 60)); ItemMenu.Add("useYoumu", new CheckBox("Kullan Youmu")); ItemMenu.AddSeparator(); ItemMenu.Add("useQSS", new CheckBox("Kullan QSS")); ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ItemMenu.Add("Stun", new CheckBox("Sabitse", true)); ItemMenu.Add("Blind", new CheckBox("Körse", true)); ItemMenu.Add("Charm", new CheckBox("Çekiliyorsa(ahri)", true)); ItemMenu.Add("Suppression", new CheckBox("Durmuşsa", true)); ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true)); ItemMenu.Add("Fear", new CheckBox("Korkmuşsa", true)); ItemMenu.Add("Taunt", new CheckBox("Alay ediliyorsa", true)); ItemMenu.Add("Silence", new CheckBox("Susturulmuşsa", false)); ItemMenu.Add("QssDelay", new Slider("QSS gecikmesi(ms)", 250, 0, 1000)); SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger"); SkinMenu.Add("checkSkin", new CheckBox("Kostüm hilesi kullan", false)); SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5)); DrawMenu = Menu.AddSubMenu("Drawing Settings"); DrawMenu.Add("drawRange", new CheckBox("Göster Q Menzili")); DrawMenu.Add("drawE", new CheckBox("Göster E Menzili")); DrawMenu.Add("drawR", new CheckBox("Göster R Menzili")); DrawMenu.AddLabel("Hasar Tespitçisi"); DrawMenu.Add("healthbar", new CheckBox("Can barı gösterimi")); DrawMenu.Add("percent", new CheckBox("Hasarı yüzde olarak göster")); Game.OnTick += Game_OnTick; Game.OnUpdate += OnGameUpdate; Obj_AI_Base.OnBuffGain += OnBuffGain; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Drawing.OnDraw += Drawing_OnDraw; DamageIndicator.Initialize(ComboDamage); }
public Jhin() { foreach (var enemy in EntityManager.Heroes.Enemies) { TextsInScreen.Add(enemy.NetworkId, new Text(enemy.ChampionName + " 可击杀", new Font("Arial", 30F, FontStyle.Bold)) { Color = Color.Red }); TextsInHeroPosition.Add(enemy.NetworkId, new Text("R 可击杀", new Font("Arial", 23F, FontStyle.Bold)) { Color = Color.Red }); LastPredictedPositionText.Add(enemy.NetworkId, new Text(enemy.ChampionName + " 最后预知位置", new Font("Arial", 23F, FontStyle.Bold)) { Color = Color.Red }); } Q = new SpellBase(SpellSlot.Q, SpellType.Targeted, 600) { Width = 450, Speed = 1800, CastDelay = 250, }; W = new SpellBase(SpellSlot.W, SpellType.Linear, 2500) { Width = 40, CastDelay = 750, AllowedCollisionCount = -1, }; E = new SpellBase(SpellSlot.E, SpellType.Circular, 750) { Width = 135, CastDelay = 250, Speed = 1600, }; R = new SpellBase(SpellSlot.R, SpellType.Linear, 3500) { Width = 80, CastDelay = 200, Speed = 5000, AllowedCollisionCount = -1, }; Evader.OnEvader += delegate { if (EvaderMenu.CheckBox("BlockW")) { LastBlockTick = Core.GameTickCount; } }; Spellbook.OnCastSpell += delegate(Spellbook sender, SpellbookCastSpellEventArgs args) { if (sender.Owner.IsMe) { if (args.Slot == SpellSlot.W) { args.Process = Core.GameTickCount - LastBlockTick > 750; } } }; Obj_AI_Base.OnProcessSpellCast += delegate(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args) { if (sender.IsMe) { switch (args.Slot) { case SpellSlot.W: W.LastCastTime = Core.GameTickCount; W.LastEndPosition = args.End; break; case SpellSlot.R: if (args.SData.Name == "JhinR") { IsCastingR = true; LastRCone = new Geometry.Polygon.Sector(sender.Position, args.End, (float)(60f * Math.PI / 180f), R.Range); Stacks = 4; } else if (args.SData.Name == "JhinRShot") { R.LastCastTime = Core.GameTickCount; TapKeyPressed = false; Stacks--; } break; } } }; Gapcloser.OnGapcloser += delegate(AIHeroClient sender, Gapcloser.GapcloserEventArgs args) { if (sender.IsValidTarget() && sender.IsEnemy) { if (MyHero.Distance(args.Start, true) > MyHero.Distance(args.End)) { if (AutomaticMenu.CheckBox("E.Gapcloser") && MyHero.IsInRange(args.End, E.Range)) { E.Cast(args.End); } if (MyHero.Distance(args.End, true) < (sender.GetAutoAttackRange(MyHero) * 1.5f).Pow()) { WShouldWaitTick = Core.GameTickCount; } } } }; MenuManager.AddSubMenu("Keys"); { KeysMenu.AddValue("TapKey", new KeyBind("R 半自动发射", false, KeyBind.BindTypes.HoldActive, 32)).OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (args.NewValue && R.IsLearned && IsCastingR) { TapKeyPressed = true; } }; ToggleManager.RegisterToggle( KeysMenu.AddValue("AutoW", new KeyBind("自动W开关", true, KeyBind.BindTypes.PressToggle, 'K')), delegate { foreach (var enemy in UnitManager.ValidEnemyHeroes.Where(TargetHaveEBuff)) { if (MyHero.ManaPercent >= MiscMenu.Slider("W.ManaPercent")) { if (MiscMenu.CheckBox("自动W." + enemy.ChampionName)) { CastW(enemy); } } } }); } W.AddConfigurableHitChancePercent(); R.AddConfigurableHitChancePercent(); MenuManager.AddSubMenu("Combo"); { ComboMenu.AddValue("Q", new CheckBox("Use Q")); ComboMenu.AddValue("E", new CheckBox("Use E")); ComboMenu.AddValue("Items", new CheckBox("Use offensive items")); ComboMenu.AddStringList("W", "Use W", new[] { "Never", "Only buffed enemies", "Always" }, 2); } MenuManager.AddSubMenu("Ultimate"); { UltimateMenu.AddStringList("Mode", "R 瞄准模式", new[] { "不使用", "使用扳机键", "自动" }, 2); UltimateMenu.AddValue("OnlyKillable", new CheckBox("只攻击可击杀目标")); UltimateMenu.AddValue("Delay", new Slider("R之间的延迟(毫秒)", 0, 0, 1500)); UltimateMenu.AddValue("NearMouse", new GroupLabel("鼠标附近设置")); UltimateMenu.AddValue("NearMouse.Enabled", new CheckBox("只选择鼠标附近目标", false)); UltimateMenu.AddValue("NearMouse.Radius", new Slider("靠近鼠标半径", 500, 100, 1500)); UltimateMenu.AddValue("NearMouse.Draw", new CheckBox("显示鼠标半径")); } MenuManager.AddSubMenu("Harass"); { HarassMenu.AddValue("Q", new CheckBox("Use Q")); HarassMenu.AddValue("W", new CheckBox("Use W", false)); HarassMenu.AddValue("E", new CheckBox("Use E", false)); HarassMenu.AddValue("ManaPercent", new Slider("Minimum Mana Percent", 20)); } MenuManager.AddSubMenu("Clear"); { ClearMenu.AddValue("LaneClear", new GroupLabel("LaneClear")); { ClearMenu.AddValue("LaneClear.Q", new Slider("Use Q if hit is greater than {0}", 3, 0, 10)); ClearMenu.AddValue("LaneClear.W", new Slider("Use W if hit is greater than {0}", 5, 0, 10)); ClearMenu.AddValue("LaneClear.E", new Slider("Use E if hit is greater than {0}", 4, 0, 10)); ClearMenu.AddValue("LaneClear.ManaPercent", new Slider("Minimum Mana Percent", 50)); } ClearMenu.AddValue("LastHit", new GroupLabel("LastHit")); { ClearMenu.AddStringList("LastHit.Q", "Use Q", new[] { "Never", "Smartly", "Always" }, 1); ClearMenu.AddValue("LastHit.ManaPercent", new Slider("Minimum Mana Percent", 50)); } ClearMenu.AddValue("JungleClear", new GroupLabel("JungleClear")); { ClearMenu.AddValue("JungleClear.Q", new CheckBox("Use Q")); ClearMenu.AddValue("JungleClear.W", new CheckBox("Use W")); ClearMenu.AddValue("JungleClear.E", new CheckBox("Use E")); ClearMenu.AddValue("JungleClear.ManaPercent", new Slider("Minimum Mana Percent", 20)); } } MenuManager.AddKillStealMenu(); { KillStealMenu.AddValue("Q", new CheckBox("Use Q")); KillStealMenu.AddValue("W", new CheckBox("Use W")); KillStealMenu.AddValue("E", new CheckBox("Use E")); KillStealMenu.AddValue("R", new CheckBox("Use R")); } MenuManager.AddSubMenu("Automatic"); { AutomaticMenu.AddValue("E.Gapcloser", new CheckBox("Use E on hero gapclosing / dashing")); AutomaticMenu.AddValue("Immobile", new CheckBox("对无法移动目标使用E")); } MenuManager.AddSubMenu("Evader"); { EvaderMenu.AddValue("BlockW", new CheckBox("保留W进行躲避")); } Evader.Initialize(); Evader.AddCrowdControlSpells(); Evader.AddDangerousSpells(); MenuManager.AddSubMenu("Misc"); { MiscMenu.AddValue("W.ManaPercent", new Slider("最低蓝量百分比使用自动W", 10)); MiscMenu.AddValue("Champions", new GroupLabel("自动使用W英雄")); foreach (var enemy in EntityManager.Heroes.Enemies) { MiscMenu.AddValue("自动W." + enemy.ChampionName, new CheckBox(enemy.ChampionName)); } } MenuManager.AddDrawingsMenu(); { Q.AddDrawings(false); W.AddDrawings(); E.AddDrawings(false); R.AddDrawings(); DrawingsMenu.AddValue("Toggles", new CheckBox("Draw toggles status")); DrawingsMenu.AddValue("R.Killable", new CheckBox("显示可被R击杀的目标")); DrawingsMenu.AddValue("R.LastPredictedPosition", new CheckBox("显示预判敌人最后出现位置")); } }
public override void InitializeMenu() { AddMultipleCheckBox(Q, new List <MenuCheckBox> { new MenuCheckBox(ComboMenu), new MenuCheckBox(HarassMenu, false), new MenuCheckBox(LaneClearMenu, false), new MenuCheckBox(JungleClearMenu), new MenuCheckBox(DrawMenu) }); AddMultipleCheckBox(W, new List <MenuCheckBox> { new MenuCheckBox(ComboMenu), new MenuCheckBox(HarassMenu), new MenuCheckBox(AutoHarassMenu, false), new MenuCheckBox(LaneClearMenu), new MenuCheckBox(JungleClearMenu), new MenuCheckBox(LastHitMenu), new MenuCheckBox(FleeMenu), new MenuCheckBox(KillStealMenu), new MenuCheckBox(DrawMenu) }); AddMultipleCheckBox(E, new List <MenuCheckBox> { new MenuCheckBox(DrawMenu, false) }); AddMultipleCheckBox(R, new List <MenuCheckBox> { new MenuCheckBox(ComboMenu), new MenuCheckBox(FleeMenu, false), new MenuCheckBox(KillStealMenu), new MenuCheckBox(DrawMenu, false) }); ComboMenu.CreateSlider("Use R if the target leave {1} range", 48, 400, 100, 2000); ComboMenu.AddSeparator(); ComboMenu.AddGroupLabel("Mode Switcher"); ComboMenu.AddLabel("Burst Mode = R -> W -> Q"); ComboMenu.AddLabel("Normal Mode = Q -> W -> (??) R"); ComboMenu.CreateKeybind("Change mode by key", 49, 'T').OnValueChange += ModeSwitch; LaneClearMenu.CreateCheckBox("Prioritize Harass over Mode", 50, false); LastHitMenu.CreateCheckBox("Prioritize Harass over Mode", 51, false); FleeMenu.CreateSlider("Use R if enemy is near {1} range", 52, 1200, 100, 2000); MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("AntiGapcloser - Interrupter settings:"); MiscMenu.CreateCheckBox("Use AntiGapcloser", MenuIds.MiscUseGapcloser); MiscMenu.CreateCheckBox("Use W", 53); MiscMenu.CreateCheckBox("Use R", 54); MiscMenu.AddSeparator(); MiscMenu.CreateCheckBox("Use Interrupter", MenuIds.MiscUseInterrupt); MiscMenu.CreateCheckBox("Use R", 55); MiscMenu.AddSeparator(); MiscMenu.CreateCheckBox("AutoSpells on CC", 56); MiscMenu.CreateCheckBox("AutoSpells on Events", 57); MiscMenu.CreateCheckBox("Use Auto W", 58); MiscMenu.CreateCheckBox("Use W on Stunned Enemies", 59); MiscMenu.CreateCheckBox("Use W on Snared Enemies", 60); MiscMenu.CreateCheckBox("Use W on Feared Enemies", 61); MiscMenu.CreateCheckBox("Use W on Taunted Enemy", 62); MiscMenu.CreateCheckBox("Use W on Suppressed Enemy", 63); MiscMenu.CreateCheckBox("Use W on Charmed Enemies", 64); MiscMenu.CreateCheckBox("Use Auto R", 65); MiscMenu.CreateCheckBox("Use R on Stunned Enemies", 66, false); MiscMenu.CreateCheckBox("Use R on Snared Enemies", 67, false); MiscMenu.CreateCheckBox("Use R on Feared Enemies", 68, false); MiscMenu.CreateCheckBox("Use R on Taunted Enemy", 69, false); MiscMenu.CreateCheckBox("Use R on Suppressed Enemy", 70, false); MiscMenu.CreateCheckBox("Use R on Charmed Enemies", 71, false); }
public static void Execute() { if (player.ChampionName != "AurelionSol") { return; } Q = new Spell.Skillshot(SpellSlot.Q, (uint)650f, SkillShotType.Linear, 250, 850, 180); W = new Spell.Active(SpellSlot.W, 725); R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 1750, 180); menuIni = MainMenu.AddMenu("AurelionSol", "AurelionSol"); menuIni.AddGroupLabel("Hoşgeldin Worst AurelionSol addon!"); menuIni.AddGroupLabel("Genel Ayarlar"); menuIni.Add("Combo", new CheckBox("Kullan Combo?")); menuIni.Add("Harass", new CheckBox("Kullan Harass?")); menuIni.Add("Clear", new CheckBox("Kullan Lane Clear?")); menuIni.Add("Drawings", new CheckBox("Kullan Drawings?")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.Add("Q", new CheckBox("Kullan Q")); ComboMenu.Add("Q2", new CheckBox("Follow Q")); ComboMenu.Add("W", new CheckBox("Kullan W")); ComboMenu.Add("W2", new CheckBox("Kullan W2")); ComboMenu.Add("R", new CheckBox("Kullan R")); ComboMenu.Add("Rhit", new Slider("Kullan R İsabet Sayısı", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("Q", new CheckBox("Kullan Q")); HarassMenu.Add("W", new CheckBox("Kullan W", false)); HarassMenu.Add("W2", new CheckBox("Kullan W2", false)); HarassMenu.Add("Mana", new Slider("Kullanmak için gereken mana %", 30, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Ayarları"); LaneMenu.Add("Q", new CheckBox("Göster Q")); LaneMenu.Add("W", new CheckBox("Göster W", false)); LaneMenu.Add("Mana", new Slider("Kullanmak için gereken mana %", 30, 0, 100)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Ek Ayarlar"); MiscMenu.Add("gapcloserQ", new CheckBox("Anti-GapCloser (Q)")); MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser (R)")); MiscMenu.Add("KillStealQ", new CheckBox("Killçalma (Q)")); MiscMenu.Add("KillStealR", new CheckBox("Killçalma (R)")); MiscMenu.Add("AQ", new Slider("Otomatik Q Tetikleyici kişi sayısı", 1, 1, 5)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.Add("Q", new CheckBox("Göster Q")); DrawMenu.Add("W", new CheckBox("Göster W")); DrawMenu.Add("E", new CheckBox("Göster E")); DrawMenu.Add("R", new CheckBox("Göster R")); DrawMenu.Add("QS", new CheckBox("Göster Q Boyutu")); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGap; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; }
public override void PermaActive() { var ks = R.GetKillableTarget(); if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "W")) { W.TryCast(ks); } if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "R")) { R.TryCast(ks); } var target = GetTarget(W); if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "W") && HarassMenu.GetSliderValue(AutoHarassMenuID + "mana") <= Player.Instance.ManaPercent) { W.TryCast(target); } if (MiscMenu.GetSliderValue(MiscMenuID + "mana") <= Player.Instance.ManaPercent && MiscMenu.GetCheckBoxValue(56)) { if (MiscMenu.GetCheckBoxValue(52)) { if (MiscMenu.GetCheckBoxValue(53) && target.IsStunned) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(54) && target.IsRooted) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(55) && target.IsFeared) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(56) && target.IsTaunted) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(57) && target.IsSuppressCallForHelp) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(58) && target.IsCharmed) { W.TryCast(target); } } if (MiscMenu.GetCheckBoxValue(59)) { if (MiscMenu.GetCheckBoxValue(60) && target.IsStunned) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(61) && target.IsRooted) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(62) && target.IsFeared) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(63) && target.IsTaunted) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(64) && target.IsSuppressCallForHelp) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(65) && target.IsCharmed) { R.TryCast(target); } } } }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Miss Fortune addon"); ComboMenu.AddLabel("Double Up (Q) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Strut (W) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Make It Rain (E) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Bullet Time (R) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.MissFortune.ComboMenu.RWhenXEnemies", new Slider("Use R when can hit {0} or more enemies", 5, 1, 5)); ComboMenu.AddSeparator(2); ComboMenu.Add("Plugins.MissFortune.ComboMenu.RBlockMovement", new CheckBox("Block movement when casting R")); ComboMenu.Add("Plugins.MissFortune.ComboMenu.SemiAutoRKeybind", new KeyBind("Semi-Auto R", false, KeyBind.BindTypes.HoldActive, 'T')); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Miss Fortune addon"); HarassMenu.AddLabel("Double Up (Q) settings :"); HarassMenu.Add("Plugins.MissFortune.HarassMenu.UseQ", new CheckBox("Use Q on killable minion if Q2 will hit champion")); HarassMenu.Add("Plugins.MissFortune.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q on killable minion", 50, 1)); HarassMenu.Add("Plugins.MissFortune.HarassMenu.UseQUnkillable", new CheckBox("Use Q on unkillable minion if Q2 will hit champion")); HarassMenu.Add("Plugins.MissFortune.HarassMenu.MinManaQUnkillable", new Slider("Min mana percentage ({0}%) to use Q on unkillable minion", 75, 1)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Miss Fortune addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Double Up (Q) settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear")); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Strut (W) settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle clear")); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Make It Rain (E) settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Miss Fortune addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.MissFortune.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Double Up (Q) settings :"); MiscMenu.Add("Plugins.MissFortune.MiscMenu.BounceQFromMinions", new CheckBox("Cast Q on killable minions if can hit enemy")); MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassQ", new CheckBox("Auto harass with Q")).OnValueChange += (sender, args) => { AutoHarassItem.Value = args.NewValue; }; MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassQMinMana", new Slider("Min mana percentage ({0}%) for auto harass", 50, 1)); if (EntityManager.Heroes.Enemies.Any()) { MiscMenu.AddLabel("Enable auto harras for : "); EntityManager.Heroes.Enemies.ForEach(x => MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassEnabled." + x.ChampionName, new CheckBox(x.ChampionName == "MonkeyKing" ? "Wukong" : x.ChampionName))); } MiscMenu.AddLabel("Make It Rain (E) settings :"); MiscMenu.Add("Plugins.MissFortune.MiscMenu.EVsGapclosers", new CheckBox("Cast E against gapclosers")); MenuManager.BuildAntiGapcloserMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Miss Fortune addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Double Up (Q) settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawQ", new CheckBox("Draw Q range", false)); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Make It Rain (E) settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Bullet Time (R) settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; AutoHarassItem = MenuManager.PermaShow.AddItem("MissFortune.AutoHarass", new BoolItem("Auto harass with Q", Settings.Misc.AutoHarassQ)); }
private static void Menu() { try { _Menu = MainMenu.AddMenu("机器人", "Blitzcrank"); ComboMenu = _Menu.AddSubMenu("连招", "Combo"); ComboMenu.Add("Blitzcrank_CUse_Q", new CheckBox("使用 Q")); ComboMenu.Add("Blitzcrank_CUse_W", new CheckBox("使用 W")); ComboMenu.Add("Blitzcrank_CUse_E", new CheckBox("使用 E")); ComboMenu.Add("Blitzcrank_CUse_R", new CheckBox("使用 R")); ComboMenu.Add("Blitzcrank_CUse_FlashQ", new KeyBind("闪现 Q (不好用)", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddSeparator(); ComboMenu.AddLabel("1 : 范围外"); ComboMenu.AddLabel("2 : 不可能"); ComboMenu.AddLabel("3 : 低"); ComboMenu.AddLabel("4 : 中"); ComboMenu.AddLabel("5 : 高"); ComboMenu.AddLabel("6 : 非常高"); ComboMenu.Add("Blitzcrank_CUseQ_Hit", new Slider("Q 命中率", 6, 1, 6)); HarassMenu = _Menu.AddSubMenu("骚扰", "Harass"); HarassMenu.Add("Blitzcrank_HUse_Q", new CheckBox("使用 Q")); HarassMenu.Add("Blitzcrank_HUse_W", new CheckBox("使用 W")); HarassMenu.Add("Blitzcrank_HUse_E", new CheckBox("使用 E")); HarassMenu.Add("Blitzcrank_AManarate", new Slider("蓝量 %", 20)); KSMenu = _Menu.AddSubMenu("抢头", "KillSteal"); KSMenu.Add("Blitzcran_KUse_Q", new CheckBox("使用 Q")); KSMenu.Add("Blitzcran_KUse_R", new CheckBox("使用 R")); MiscMenu = _Menu.AddSubMenu("杂项", "Misc"); MiscMenu.AddGroupLabel("抓人设置"); foreach (var enemy in ObjectManager.Get <AIHeroClient>()) { if (enemy.Team != Player.Team) { MiscMenu.Add("Blitzcrank_GrabSelect" + enemy.NetworkId, new Slider("抓人模式 (0 : 开启 | 1 : 不抓 | 2 : 自动) " + enemy.ChampionName, 0, 0, 2)); MiscMenu.AddSeparator(); } } MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("技能打断"); MiscMenu.Add("Blitzcrank_InterQ", new CheckBox("使用 Q")); MiscMenu.Add("Blitzcrank_InterE", new CheckBox("使用 E")); MiscMenu.Add("Blitzcrank_InterR", new CheckBox("使用 R")); MiscMenu.AddSeparator(); MiscMenu.Add("Blitzcrank_GrabDash", new CheckBox("抓冲刺的敌人")); DrawMenu = _Menu.AddSubMenu("线圈", "Draw"); DrawMenu.Add("Blitzcrank_Draw_Q", new CheckBox("使用 Q", false)); DrawMenu.Add("Blitzcrank_Draw_R", new CheckBox("使用 R", false)); DrawMenu.Add("Blitzcrank_Indicator", new CheckBox("显示伤害指示器")); } catch (Exception) { if (FreshCommon.NowTime() > ErrorTime) { Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02"); ErrorTime = FreshCommon.TickCount(10000); } } }
static _W() { const SpellSlot N48 = (SpellSlot)48; var q = new Block(SpellSlot.Q); var w = new Block(SpellSlot.W); var e = new Block(SpellSlot.E); var r = new Block(SpellSlot.R); BlockedSpells.Add("Aatrox", new List <Block> { r }); BlockedSpells.Add("Akali", new List <Block> { q, e, r }); BlockedSpells.Add("Alistar", new List <Block> { q, w }); BlockedSpells.Add("Anivia", new List <Block> { e }); BlockedSpells.Add("Annie", new List <Block> { q, w, r }); BlockedSpells.Add("Amumu", new List <Block> { r }); BlockedSpells.Add("Ashe", new List <Block> { w }); BlockedSpells.Add("Azir", new List <Block> { r }); BlockedSpells.Add("Bard", new List <Block> { r }); BlockedSpells.Add("Blitzcrank", new List <Block> { new Block("PowerFistAttack", "Power Fist", true), r }); BlockedSpells.Add("Brand", new List <Block> { e, r }); BlockedSpells.Add("Braum", new List <Block> { new Block("BraumBasicAttackPassiveOverride", "Stun", true) }); BlockedSpells.Add("Caitlyn", new List <Block> { r }); BlockedSpells.Add("Cassiopeia", new List <Block> { r }); BlockedSpells.Add("Chogath", new List <Block> { r }); BlockedSpells.Add("Darius", new List <Block> { q, new Block("DariusNoxianTacticsONHAttack", "Empowered W", true), e, r }); BlockedSpells.Add("Diana", new List <Block> { e, r }); BlockedSpells.Add("Ekko", new List <Block> { new Block("EkkoEAttack", "Empowered E", true), new Block("ekkobasicattackp3", "Third Proc Passive", true) }); BlockedSpells.Add("Elise", new List <Block> { q }); BlockedSpells.Add("Evelynn", new List <Block> { e, r }); BlockedSpells.Add("FiddleSticks", new List <Block> { q, w, e }); BlockedSpells.Add("Fizz", new List <Block> { q, new Block("fizzjumptwo", "Second E") }); BlockedSpells.Add("Gangplank", new List <Block> { q, new Block((SpellSlot)45) { Name = "Barrel Q" } }); BlockedSpells.Add("Garen", new List <Block> { new Block("GarenQAttack", "Empowered Q", true), r }); BlockedSpells.Add("Gnar", new List <Block> { new Block("GnarBasicAttack", "Empowered W", true) { BuffName = "gnarwproc", IsPlayerBuff = true }, r }); BlockedSpells.Add("Gragas", new List <Block> { new Block("DrunkenRage", "Drunken Rage", true), r }); BlockedSpells.Add("Hecarim", new List <Block> { new Block("hecarimrampattack", "Empowered E", true), r }); BlockedSpells.Add("Illaoi", new List <Block> { new Block("illaoiwattack", "Empowered W", true), r }); BlockedSpells.Add("Irelia", new List <Block> { q, e }); BlockedSpells.Add("Janna", new List <Block> { w }); BlockedSpells.Add("JarvanIV", new List <Block> { new Block("JarvanIVMartialCadenceAttack", "Martial Cadence", true), e, r }); BlockedSpells.Add( "Jax", new List <Block> { new Block("JaxBasicAttack", "Empowered", true) { BuffName = "JaxEmpowerTwo", IsSelfBuff = true }, q //new BlockedSpell(SpellSlot.E) { BuffName = "JaxCounterStrike", IsSelfBuff = true } }); BlockedSpells.Add("Jayce", new List <Block> { new Block("JayceToTheSkies", "Hammer Q"), new Block("JayceThunderingBlow", "Hammer E") }); BlockedSpells.Add("Jhin", new List <Block> { q, new Block("JhinPassiveAttack", "4th", true) }); BlockedSpells.Add("Kassadin", new List <Block> { q, new Block("KassadinBasicAttack3", "Empowered W", true) }); BlockedSpells.Add("Katarina", new List <Block> { q, e }); BlockedSpells.Add("Kayle", new List <Block> { q }); BlockedSpells.Add("Kennen", new List <Block> { new Block("KennenMegaProc", "Empowered", true), w }); BlockedSpells.Add("Khazix", new List <Block> { q }); BlockedSpells.Add("Kindred", new List <Block> { e }); BlockedSpells.Add("Leblanc", new List <Block> { q, new Block("LeblancChaosOrbM", "Block RQ"), w, new Block("LeblancSlideM", "Block RW") }); BlockedSpells.Add( "LeeSin", new List <Block> { new Block("blindmonkqtwo", "Second Q") { BuffName = "blindmonkqonechaos", IsPlayerBuff = true }, new Block("BlindMonkEOne", "First E"), r }); BlockedSpells.Add( "Leona", new List <Block> { new Block("LeonaShieldOfDaybreakAttack", "Stun Q", true) }); BlockedSpells.Add("Lissandra", new List <Block> { new Block(N48) { Name = "R" } }); BlockedSpells.Add("Lulu", new List <Block> { w }); BlockedSpells.Add("Malphite", new List <Block> { q, r }); BlockedSpells.Add("Malzahar", new List <Block> { e, r }); BlockedSpells.Add("Maokai", new List <Block> { w }); BlockedSpells.Add( "MasterYi", new List <Block> { q }); BlockedSpells.Add("MissFortune", new List <Block> { q }); BlockedSpells.Add( "Mordekaiser", new List <Block> { new Block("mordekaiserqattack2", "Empowered Q", true), e, r }); BlockedSpells.Add("Nami", new List <Block> { w, r }); BlockedSpells.Add( "Nasus", new List <Block> { new Block("NasusQAttack", "Empowered Q", true), w }); BlockedSpells.Add( "Nautilus", new List <Block> { new Block("NautilusRavageStrikeAttack", "Empowered", true), e, r }); BlockedSpells.Add( "Nidalee", new List <Block> { new Block("NidaleeTakedownAttack", "Cougar Q", true) { ModelName = "nidalee_cougar" }, new Block(SpellSlot.W) { ModelName = "nidalee_cougar", BuffName = "nidaleepassivehunted", IsPlayerBuff = true, Name = "Cougar W" } }); BlockedSpells.Add("Nocturne", new List <Block> { r }); BlockedSpells.Add("Nunu", new List <Block> { e }); BlockedSpells.Add("Oriana", new List <Block> { w, r }); BlockedSpells.Add("Pantheon", new List <Block> { q, w }); BlockedSpells.Add( "Poppy", new List <Block> { new Block("PoppyPassiveAttack", "Passive Attack", true) { BuffName = "poppypassivebuff", IsSelfBuff = true }, e }); BlockedSpells.Add( "Quinn", new List <Block> { e }); BlockedSpells.Add("Rammus", new List <Block> { e }); BlockedSpells.Add( "RekSai", new List <Block> { new Block("reksaiwburrowed", "W"), new Block("reksaie", "E") { UseContains = false } }); BlockedSpells.Add( "Renekton", new List <Block> { q, new Block("RenektonExecute", "Empowered W", true), new Block("RenektonSuperExecute", "Fury Empowered W", true) }); BlockedSpells.Add( "Rengar", new List <Block> { new Block("RengarBasicAttack", "Empowered Q", true) }); BlockedSpells.Add( "Riven", new List <Block> { new Block(SpellSlot.Q) { Name = "Third Q", BuffName = "RivenTriCleave", IsSelfBuff = true }, w, new Block("rivenizunablade", "Second R") { BuffName = "RivenFengShuiEngine", IsSelfBuff = true, }, }); BlockedSpells.Add("Ryze", new List <Block> { w, e }); BlockedSpells.Add("Sejuani", new List <Block> { r }); BlockedSpells.Add("Shaco", new List <Block> { e }); BlockedSpells.Add( "Shyvana", new List <Block> { new Block("ShyvanaDoubleAttackHit", "Empowered Q", true), r }); BlockedSpells.Add("Singed", new List <Block> { e }); BlockedSpells.Add("Sion", new List <Block> { q, r }); BlockedSpells.Add("Shen", new List <Block> { e }); BlockedSpells.Add("Skarner", new List <Block> { r }); BlockedSpells.Add("Sona", new List <Block> { q, r }); BlockedSpells.Add("Syndra", new List <Block> { r }); BlockedSpells.Add("Swain", new List <Block> { q, e }); BlockedSpells.Add( "Talon", new List <Block> { new Block("TalonNoxianDiplomacyAttack", "Empowered Q", true), w, e }); BlockedSpells.Add("Taric", new List <Block> { e }); BlockedSpells.Add("Tahm Kench", new List <Block> { w }); BlockedSpells.Add("Teemo", new List <Block> { q }); BlockedSpells.Add("Thresh", new List <Block> { e }); BlockedSpells.Add("Tristana", new List <Block> { e, r }); BlockedSpells.Add( "Trundle", new List <Block> { new Block("TrundleQ", "Empowered Q", true), r }); BlockedSpells.Add( "TwistedFate", new List <Block> { new Block("goldcardpreattack", "Gold Card", true), new Block("redcardpreattack", "Red Card", true) }); BlockedSpells.Add("Udyr", new List <Block> { new Block("UdyrBearAttack", "Bear", true) }); BlockedSpells.Add("Urgot", new List <Block> { r }); BlockedSpells.Add( "Vayne", new List <Block> { new Block("VayneBasicAttack", "Silver Bolts") { IsAutoAttack = true, IsPlayerBuff = true, BuffName = "vaynesilvereddebuff", BuffCount = 2 }, e }); BlockedSpells.Add("Veigar", new List <Block> { e, r }); BlockedSpells.Add( "Vi", new List <Block> { new Block("ViBasicAttack", "Empowered W") { IsAutoAttack = true, BuffName = "viwproc", IsPlayerBuff = true, BuffCount = 2 }, new Block("ViEAttack", "Empowered E") { IsAutoAttack = true }, r }); BlockedSpells.Add( "Viktor", new List <Block> { q, r }); BlockedSpells.Add("Vladimir", new List <Block> { q }); BlockedSpells.Add( "Volibear", new List <Block> { new Block("VolibearQAttack", "Empowered Q", true), w }); BlockedSpells.Add("Warwick", new List <Block> { q }); BlockedSpells.Add("Wukong", new List <Block> { new Block("WukongQAttack", "Empowered Q", true), e }); BlockedSpells.Add( "XinZhao", new List <Block> { new Block("XinZhaoThrust3", "Empowered Q", true), e, r }); BlockedSpells.Add("Yasuo", new List <Block> { new Block("yasuoq3", "Whirlwind Q"), e }); BlockedSpells.Add( "Yorick", new List <Block> { new Block("yorickbasicattack", "Empowered Q") { IsAutoAttack = true, BuffName = "YorickSpectral", IsSelfBuff = true }, e }); BlockedSpells.Add("Zac", new List <Block> { w, r }); BlockedSpells.Add("Ziggs", new List <Block> { r }); BlockedSpells.Add("Zilean", new List <Block> { e }); BlockedSpells.Add("Zyra", new List <Block> { r }); var enemies = EntityManager.Heroes.Enemies; if (enemies.Any(o => o.ChampionName.Equals("Kalista"))) { MiscMenu.Add("Oathsworn", new CheckBox("Block Oathsworn Knockup (Kalista R)", true)); } foreach (var unit in enemies) { if (!_W.BlockedSpells.ContainsKey(unit.ChampionName)) { continue; } foreach (var spell in _W.BlockedSpells[unit.ChampionName]) { var slot = spell.Slot.Equals(48) ? SpellSlot.R : spell.Slot; MiscMenu.Add(unit.ChampionName + spell.MenuName, new CheckBox(unit.ChampionName + " - " + spell.DisplayName, true)); } } Game.OnUpdate += OnUpdate; }
private static void Game_OnStart(EventArgs args) { if (!_Player.ChampionName.Contains("Tristana")) { return; } Bootstrap.Init(null); uint level = (uint)Player.Instance.Level; Q = new Spell.Active(SpellSlot.Q, 543 + level * 7); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)0.25f, Int32.MaxValue, (int)80f); E = new Spell.Targeted(SpellSlot.E, 550 + level * 7); R = new Spell.Targeted(SpellSlot.R, 550 + level * 7); Menu = MainMenu.AddMenu("Crayz Tristana", "CrayzTristana"); Menu.AddGroupLabel("Crayz Tristana"); Menu.AddLabel("Version: " + "7.5.179.44"); Menu.AddSeparator(); Menu.AddLabel("By Crayz Turkish"); Menu.AddSeparator(); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQCombo", new CheckBox("Use [Q]", true)); ComboMenu.Add("useECombo", new CheckBox("Use [E]", true)); ComboMenu.Add("useRCombo", new CheckBox("Use [R]", true)); ComboMenu.AddLabel("Finisher Settings"); ComboMenu.Add("useERFinish", new CheckBox("Allow [E] + [R] Finish", true)); ComboMenu.Add("useWFinish", new CheckBox("Allow [W] Finish", false)); HarassMenu = Menu.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQHarass", new CheckBox("Use [Q]", false)); HarassMenu.Add("useEHarass", new CheckBox("Use [E]", false)); HarassMenu.Add("manaHarass", new Slider("Mana setting", 35, 0, 100)); FarmMenu = Menu.AddSubMenu("Laneclear", "Laneclear"); FarmMenu.AddGroupLabel("Laneclear Settings"); FarmMenu.Add("useQLane", new CheckBox("Use [Q]", false)); FarmMenu.Add("useELane", new CheckBox("Use [E]", false)); FarmMenu.Add("useELaneT", new CheckBox("Use [E] on Tower", false)); FarmMenu.Add("manaFarm", new Slider("Mana setting", 50, 0, 100)); KsMenu = Menu.AddSubMenu("Killsteal", "Killsteal"); KsMenu.AddGroupLabel("Killsteal Settings"); KsMenu.Add("useRKs", new CheckBox("Use [R]", true)); KsMenu.Add("useWKs", new CheckBox("Use [W]", false)); MiscMenu = Menu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Finisher Tweaks"); MiscMenu.Add("ERBuffer", new Slider("[E]-[R] Damage-Buffer", 60, 0, 500)); MiscMenu.Add("RBuffer", new Slider("[R] Damage-Buffer", 60, 0, 500)); MiscMenu.Add("WBuffer", new Slider("[W] Damage-Buffer", 50, 0, 500)); MiscMenu.AddGroupLabel("Anti-Gapcloser"); MiscMenu.Add("antiGC", new CheckBox("Basic Anti-Gapcloser", true)); MiscMenu.Add("antiKitty", new CheckBox("Anti Rengar", true)); MiscMenu.Add("antiBug", new CheckBox("Anti Kha'Zix", true)); MiscMenu.AddGroupLabel("Draw Settings"); MiscMenu.Add("drawAA", new CheckBox("Draw [AA] / [E] / [R]", true)); MiscMenu.Add("drawW", new CheckBox("Draw [W]", true)); MiscMenu.AddGroupLabel("Stuff"); MiscMenu.Add("autoLv", new CheckBox("Auto Level up", true)); Activator.init(); Game.OnTick += Game_OnTick; Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; GameObject.OnCreate += GameObject_OnCreate; }
private static void Load() { if (GameObjects.Player.ChampionName != "Viktor") { return; } Me = GameObjects.Player; Q = new Spell(SpellSlot.Q, 600f); W = new Spell(SpellSlot.W, 700f); E = new Spell(SpellSlot.E, 525f); E2 = new Spell(SpellSlot.E, 525f + 700f); R = new Spell(SpellSlot.R, 700f); W.SetSkillshot(0.5f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine); E2.SetSkillshot(0.25f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.25f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle); Q.DamageType = W.DamageType = E.DamageType = E2.DamageType = R.DamageType = DamageType.Magical; W.MinHitChance = E.MinHitChance = E2.MinHitChance = R.MinHitChance = HitChance.High; Ignite = Me.GetSpellSlot("SummonerDot"); Chat.Print(Me.ChampionName + " : This is Old Version and i dont update it anymore, Please Use Flowers' Series!"); Menu = new Menu("NightMoon", "Flowers' Viktor", true).Attach(); Menu.Add(new MenuSeparator("OLD", "This Is Old Version and i dont update it")); Menu.Add(new MenuSeparator("OLD1", "Please Use Flowers' Series")); ComboMenu = Menu.Add(new Menu("Combo", "Combo")); ComboQ = ComboMenu.Add(new MenuBool("ComboQ", "Use Q", true)); ComboW = ComboMenu.Add(new MenuBool("ComboW", "Use W", true)); ComboWSmart = ComboMenu.Add(new MenuBool("ComboWSmart", "Solo W Cast", false)); ComboWMin = ComboMenu.Add(new MenuSlider("ComboWMin", "Min Enemies to Cast W", 2, 1, 5)); ComboE = ComboMenu.Add(new MenuBool("ComboE", "Use E", true)); ComboR = ComboMenu.Add(new MenuBool("ComboR", "Use R", true)); ComboROnlyKill = ComboMenu.Add(new MenuBool("ComboROnlyKill", "Only Use R In Can Kill Enemy(1v1)", true)); ComboRCounts = ComboMenu.Add(new MenuSlider("ComboRCounts", "Or Counts Enemies >= (6 is off)", 3, 2, 6)); ComboIgnite = ComboMenu.Add(new MenuBool("ComboIgnite", "Use Ignite", true)); HarassMenu = Menu.Add(new Menu("Harass", "Harass")); HarassQ = HarassMenu.Add(new MenuBool("HarassQ", "Use Q", true)); HarassE = HarassMenu.Add(new MenuBool("HarassE", "Use E", true)); HarassMana = HarassMenu.Add(new MenuSlider("HarassMana", "Min Harass ManaPercent", 40)); LaneClearMenu = Menu.Add(new Menu("LaneClear", "Lane Clear")); LaneClearQ = LaneClearMenu.Add(new MenuBool("LaneClearQ", "Use Q", true)); LaneClearE = LaneClearMenu.Add(new MenuBool("LaneClearE", "Use E", true)); LaneClearEMin = LaneClearMenu.Add(new MenuSlider("LaneClearEMin", "Use E Clear Min", 3, 1, 7)); LaneClearMana = LaneClearMenu.Add(new MenuSlider("LaneClearMana", "Min LaneClear ManaPercent", 40)); JungleClearMenu = Menu.Add(new Menu("JungleClear", "Jungle Clear")); JungleClearQ = JungleClearMenu.Add(new MenuBool("JungleClearQ", "Use Q", true)); JungleClearE = JungleClearMenu.Add(new MenuBool("JungleClearE", "Use E", true)); JungleClearMana = JungleClearMenu.Add(new MenuSlider("JungleClearMana", "Min JungleClear ManaPercent", 40)); KillStealMenu = Menu.Add(new Menu("Kill Steal", "Kill Steal")); KSQ = KillStealMenu.Add(new MenuBool("KSQ", "Use Q", true)); KSE = KillStealMenu.Add(new MenuBool("KSE", "Use E", true)); var FleeMenu = Menu.Add(new Menu("Flee", "Flee")); { FleeMenu.Add(new MenuBool("Q", "Use Q", true)); FleeMenu.Add(new MenuKeyBind("Key", "Key", System.Windows.Forms.Keys.Z, KeyBindType.Press)); } MiscMenu = Menu.Add(new Menu("Misc", "Misc")); GapcloserW = MiscMenu.Add(new MenuBool("AutoWInMePos", "Use W | Anti Gapcloser", true)); InterruptW = MiscMenu.Add(new MenuBool("SmartW", "Use W | Interrupt", true)); AutoFollowR = MiscMenu.Add(new MenuBool("AutoFollowR", "Auto R Follow", true)); DrawMenu = Menu.Add(new Menu("Drawings", "Drawings")); DrawQ = DrawMenu.Add(new MenuBool("DrawQ", "Draw Q")); DrawW = DrawMenu.Add(new MenuBool("DrawW", "Draw W")); DrawE = DrawMenu.Add(new MenuBool("DrawE", "Draw E")); DrawEMax = DrawMenu.Add(new MenuBool("DrawEMax", "Draw E Max Range")); DrawR = DrawMenu.Add(new MenuBool("DrawR", "Draw R")); DrawDamage = DrawMenu.Add(new MenuBool("DrawDamage", "Draw Combo Damage", true)); DrawTarget = DrawMenu.Add(new MenuBool("DrawTarget", "Draw Target", true)); Game.OnUpdate += OnUpdate; Events.OnGapCloser += OnGapCloser; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Draven addon"); ComboMenu.AddLabel("Spinning Axe (Q) settings :"); ComboMenu.Add("Plugins.Draven.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Draven.ComboMenu.MaxAxesAmount", new Slider("Maximum axes amount", 2, 1, 3)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Blood Rush (W) settings :"); ComboMenu.Add("Plugins.Draven.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Stand Aside (E) settings :"); ComboMenu.Add("Plugins.Draven.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Whirling Death (R) settings :"); ComboMenu.Add("Plugins.Draven.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Draven.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddLabel("Fires R on best target in range when keybind is active."); ComboMenu.AddSeparator(5); var keybindRange = ComboMenu.Add("Plugins.Draven.ComboMenu.RRangeKeybind", new Slider("Maximum range to enemy to cast R while keybind is active", 1100, 300, 2500)); keybindRange.OnValueChange += (a, b) => { _changingkeybindRange = true; Core.DelayAction(() => { if (!keybindRange.IsLeftMouseDown && !keybindRange.IsMouseInside) { _changingkeybindRange = false; } }, 2000); }; AxeSettingsMenu = MenuManager.Menu.AddSubMenu("Axe Settings"); AxeSettingsMenu.AddGroupLabel("Axe settings for Draven addon"); AxeSettingsMenu.AddLabel("Basic settings :"); AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxes", new CheckBox("Catch Axes")); AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.UseWToCatch", new CheckBox("Cast W if axe is uncatchable")); AxeSettingsMenu.AddSeparator(5); AxeSettingsMenu.AddLabel("Catching settings :"); var axeMode = AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxesMode", new ComboBox("Catch mode", 0, "Default", "Brutal", "Yorik")); AxeSettingsMenu.AddSeparator(2); AxeSettingsMenu.AddLabel("Default mode only tries to catch axe if distance to from player to axe is less than 250.\nBrutal catches all axes within range of desired catch radius.\n" + "Yorik mode catches axes around player insead of catching axes inside circle around your mouse"); AxeSettingsMenu.AddSeparator(5); AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.AxeCatchRange", new Slider("Axe Catch Range", 450, 200, 1000)); AxeSettingsMenu.AddSeparator(2); var label = AxeSettingsMenu.Add("YorikMode", new Label( "This sets the range around your player within you will catch the axe.\nDon't set this too high.")); label.IsVisible = axeMode.CurrentValue == 2; axeMode.OnValueChange += (sender, args) => { label.IsVisible = args.NewValue == 2; }; AxeSettingsMenu.AddSeparator(); AxeSettingsMenu.AddLabel("Additional settings :"); AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxesUnderTower", new CheckBox("Catch Axes that are under enemy tower", false)); AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxesNearEnemies", new CheckBox("Catch Axes that are near enemies", false)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Draven addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Spinning Axe (Q) settings :"); LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Blood Rush (W) settings :"); LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseWInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseWInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 75, 1)); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Draven addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Draven.MiscMenu.EnableInterrupter", new CheckBox("Enable Interrupter")); MiscMenu.Add("Plugins.Draven.MiscMenu.EnableAntiGapcloser", new CheckBox("Enable Anti-Gapcloser")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Draven addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Spinning Axe (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxes", new CheckBox("Draw Axes")); DrawingsMenu.AddSeparator(1); DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxesTimer", new CheckBox("Draw Axes timer")); DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxesCatchRange", new CheckBox("Draw Axe's catch range")); DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxesCatchRangeColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Stand Aside (E) drawing settings :"); DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawEColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("老鼠 连招 设置"); ComboMenu.AddLabel("Q 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("击杀后使用Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("有大招的时候不使用W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Use E")); var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E 使用模式", 0, "百分比", "最大层", "仅击杀的时候")); ComboMenu.AddSeparator(10); ComboMenu.AddLabel("百分比 : 在敌人的当前生命的百分比使用E.\n最大层 : 敌人达到最大层伤害才使用E.\n仅击杀的时候 : " + "能杀死敌人的时候才使用E."); ComboMenu.AddSeparator(10); var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks", new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30)); switch (mode.CurrentValue) { case 0: percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比."; percentage.MinValue = 0; percentage.MaxValue = 100; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; break; case 2: percentage.IsVisible = false; break; } mode.OnValueChange += (a, b) => { switch (b.NewValue) { case 0: percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比."; percentage.MinValue = 0; percentage.MaxValue = 100; percentage.IsVisible = true; break; case 1: percentage.DisplayName = "使用E在 {0} 层."; percentage.MinValue = 1; percentage.MaxValue = 6; percentage.IsVisible = true; break; case 2: percentage.IsVisible = false; break; } }; ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("当{0} 人的时候使用R", 3, 1, 5)); ComboMenu.AddSeparator(5); ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("如果目标超出普攻范围使用R", false)); ComboMenu.AddLabel("如果目标能杀死使用R, 但他不在普攻范围内, R不会在接下来的2秒."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("老鼠 自动骚扰 设置"); HarassMenu.AddLabel("W 设置 :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Use W", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("E 设置 :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Use E", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("只在击中2个或更多敌人", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("最小层数使用E", 6, 1, 6)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("老鼠 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线")); var scanRange = LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("W 设置 :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Use W", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Contaminate (E) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("最少小兵的时候使用E", 4, 1, 7)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("老鼠 打野 设置"); JungleClearMenu.AddLabel("W 设置 :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Use W", false)); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("E 设置 :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Use E")); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 30, 1)); JungleClearMenu.AddLabel("使用E仅在能杀死大野怪和buff"); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("老鼠 杂项 设置"); MiscMenu.AddLabel("基本设置 :"); MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("隐身回城-回城的时候使用Q")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("老鼠 线圈 设置"); DrawingsMenu.AddLabel("杂项 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("只在技能准备好的时候画出线圈")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("W 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("E 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("R 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("损坏指示图设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator", new CheckBox("绘制敌人血条的损伤指示器", false)).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("寒冰 连招 设置"); ComboMenu.AddLabel("Q设置 :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W设置 :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E设置 :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R设置 :"); ComboMenu.Add("Plugins.Ashe.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Ashe.ComboMenu.RMinimumRange", new Slider("R最小射程", 350, 100, 700)); ComboMenu.Add("Plugins.Ashe.ComboMenu.RMaximumRange", new Slider("R最大射程", 2500, 700, 3000)); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("寒冰 骚扰 设置"); HarassMenu.AddLabel("W设置 :"); HarassMenu.Add("Plugins.Ashe.HarassMenu.UseW", new CheckBox("Use W")); HarassMenu.Add("Plugins.Ashe.HarassMenu.MinManaForW", new Slider("最小蓝 百分比 ({0}%) 使用W", 60, 1)); HarassMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("寒冰 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线")); var scanRange = LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Q设置 :"); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("W设置 :"); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear")); LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaW", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("寒冰 其他 设置"); MiscMenu.Add("Plugins.Ashe.MiscMenu.MaxInterrupterRange", new Slider("R中断技能释放最大范围", 1500, 0, 2500)); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawing settings for Ashe addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawW", new CheckBox("Draw W range")); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawWColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawRColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
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, "UB" + player.Hero + " - Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotCheckBox(SpellSlot.E); ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.CreatSlotHitSlider(SpellSlot.R, 5, 1, 6); } #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(); } #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.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.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); 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.W, "GapCloser"); MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "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 getMenu() { MenuKog = MainMenu.AddMenu("KogMala", "KogMala"); MenuKog.AddGroupLabel("O cuspidao nervoso!"); MenuKog.AddSeparator(); MenuKog.AddLabel("Version: " + G_version); MenuKog.AddLabel("Made without love by Kk2"); ComboMenu = MenuKog.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Options"); ComboMenu.AddSeparator(); ComboMenu.Add("comboQ", new CheckBox("Use Q on Combo")); ComboMenu.Add("comboW", new CheckBox("Use W on Combo")); ComboMenu.Add("comboE", new CheckBox("Use E on Combo")); ComboMenu.Add("comboR", new CheckBox("Use R on Combo")); HarassMenu = MenuKog.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Options"); HarassMenu.AddSeparator(); HarassMenu.Add("harassQ", new CheckBox("Use Q on Harass")); HarassMenu.Add("harassW", new CheckBox("Use W on Harass")); HarassMenu.Add("harassE", new CheckBox("Use E on Harass")); HarassMenu.Add("harassR", new CheckBox("Use R on Harass")); LaneClearMenu = MenuKog.AddSubMenu("LaneClear", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Options"); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("clearW", new CheckBox("use W on LaneClear")); JungleMenu = MenuKog.AddSubMenu("JungleClear", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Options"); JungleMenu.AddSeparator(); JungleMenu.Add("jungleW", new CheckBox("use W on JungleClear")); JungleMenu.Add("jungleR", new CheckBox("use R on JungleClear")); JungleMenu.Add("jungleS", new Slider("Mana % > to JungleClear", 20)); MiscMenu = MenuKog.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc Options"); MiscMenu.AddSeparator(); MiscMenu.Add("autoPilot", new CheckBox("AutoPilot Passive of Kog")); MiscMenu.Add("useEgap", new CheckBox("Use E on GapCloser")); MiscMenu.AddSeparator(); SkinSelect = MiscMenu.Add("skinSelect", new Slider("Choose your Skin [number]", 5, 0, 8)); SkinSelect.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs aargs) { _Player.SetSkin(_Player.ChampionName, aargs.NewValue); }; ItemsMenu = MenuKog.AddSubMenu("Items", "Items"); ItemsMenu.AddGroupLabel("Items Options"); ItemsMenu.AddSeparator(); ItemsMenu.Add("usePOT", new CheckBox("Use Health Potions")); ItemsMenu.AddSeparator(); ItemsMenu.Add("useBTRK", new CheckBox("Use BTRK")); ItemsMenu.Add("myHP", new Slider("Use If my HP <", 20)); ItemsMenu.Add("enemyHP", new Slider("Use If enemy HP <", 20)); ItemsMenu.AddSeparator(); DrawsMenu = MenuKog.AddSubMenu("Drawings", "Drawings"); DrawsMenu.AddGroupLabel("Drawing Options"); DrawsMenu.AddSeparator(); DrawsMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawsMenu.Add("drawW", new CheckBox("Draw W Range")); DrawsMenu.Add("drawE", new CheckBox("Draw E Range")); DrawsMenu.Add("drawR", new CheckBox("Draw R Range")); }
private static void CreateMenu() { try { foreach (var p in CurrentPatchs) { BuildsServices.Add(new BuildServices(p.Key, p.Value)); } MenuIni = MainMenu.AddMenu("AramBuddy", "AramBuddy"); SpellsMenu = MenuIni.AddSubMenu("Spells"); MenuIni.AddGroupLabel("AramBuddy Version: " + version); MenuIni.AddGroupLabel("AramBuddy Settings"); BuildMenu = MenuIni.AddSubMenu("Current Build"); InfoMenu = MenuIni.AddSubMenu("Extra Options"); var lolversion = BuildMenu.Add("buildpatch", new ComboBox("Select Build Patch: ", 0, BuildsServices.Select(s => s.Patch).ToArray())); var buildsource = BuildMenu.Add("buildsource", new ComboBox("Builds Service: ", 0, BuildsServices[lolversion.CurrentValue].AvailableServices)); lolversion.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs args) { foreach (var i in BuildsServices[args.OldValue].AvailableServices) { buildsource.Remove(i); } foreach (var i in BuildsServices[args.NewValue].AvailableServices) { buildsource.Add(i); } }; BuildMenu.AddLabel("MetaSrc: Very Good For Aram"); BuildMenu.AddLabel("Championgg: Decent For Aram"); BuildMenu.AddLabel("KoreanBuilds: Decent For Aram"); BuildMenu.AddLabel("LoLSkill: Not Good For Aram"); var debug = MenuIni.CreateCheckBox("debug", "Enable Debugging Mode"); var activator = MenuIni.CreateCheckBox("activator", "Enable Built-In Activator"); var DisableSpells = MenuIni.CreateCheckBox("DisableSpells", "Disable Built-in Casting Logic", false); var CustomPlugin = MenuIni.CreateCheckBox("CustomPlugin", "Enable Custom Plugins"); var quit = MenuIni.CreateCheckBox("quit", "Quit On Game End"); var stealhr = MenuIni.CreateCheckBox("stealhr", "Dont Steal Health Relics From Allies", false); var chat = MenuIni.CreateCheckBox("chat", "Send Start / End msg In-Game Chat", false); var texture = MenuIni.CreateCheckBox("texture1", "Disable In-Game Texture (Less RAM/CPU)", false); var evade = MenuIni.CreateCheckBox("evade", "Evade Integration[BETA]"); var ff = MenuIni.CreateCheckBox("ff", "Vote Surrender With Team Always"); var cameralock = MenuIni.CreateCheckBox("cameralock", "Lock Camera Always"); MenuIni.AddSeparator(0); var Safe = MenuIni.CreateSlider("Safe1", "Safe Slider (Recommended 1250)", 1250, 0, 2500); //MenuIni.AddLabel("More Safe Value = more defensive playstyle"); //MenuIni.AddSeparator(0); var HRHP = MenuIni.CreateSlider("HRHP", "Health Percent To Pick Health Relics (Recommended 75%)", 75); var HRMP = MenuIni.CreateSlider("HRMP", "Mana Percent To Pick Health Relics (Recommended 15%)", 15); MenuIni.AddSeparator(0); var Reset = MenuIni.CreateCheckBox("reset", "Reset All Settings To Default", false); // Misc Settings MiscMenu = MenuIni.AddSubMenu("Misc Settings"); var autolvl = MiscMenu.CreateCheckBox("autolvl", "Enable AutoLvlUP"); var autoshop = MiscMenu.CreateCheckBox("autoshop", "Enable AutoShop"); var fixdive = MiscMenu.CreateCheckBox("fixdive", "Try to Fix Diving Towers"); var kite = MiscMenu.CreateCheckBox("kite", "Try Kite Near Enemies"); var ping = MiscMenu.CreateCheckBox("ping", "Move To AllySpawn On High Ping/Ping-Spikes"); var bardchime = MiscMenu.CreateCheckBox("bardchime", "Pick Bard Chimes"); var corkibomb = MiscMenu.CreateCheckBox("corkibomb", "Pick Corki Bomb"); var dravenaxe = MiscMenu.CreateCheckBox("dravenaxe", "Pick Draves Axes"); var olafaxe = MiscMenu.CreateCheckBox("olafaxe", "Pick Olaf Axe"); var zacpassive = MiscMenu.CreateCheckBox("zacpassive", "Pick Zac Blops"); var azirtower = MiscMenu.CreateCheckBox("azirtower", "Create Azir Towers"); var teleport = MiscMenu.CreateCheckBox("tp", "Enable use of Teleporting Logic"); var logs = MiscMenu.CreateCheckBox("logs", "Save AramBuddy Logs", false); var savechat = MiscMenu.CreateCheckBox("savechat", "Save In-Game Chat", false); var tyler1 = MiscMenu.CreateCheckBox("bigbrother", "Run it down mid", false); var tyler1g = MiscMenu.CreateSlider("gold", "Run it down mid if my Gold >= {0}", 3000, 500, 17500); Reset.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (args.NewValue) { Reset.CurrentValue = false; debug.CurrentValue = true; activator.CurrentValue = true; DisableSpells.CurrentValue = false; CustomPlugin.CurrentValue = true; quit.CurrentValue = true; stealhr.CurrentValue = false; chat.CurrentValue = true; texture.CurrentValue = false; evade.CurrentValue = true; ff.CurrentValue = true; cameralock.CurrentValue = true; Safe.CurrentValue = 1250; HRHP.CurrentValue = 75; HRMP.CurrentValue = 15; // Misc autolvl.CurrentValue = true; autoshop.CurrentValue = true; fixdive.CurrentValue = true; kite.CurrentValue = true; ping.CurrentValue = true; bardchime.CurrentValue = true; corkibomb.CurrentValue = true; dravenaxe.CurrentValue = true; olafaxe.CurrentValue = true; zacpassive.CurrentValue = true; azirtower.CurrentValue = true; teleport.CurrentValue = true; logs.CurrentValue = false; savechat.CurrentValue = false; tyler1.CurrentValue = false; tyler1g.CurrentValue = 3000; } }; Safe.IsVisible = false; // disabled corkibomb.IsVisible = false; // disable for now SpellsMenu.AddGroupLabel("Built-In Casting Logic:"); SpellsMenu.CreateCheckBox("combo", "Use Spells in Combo Mode"); SpellsMenu.CreateCheckBox("harass", "Use Spells in Harass Mode"); SpellsMenu.CreateCheckBox("flee", "Use Spells in Flee Mode"); SpellsMenu.CreateCheckBox("laneclear", "Use Spells in Lane Clear Mode"); SpellsMenu.AddSeparator(0); SpellsMenu.AddGroupLabel("SummonerSpells"); SpellsMenu.Add("Heal", new CheckBox("Use Heal")); SpellsMenu.Add("Barrier", new CheckBox("Use Barrier")); SpellsMenu.Add("Clarity", new CheckBox("Use Clarity")); SpellsMenu.Add("Ghost", new CheckBox("Use Ghost")); SpellsMenu.Add("Flash", new CheckBox("Use Flash")); SpellsMenu.Add("Cleanse", new CheckBox("Use Cleanse")); InfoMenu.AddGroupLabel("Disabling In-Game Texture"); InfoMenu.AddLabel("To Disable In-Game Texture Type In Chat \"Disable Texture\""); InfoMenu.AddLabel("To Enable In-Game Texture Type In Chat \"Enable Texture\""); InfoMenu.AddLabel("Takes affect after 1 or 2 games"); Console.Title = $"{Drawing.Width}x{Drawing.Height}"; texture.IsVisible = false; if (DisableTexture) { Disabletexture(); } else { Enabletexture(); } Chat.OnInput += delegate(ChatInputEventArgs args) { if (args.Input.ToLower().Contains("disable texture")) { Disabletexture(); texture.CurrentValue = true; args.Process = false; } if (args.Input.ToLower().Contains("enable texture")) { Enabletexture(); texture.CurrentValue = false; args.Process = false; } }; } catch (Exception ex) { Logger.Send("Program Error At CreateMenu", ex, Logger.LogLevel.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, 60); #endregion #region R AutoMenu = Menu.AddSubMenu("R", "UBAddons.RMenu" + player.Hero, "Settings your R saver below"); { string BeginText = Variables.AddonName + "." + Player.Instance.Hero + ".Saver."; AutoMenu.Add(BeginText + "Enable", new CheckBox("Use R")); AutoMenu.AddSeparator(); foreach (var champ in EntityManager.Heroes.Allies) { AutoMenu.Add(BeginText + "Enable." + champ.Hero, new CheckBox("Use on " + champ.ChampionName)); AutoMenu.Add(BeginText + "Prediction." + champ.Hero, new CheckBox("Use Prediction")); AutoMenu.Add(BeginText + "HP." + champ.Hero, new Slider("Use R if " + champ.ChampionName + "'s HP below {0}%", 20, 0, 100)); AutoMenu.Add(BeginText + "Priority." + champ.Hero, new Slider(champ.ChampionName + "'s priority", CrazyTargetSelector.GetPriority(champ), 1, 5)); AutoMenu.AddSeparator(); } } #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, "Smart", "Slow", "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.CreatSlotCheckBox(SpellSlot.W, 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.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.CreatSlotCheckBox(SpellSlot.W, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser"); MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter"); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "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.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); } }
private static void Menu() { try { _Menu = MainMenu.AddMenu("Blitzcrank", "Blitzcrank"); ComboMenu = _Menu.AddSubMenu("Combo", "Combo"); ComboMenu.Add("Blitzcrank_CUse_Q", new CheckBox("Use Q")); ComboMenu.Add("Blitzcrank_CUse_W", new CheckBox("Use W")); ComboMenu.Add("Blitzcrank_CUse_E", new CheckBox("Use E")); ComboMenu.Add("Blitzcrank_CUse_R", new CheckBox("Use R")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("1 : Out of Range"); ComboMenu.AddLabel("2 : Impossible"); ComboMenu.AddLabel("3 : Low"); ComboMenu.AddLabel("4 : Medium"); ComboMenu.AddLabel("5 : High"); ComboMenu.AddLabel("6 : Very High"); ComboMenu.Add("Blitzcrank_CUseQ_Hit", new Slider("Q HitChance", 6, 1, 6)); HarassMenu = _Menu.AddSubMenu("Harass", "Harass"); HarassMenu.Add("Blitzcrank_HUse_Q", new CheckBox("Use Q")); HarassMenu.Add("Blitzcrank_HUse_W", new CheckBox("Use W")); HarassMenu.Add("Blitzcrank_HUse_E", new CheckBox("Use E")); HarassMenu.Add("Blitzcrank_AManarate", new Slider("Mana %", 20)); KSMenu = _Menu.AddSubMenu("KillSteal", "KillSteal"); KSMenu.Add("Blitzcran_KUse_Q", new CheckBox("Use Q")); KSMenu.Add("Blitzcran_KUse_R", new CheckBox("Use R")); MiscMenu = _Menu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Grab Settings"); foreach (var enemy in ObjectManager.Get <AIHeroClient>()) { if (enemy.Team != Player.Team) { MiscMenu.Add("Blitzcrank_GrabSelect" + enemy.ChampionName, new Slider("Grab Mode (0 : Enable | 1 : Don't | 2 : Auto) " + enemy.ChampionName, 0, 0, 2)); MiscMenu.AddSeparator(); } } MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("Interrupt Settings"); MiscMenu.Add("Blitzcrank_InterQ", new CheckBox("Use Q")); MiscMenu.Add("Blitzcrank_InterE", new CheckBox("Use E")); MiscMenu.Add("Blitzcrank_InterR", new CheckBox("Use R")); MiscMenu.AddSeparator(); MiscMenu.Add("Blitzcrank_GrabDash", new CheckBox("Grab to dashing enemy")); DrawMenu = _Menu.AddSubMenu("Draw", "Draw"); DrawMenu.Add("Blitzcrank_Draw_Q", new CheckBox("Use Q", false)); DrawMenu.Add("Blitzcrank_Draw_R", new CheckBox("Use R", false)); DrawMenu.Add("Blitzcrank_Indicator", new CheckBox("Use Damage Indicator")); } catch (Exception) { if (FreshCommon.NowTime() > ErrorTime) { Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02"); ErrorTime = FreshCommon.TickCount(10000); } } }
internal static void MyMenu() { Main = MainMenu.AddMenu("ShuLux", "ShuLux"); LLogic = Main.AddSubMenu("LogicCombo"); LLogic.AddSeparator(); LLogic.AddLabel("Combo Stun - Q - W -E - R"); LLogic.AddLabel("Combo Spells Q - E - R - W"); LLogic.AddSeparator(); LLogic.AddLabel("Logic R Spell"); LLogic.Add("LR", new CheckBox("Use R logic", false)); LLogic.AddSeparator(); LLogic.AddLabel("Interrupter"); LLogic.Add("InterrupterSpell", new CheckBox("Use Q Interrupter")); //Predction LPrediction = Main.AddSubMenu("Prediction"); LPrediction.Add("qSlider", new Slider("Cast Q if % HitChance", 75)); LPrediction.AddSeparator(); LPrediction.AddLabel("Hit E"); LPrediction.Add("eSlider", new Slider("Cast E if % HitChance", 75)); LPrediction.AddSeparator(); LPrediction.AddLabel("Hit R"); LPrediction.Add("rSlider", new Slider("Cast R if % HitChance", 75)); //Combo LCombo = Main.AddSubMenu("Combo Lux"); LCombo.Add("CQ", new CheckBox("Use Q in Combo")); LCombo.Add("CW", new CheckBox("Use W in Combo", false)); LCombo.Add("CE", new CheckBox("Use E in Combo")); LCombo.Add("CR", new CheckBox("Use R in Combo")); LCombo.Add("SliderR", new Slider("Amount of Enemies before casting R", 3, 1, 5)); LLogic.AddSeparator(); LCombo.AddLabel("Config Spell W"); LCombo.Add("LW", new CheckBox("Use W in Ally")); LCombo.Add("LLW", new CheckBox(" Use W")); LCombo.Add("LMin", new Slider("Min de Hp", 45)); //Harass LHarass = Main.AddSubMenu("Harass Lux"); LHarass.Add("HQ", new CheckBox("Use Q in Harass")); LHarass.Add("HW", new CheckBox("Use W in Harass")); LHarass.Add("HE", new CheckBox("Use E in Harass")); LHarass.Add("HR", new CheckBox("Use R In Harass")); LHarass.Add("HM", new Slider("Mana%", 30)); //LaneClear LlaneClear = Main.AddSubMenu("Lane Lux"); LlaneClear.Add("Lq", new CheckBox("Use Q Lane Clear", false)); LlaneClear.Add("Le", new CheckBox("Use E Lane Claer")); LlaneClear.Add("Lr", new CheckBox("Use R Lane CLear", false)); LLogic.AddSeparator(); LlaneClear.Add("LMana", new Slider("Mana%", 30)); LlaneClear.Add("Le", new CheckBox("Use Lane Clear")); LlaneClear.Add("Manager", new CheckBox("Mana Lane Clear")); LlaneClear.Add("MinionsE", new Slider("Min. Minions for E ", 3, 0, 10)); LlaneClear.Add("MinionsQ", new Slider("Min. Minions for Q ", 2, 0, 10)); //JungleSteal LJungleSteal = Main.AddSubMenu("JungleSteal"); LJungleSteal.Add("JSR", new CheckBox("Use R Jungle Steal")); LJungleSteal.Add("BuffBlue", new CheckBox("Use R Steal Buff Blue", false)); LJungleSteal.Add("BuffRed", new CheckBox("Use R Steal Buff Red", false)); LJungleSteal.Add("BufDragon", new CheckBox("Use R Steal Dragon", true)); //Draw Spell LDraw = Main.AddSubMenu("Draw Spells"); LDraw.Add("draw", new CheckBox("Enable Drawings")); LDraw.AddSeparator(); LDraw.Add("DQ", new CheckBox("Draw Q Spell")); LDraw.Add("DW", new CheckBox("Draw W Spell")); LDraw.Add("DE", new CheckBox("Draw E Spell")); LDraw.Add("DR", new CheckBox("Draw R Spell")); LDraw.Add("Ignite", new CheckBox("Draw Ignite")); LLogic.AddSeparator(); LDraw.AddLabel("Config Damage"); LDraw.Add("Dameger", new CheckBox("Damager Indicador", true)); //Spell R KillSteal LKilSteal = Main.AddSubMenu("KilSteal"); LKilSteal.Add("KR", new CheckBox("Use R KilSteal")); LKilSteal.Add("ignite", new CheckBox("Use Iginite")); //Auto Level LeLevel = Main.AddSubMenu("Auto Level"); LeLevel.Add("Auto", new CheckBox("Use Auto Level", false)); LeLevel.AddLabel("Bugs Spell Not Recomended"); //Misc MiscMenu = Main.AddSubMenu("ManaManger"); MiscMenu.Add("manaQ", new Slider("Mana Manager Q", 25)); MiscMenu.Add("manaW", new Slider("Mana Manager W", 25)); MiscMenu.Add("manaE", new Slider("Mana Manager E", 25)); MiscMenu.Add("manaR", new Slider("Mana Manager R", 25)); MiscMenu.Add("disableC", new CheckBox("Disable Mana Manager in Combo")); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("useW", new CheckBox("Automatically Cast W")); MiscMenu.Add("useM", new CheckBox("Use W only on Modes")); MiscMenu.Add("hpW", new Slider("HP % before W", 25)); MiscMenu.AddLabel("Who to use W on?"); //Config Auto Game.OnUpdate += Game_OnUpdate; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; GameObject.OnCreate += OberAtack.GameObject_OnCreate; GameObject.OnDelete += OberAtack.GameObject_OnDelete; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Urgot addon"); ComboMenu.AddLabel("Acid Hunter (Q) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Terror Capacitor (W) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Try to swap enemy pos under tower")); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Urgot addon"); HarassMenu.AddLabel("Acid Hunter (Q) settings :"); HarassMenu.Add("Plugins.Urgot.HarassMenu.UseQ", new CheckBox("Use Q")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 40, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Use E")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 40, 1)); HarassMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Urgot addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Acid Hunter (Q) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Urgot addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(2); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker")); MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75)); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker")).OnValueChange += (a, b) => { TearStacker.Enabled = b.NewValue; }; MiscMenu.Add("Plugins.Urgot.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain", false)).OnValueChange += (a, b) => { TearStacker.OnlyInFountain = b.NewValue; }; MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75)).OnValueChange += (a, b) => { TearStacker.MinimumManaPercent = b.NewValue; }; TearStacker.Enabled = Settings.Misc.EnableTearStacker; TearStacker.OnlyInFountain = Settings.Misc.StackOnlyInFountain; TearStacker.MinimumManaPercent = Settings.Misc.TearStackerMinMana; MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Acid Hunter (Q) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.AutoHarass", new KeyBind("Auto harass", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.AddLabel("Enables Auto harass on enemies with E debuff in Lane Clear and Harass mode !"); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Terror Capacitor (W) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.WMinDamage", new Slider("Auto W if incoming damage will deal more than {0}% of my hp", 10, 1)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRAgainstGapclosers", new CheckBox("Use R against gapclosers")); MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Use R to interrupt dangerous spells")); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Urgot addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Acid Hunter (Q) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawR", new CheckBox("Draw R range", false)); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Other settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Draws damage indicator"); }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Kassadin") { return; } Bootstrap.Init(null); Q = new Spell.Targeted(SpellSlot.Q, 650); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Cone, 500, int.MaxValue, 10); R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150); _abilitySequence = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 }; var flashSlot = Kassawin.GetSpellSlotFromName("summonerflash"); Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear); KassaMenu = MainMenu.AddMenu("BloodimirKassadin", "bloodimirkassa"); KassaMenu.AddGroupLabel("Bloodimir Kassadin v1.0.0.1"); KassaMenu.AddSeparator(); KassaMenu.AddLabel("Bloodimir Kassadin v1.0.0.1"); ComboMenu = KassaMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Maximum enemy to R", 2, 0, 5)); HarassMenu = KassaMenu.AddSubMenu("HarassMenu", "Harass"); HarassMenu.Add("useQHarass", new CheckBox("Use Q")); HarassMenu.Add("useEHarass", new CheckBox("Use E")); LaneJungleClear = KassaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings"); LaneJungleClear.Add("LCQ", new CheckBox("Use Q")); LaneJungleClear.Add("LCE", new CheckBox("Use E")); LaneJungleClear.Add("LCR", new CheckBox("Use R")); LastHitMenu = KassaMenu.AddSubMenu("Last Hit", "lasthit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("LHQ", new CheckBox("Use Q")); LastHitMenu.Add("LHW", new CheckBox("Use W")); DrawMenu = KassaMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); MiscMenu = KassaMenu.AddSubMenu("Misc Menu", "miscmenu"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS using Q")); MiscMenu.Add("int", new CheckBox("TRY to Interrupt Channeled Spells")); MiscMenu.Add("gape", new CheckBox("Anti Gapcloser E")); MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells")); MiscMenu.Add("resetaa", new CheckBox("Auto Reset AA with W")); FleeMenu = KassaMenu.AddSubMenu("Flee", "Flee"); FleeMenu.Add("fleer", new CheckBox("Use R to Mouse Pos")); SkinMenu = KassaMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 5)); var sid = new[] { "Default", "Festival", "Deep One", "Pre-Void", "Harbinger", "Cosmic Reaver" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; Game.OnUpdate += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interruptererer; Orbwalker.OnPostAttack += Reset; Drawing.OnDraw += OnDraw; }
public static void getMenu() { /* * Main Menu */ Rengar = MainMenu.AddMenu("Rengod", "Rengod"); Rengar.AddGroupLabel("RenGOD ~.^"); Rengar.AddSeparator(); Rengar.AddLabel("" + G_name); /* * Combo Menu */ ComboMenu = Rengar.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Options"); ComboMenu.AddSeparator(); ComboMenu.Add("ComboQ", new CheckBox("Use Q on Combo")); ComboMenu.Add("ComboW", new CheckBox("Use W on Combo")); ComboMenu.Add("ComboE", new CheckBox("Use E on Combo")); ComboPrio = ComboMenu.Add("cPrio", new Slider("Prioritize: ", 0, 0, 2)); ComboPrio.OnValueChange += delegate { ComboPrio.DisplayName = "Prioritize: " + prio[ComboPrio.CurrentValue]; }; ComboPrio.DisplayName = "Prioritize: " + prio[ComboPrio.CurrentValue]; ComboKey = ComboMenu.Add("changeC", new KeyBind("Press to change Combo Prioritize", false, KeyBind.BindTypes.PressToggle, 'N')); ComboKey.OnValueChange += delegate { var x = ComboPrio.CurrentValue; if (x == 2) { ComboPrio.CurrentValue = 0; } else { ComboPrio.CurrentValue = ComboPrio.CurrentValue + 1; } }; ComboMenu.AddSeparator(); ComboMenu.Add("useIG", new CheckBox("Use Ignite on Combo")); ComboMenu.Add("useSmite", new CheckBox("Use Smite on Combo")); /* * Harass Menu */ HarassMenu = Rengar.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Options"); HarassMenu.AddSeparator(); HarassMenu.Add("HarassQ", new CheckBox("Use Q on Harass")); HarassMenu.Add("HarassW", new CheckBox("Use W on Harass")); HarassMenu.Add("HarassE", new CheckBox("Use E on Harass")); HarassPrio = HarassMenu.Add("hPrio", new Slider("Prioritize: ", 0, 0, 1)); HarassPrio.OnValueChange += delegate { HarassPrio.DisplayName = "Prioritize: " + prio[HarassPrio.CurrentValue]; }; HarassPrio.DisplayName = "Prioritize: " + prio[HarassPrio.CurrentValue]; /* * LaneClear Menu */ LaneMenu = Rengar.AddSubMenu("LaneClear", "LaneClear"); LaneMenu.AddGroupLabel("LaneClear Options"); LaneMenu.AddSeparator(); LaneMenu.Add("LaneQ", new CheckBox("Use Q on LaneClear")); LaneMenu.Add("LaneW", new CheckBox("Use W on LaneClear")); LaneMenu.Add("LaneE", new CheckBox("Use E on LaneClear")); /* * JungleClear Menu */ JungleMenu = Rengar.AddSubMenu("Jungle", "Jungle"); JungleMenu.AddGroupLabel("Jungle Options"); JungleMenu.AddSeparator(); JungleMenu.Add("JungleQ", new CheckBox("Use Q on Jungle")); JungleMenu.Add("JungleW", new CheckBox("Use W on Jungle")); JungleMenu.Add("JungleE", new CheckBox("Use E on Jungle")); /* * Items Menu */ ItemsMenu = Rengar.AddSubMenu("Items", "Items"); ItemsMenu.AddGroupLabel("Items Options"); ItemsMenu.Add("useYoumu", new CheckBox("Use Youmuus")); ItemsMenu.Add("useHydra", new CheckBox("Use Hydra")); ItemsMenu.AddSeparator(); ItemsMenu.Add("useBTRK", new CheckBox("Use BTRK")); ItemsMenu.Add("myHP", new Slider("My Hp <% to use", 60)); ItemsMenu.Add("enemyHP", new Slider("Enemy HP <% to use", 60)); ItemsMenu.AddSeparator(); ItemsMenu.Add("usePOT", new CheckBox("Use Potions")); /* * Misc Menu */ MiscMenu = Rengar.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc Options"); MiscMenu.AddSeparator(); MiscMenu.Add("useHeal", new CheckBox("Auto Heal with W")); MiscMenu.Add("hpHeal", new Slider("HP % to Heal", 25)); MiscMenu.AddSeparator(); SkinHax = MiscMenu.Add("skinHax", new Slider("Choose you Skin [number]", 2, 0, 2)); SkinHax.OnValueChange += delegate { _Player.SetSkinId(SkinHax.CurrentValue); }; /* * Drawing Menu */ DrawingMenu = Rengar.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Options"); DrawingMenu.AddSeparator(); DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawingMenu.Add("drawW", new CheckBox("Draw W Range")); DrawingMenu.Add("drawE", new CheckBox("Draw E Range")); DrawingMenu.Add("drawR", new CheckBox("Draw R Range")); DrawingMenu.Add("drawK", new CheckBox("Draw K on Killable Enemies")); DrawingMenu.Add("drawT", new CheckBox("Draw R Timer Left")); DrawingMenu.AddSeparator(); DrawingMenu.Add("drawC", new CheckBox("Draw Current Combo Prioritize")); DrawingMenu.Add("posX", new Slider("X Position", 50, 0, 2000)); DrawingMenu.Add("posY", new Slider("Y Position", 50, 0, 2000)); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Caitlyn addon"); ComboMenu.AddLabel("Piltover Peacemaker (Q) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Yordle Snap Trap (W) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseWOnImmobile", new CheckBox("Use W on immobile")); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.WHitChancePercent", new Slider("W hitchance percent : {0}", 85)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("90 Caliber Net (E) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.EHitChancePercent", new Slider("E hitchance percent : {0}", 65)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Ace in the Hole (R) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseR", new CheckBox("Use R", false)); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Caitlyn addon"); HarassMenu.AddLabel("Piltover Peacemaker (Q) settings :"); HarassMenu.Add("Plugins.Caitlyn.HarassMenu.UseQ", new CheckBox("Use Q", false)); HarassMenu.Add("Plugins.Caitlyn.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 75, 1)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Caitlyn addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false)); var scanRange = LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Piltover Peacemaker (Q) settings :"); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear")); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.MinMinionsKilledForQ", new Slider("Min minions killed to use Q", 3, 1, 6)); LaneClearMenu.AddSeparator(5); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear")); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Caitlyn addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Caitlyn.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Yordle Snap Trap (W) settings :"); MiscMenu.Add("Plugins.Caitlyn.MiscMenu.WAgainstGapclosers", new CheckBox("Use W against gapclosers")); MiscMenu.AddLabel("90 Caliber Net (E) settings :"); MiscMenu.Add("Plugins.Caitlyn.MiscMenu.EAgainstGapclosers", new CheckBox("Use E against gapclosers")); MenuManager.BuildAntiGapcloserMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Caitlyn addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Piltover Peacemaker (Q) settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("90 Caliber Net (E) settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawE", new CheckBox("Draw E range", false)); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Ace in the Hole (R) settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawR", new CheckBox("Draw R range", false)); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }