public Yasuo() { Q = new Spell(SpellSlot.Q, 500); Q2 = new Spell(SpellSlot.Q, 1100); W = new Spell(SpellSlot.W, 400); E = new Spell(SpellSlot.E, 475); R = new Spell(SpellSlot.R, 1300); Q.SetSkillshot(GetQDelay, 20, float.MaxValue, false, SkillshotType.SkillshotLine); Q2.SetSkillshot(GetQ2Delay, 90, 1500, false, SkillshotType.SkillshotLine); E.SetTargetted(0.05f, GetESpeed); Q.DamageType = Q2.DamageType = R.DamageType = DamageType.Physical; E.DamageType = DamageType.Magical; Q.MinHitChance = Q2.MinHitChance = HitChance.High; var orbwalkMenu = new Menu("Orbwalk", "Orbwalk"); { Separator(orbwalkMenu, "blank0", "Q/Ignite/Item: Always On"); Separator(orbwalkMenu, "blank1", "E Gap Settings"); Bool(orbwalkMenu, "EGap", "Use E"); Slider(orbwalkMenu, "ERange", "If Distance >", (int)(E.Range * 0.5), 0, (int)E.Range); Bool(orbwalkMenu, "ETower", "Under Tower", false); Bool(orbwalkMenu, "EStackQ", "Stack Q While Gap", false); Separator(orbwalkMenu, "blank2", "R Settings"); Bool(orbwalkMenu, "R", "Use R"); Bool(orbwalkMenu, "RDelay", "Delay Casting"); Slider(orbwalkMenu, "RHpU", "If Enemy Hp < (%)", 60); Slider(orbwalkMenu, "RCountA", "Or Enemy >=", 2, 1, 5); MainMenu.Add(orbwalkMenu); } var hybridMenu = new Menu("Hybrid", "Hybrid"); { Separator(hybridMenu, "blank3", "Q: Always On"); Bool(hybridMenu, "Q3", "Also Q3"); Bool(hybridMenu, "QLastHit", "Last Hit (Q1/2)"); Separator(hybridMenu, "blank4", "Auto Q Settings"); KeyBind(hybridMenu, "AutoQ", "KeyBind", Keys.T, KeyBindType.Toggle); Bool(hybridMenu, "AutoQ3", "Also Q3", false); MainMenu.Add(hybridMenu); } var lcMenu = new Menu("LaneClear", "Lane Clear"); { Separator(lcMenu, "blank5", "Q: Always On"); Bool(lcMenu, "Q3", "Also Q3"); Separator(lcMenu, "blank6", "E Settings"); Bool(lcMenu, "E", "Use E"); Bool(lcMenu, "ETower", "Under Tower", false); MainMenu.Add(lcMenu); } var lhMenu = new Menu("LastHit", "Last Hit"); { Separator(lhMenu, "blank7", "Q Settings"); Bool(lhMenu, "Q", "Use Q"); Bool(lhMenu, "Q3", "Also Q3", false); Separator(lhMenu, "blank8", "E Settings"); Bool(lhMenu, "E", "Use E"); Bool(lhMenu, "ETower", "Under Tower", false); MainMenu.Add(lhMenu); } var ksMenu = new Menu("KillSteal", "Kill Steal"); { Bool(ksMenu, "Q", "Use Q"); Bool(ksMenu, "E", "Use E"); Bool(ksMenu, "R", "Use R"); Separator(ksMenu, "blank7", "Extra R Settings"); foreach (var enemy in GameObjects.EnemyHeroes) { Bool(ksMenu, "RCast" + enemy.ChampionName, "Cast On " + enemy.ChampionName); } MainMenu.Add(ksMenu); } var fleeMenu = new Menu("Flee", "Flee"); { KeyBind(fleeMenu, "E", "Use E", Keys.C); Bool(fleeMenu, "Q", "Stack Q While Dash"); MainMenu.Add(fleeMenu); } if (GameObjects.EnemyHeroes.Any()) { Evade.Init(); } var drawMenu = new Menu("Draw", "Draw"); { Bool(drawMenu, "StackQ", "Auto Stack Q Status"); MainMenu.Add(drawMenu); } KeyBind(MainMenu, "StackQ", "Auto Stack Q", Keys.Z, KeyBindType.Toggle); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Game.OnUpdate += OnUpdateEvade; Obj_AI_Base.OnPlayAnimation += OnPlayAnimation; }
public Zed() { Q = new Spell(SpellSlot.Q, 975); Q2 = new Spell(SpellSlot.Q, 975); W = new Spell(SpellSlot.W, 600); E = new Spell(SpellSlot.E, 290); R = new Spell(SpellSlot.R, 700); Q.SetSkillshot(0.25f, 50, 1700, true, SkillshotType.SkillshotLine); Q2.SetSkillshot(0.25f, 50, 1700, true, SkillshotType.SkillshotLine); E.SetTargetted(0, float.MaxValue); Q.DamageType = Q2.DamageType = E.DamageType = R.DamageType = DamageType.Physical; Q.MinHitChance = Q2.MinHitChance = HitChance.VeryHigh; var orbwalkMenu = new Menu("Orbwalk", "Orbwalk"); { Config.Separator(orbwalkMenu, "blank0", "Q/E/Ignite/Item: Always On"); Config.Separator(orbwalkMenu, "blank1", "W Settings"); Config.Bool(orbwalkMenu, "WNormal", "Use For Non-R Combo"); Config.List(orbwalkMenu, "WAdv", "Use For R Combo", new[] { "OFF", "Line", "Triangle", "Mouse" }).Index = 1; Config.List(orbwalkMenu, "WSwapGap", "Swap To Gap Close", new[] { "OFF", "Smart", "Always" }).Index = 1; Config.Separator(orbwalkMenu, "blank2", "R Settings"); Config.Bool(orbwalkMenu, "R", "Use R"); Config.Slider( orbwalkMenu, "RStopRange", "Priorize If Ready And Distance <=", (int)(R.Range + 200), (int)R.Range, (int)(R.Range + W.Range)); Config.List(orbwalkMenu, "RSwapGap", "Swap To Gap Close", new[] { "OFF", "Smart", "Always" }).Index = 1; Config.Slider(orbwalkMenu, "RSwapIfHpU", "Swap If Hp < (%)", 20); Config.Bool(orbwalkMenu, "RSwapIfKill", "Swap If Mark Can Kill Target"); Config.Separator(orbwalkMenu, "blank3", "Extra R Settings"); foreach (var enemy in GameObjects.EnemyHeroes) { Config.Bool(orbwalkMenu, "RCast" + enemy.ChampionName, "Cast On " + enemy.ChampionName, false); } MainMenu.Add(orbwalkMenu); } var hybridMenu = new Menu("Hybrid", "Hybrid"); { Config.List(hybridMenu, "Mode", "Mode", new[] { "W-E-Q", "E-Q", "Q" }); Config.Bool(hybridMenu, "QOverW", "Priorize Q Over W", false); Config.Separator(hybridMenu, "blank4", "Auto Q Settings"); Config.KeyBind(hybridMenu, "AutoQ", "KeyBind", Keys.T, KeyBindType.Toggle); Config.Slider(hybridMenu, "AutoQMpA", "If Mp >=", 100, 0, 200); MainMenu.Add(hybridMenu); } var farmMenu = new Menu("Farm", "Farm"); { Config.Bool(farmMenu, "Q", "Use Q"); Config.Bool(farmMenu, "E", "Use E", false); MainMenu.Add(farmMenu); } var ksMenu = new Menu("KillSteal", "Kill Steal"); { Config.Bool(ksMenu, "Q", "Use Q"); Config.Bool(ksMenu, "E", "Use E"); MainMenu.Add(ksMenu); } var drawMenu = new Menu("Draw", "Draw"); { Config.Bool(drawMenu, "Q", "Q Range"); Config.Bool(drawMenu, "W", "W Range"); Config.Bool(drawMenu, "E", "E Range", false); Config.Bool(drawMenu, "R", "R Range"); Config.Bool(drawMenu, "Target", "Target"); Config.Bool(drawMenu, "WPos", "W Shadow"); Config.Bool(drawMenu, "RPos", "R Shadow"); MainMenu.Add(drawMenu); } Config.KeyBind(MainMenu, "FleeW", "Use W To Flee", Keys.C); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; }
public Zed() { Q = new Spell(SpellSlot.Q, 925); Q2 = new Spell(SpellSlot.Q, 925); W = new Spell(SpellSlot.W, 600); E = new Spell(SpellSlot.E, 280); R = new Spell(SpellSlot.R, 700); Q.SetSkillshot(0.25f, 50, 1700, true, SkillshotType.SkillshotLine); Q2.SetSkillshot(0.25f, 50, 1700, true, SkillshotType.SkillshotLine); E.SetTargetted(0.05f, float.MaxValue); Q.DamageType = Q2.DamageType = E.DamageType = R.DamageType = DamageType.Physical; Q.MinHitChance = Q2.MinHitChance = HitChance.VeryHigh; var orbwalkMenu = MainMenu.Add(new Menu("Orbwalk", "Orbwalk")); { orbwalkMenu.Separator("Q/E: Always On"); orbwalkMenu.Separator("Sub Settings"); orbwalkMenu.Bool("Ignite", "Use Ignite"); orbwalkMenu.Bool("Item", "Use Item"); orbwalkMenu.Separator("W Settings"); orbwalkMenu.Bool("WNormal", "Use For Non-R Combo"); orbwalkMenu.List("WAdv", "Use For R Combo", new[] { "OFF", "Line", "Triangle", "Mouse" }, 1); orbwalkMenu.List("WSwapGap", "Swap To Gap Close", new[] { "OFF", "Smart", "Always" }, 1); orbwalkMenu.Separator("R Settings"); orbwalkMenu.Bool("R", "Use R"); orbwalkMenu.Slider( "RStopRange", "Priorize If Ready And Distance <=", (int)(R.Range + 200), (int)R.Range, (int)(R.Range + W.Range)); orbwalkMenu.List("RSwapGap", "Swap To Gap Close", new[] { "OFF", "Smart", "Always" }, 1); orbwalkMenu.Slider("RSwapIfHpU", "Swap If Hp < (%)", 20); orbwalkMenu.Bool("RSwapIfKill", "Swap If Mark Can Kill Target"); orbwalkMenu.Separator("Extra R Settings"); foreach (var enemy in GameObjects.EnemyHeroes) { orbwalkMenu.Bool("RCast" + enemy.ChampionName, "Not Cast On " + enemy.ChampionName, true); } } var hybridMenu = MainMenu.Add(new Menu("Hybrid", "Hybrid")); { hybridMenu.List("Mode", "Mode", new[] { "W-E-Q", "E-Q", "Q" }); hybridMenu.Separator("Auto Q Settings"); hybridMenu.KeyBind("AutoQ", "KeyBind", Keys.T, KeyBindType.Toggle); hybridMenu.Slider("AutoQMpA", "If Mp >=", 100, 0, 200); } var farmMenu = MainMenu.Add(new Menu("Farm", "Farm")); { farmMenu.Bool("Q", "Use Q"); farmMenu.Bool("E", "Use E", false); } var ksMenu = MainMenu.Add(new Menu("KillSteal", "Kill Steal")); { ksMenu.Bool("Q", "Use Q"); ksMenu.Bool("E", "Use E"); } if (GameObjects.EnemyHeroes.Any()) { Evade.Init(); } var drawMenu = MainMenu.Add(new Menu("Draw", "Draw")); { drawMenu.Bool("Q", "Q Range"); drawMenu.Bool("W", "W Range"); drawMenu.Bool("E", "E Range", false); drawMenu.Bool("R", "R Range"); drawMenu.Bool("Target", "Target"); drawMenu.Bool("WPos", "W Shadow"); drawMenu.Bool("RPos", "R Shadow"); } MainMenu.KeyBind("FleeW", "Use W To Flee", Keys.C); Evade.TryEvading += TryEvading; Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; GameObject.OnCreate += (sender, args) => { var shadow = sender as Obj_AI_Minion; if (shadow == null || !shadow.IsValid || shadow.Name != "Shadow" || shadow.IsEnemy) { return; } if (wCasted) { wShadow = shadow; wCasted = false; rCasted = false; DelayAction.Add(4450, () => wShadow = null); } else if (rCasted) { rShadow = shadow; rCasted = false; wCasted = false; DelayAction.Add(7450, () => rShadow = null); } }; GameObject.OnCreate += (sender, args) => { var mark = sender as Obj_GeneralParticleEmitter; if (mark != null && mark.IsValid && mark.Name == "Zed_Base_R_buf_tell.troy" && rShadow.IsValid() && deathMark == null) { deathMark = mark; } }; GameObject.OnDelete += (sender, args) => { var mark = sender as Obj_GeneralParticleEmitter; if (mark != null && mark.IsValid && mark.Name == "Zed_Base_R_buf_tell.troy" && deathMark.NetworkId == mark.NetworkId) { deathMark = null; } }; Obj_AI_Base.OnProcessSpellCast += (sender, args) => { if (!sender.IsMe) { return; } if (args.SData.Name == "ZedW") { rCasted = false; wCasted = true; } if (args.SData.Name == "ZedR") { wCasted = false; rCasted = true; } }; }
private static void OnLoad(object sender, EventArgs e) { Q = new Spell(SpellSlot.Q, 600f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 400f); Q.SetTargetted(0f, 1000f, Player.Position); Config = new Menu("Mighty Fiora", "Mighty Fiora", true); Config.Add(new MenuSeparator("Mighty Fiora", "Mighty Fiora")); var combo = Config.Add(new Menu("combo", "Combo Settings")); var spell = Config.Add(new Menu("spell", "Spell Settings")); combo.Add(new MenuSeparator("Combo Menu", "Combo Menu")); combo.Add(new MenuBool("UseQ", "Use Q", true)); combo.Add(new MenuBool("UseW", "Use W", true)); combo.Add(new MenuBool("UseE", "Use E", true)); combo.Add(new MenuBool("UseR", "Use R", true)); //Advanced Spell Settings spell.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings")); spell.Add(new MenuBool("qgapcloseonly", "Use [Q] for Gapclosing only", false)); spell.Add((new MenuSlider("qgapcloserange", "Gapclose Range", 300, 0, 600))); spell.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings")); spell.Add(new MenuBool("autow", "Use [W] on Autoattacks", true)); spell.Add(new MenuSlider("wdelay", "Cast Delay in Miliseconds", 80, 0, 1000)); spell.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings")); spell.Add(new MenuBool("UseRF", "Use [R] on Killable", true)); spell.Add(new MenuKeyBind("forceR", "Force [R] Toggle (will R after Combo)", Keys.J, KeyBindType.Toggle)); spell.Add(new MenuBool("rhp", "Auto [R] if HP <= %", true)); spell.Add((new MenuSlider("rhp%", "Player HP %", 30, 0, 100))); spell.Add(new MenuBool("rAOE", "Auto [R] on X amount of Enemies", true)); spell.Add((new MenuSlider("rcount", "Enemy Count", 4, 0, 5))); var harass = Config.Add(new Menu("harass", "Harass Settings")); harass.Add(new MenuSeparator("Harass Menu", "Harass Menu")); harass.Add(new MenuBool("harrQ", "Use Q", true)); harass.Add(new MenuBool("harrE", "Use E", true)); var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings")); laneclear.Add(new MenuSeparator("Coming Soon", "Coming Soon")); var drawing = Config.Add(new Menu("draw", "Draw Settings")); drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu")); drawing.Add(new MenuBool("disable", "Disable all drawings", false)); drawing.Add(new MenuList<string>("drawmode", "Drawing Mode:", objects: new[] {"Normal", "Custom"})); drawing.Add(new MenuBool("disableq", "[Q] draw", true)); drawing.Add(new MenuBool("disableqp", "[Q] Gapclose draw", true)); drawing.Add(new MenuBool("disablee", "[E] draw", true)); drawing.Add(new MenuBool("disabler", "[R] draw", true)); drawing.Add(new MenuSeparator("Color Settings", "Color Settings")); //I'll call your parents if you copy this. KappaHD //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawqp", "[Q] Gapclose Draw Color", new ColorBGRA(125, 20, 10, 255))); drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuSeparator("Misc Settings", "Misc Settings")); drawing.Add(new MenuBool("dmgindic", "Damage Indicator", true)); drawing.Add(new MenuBool("targets", "Draw Selected Target", true)); Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings") { Action = () => { Config.RestoreDefault(); } }); Bootstrap.Init(new string[] { }); Config.Attach(); Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Orbwalker.OnAction += OnAction; Drawing.OnDraw += OnDraw; Obj_AI_Hero.OnBuffRemove += Tiamat; Obj_AI_Hero.OnBuffAdd += Qbuff; Drawing.OnEndScene += DamageIn; }
public Cassiopeia() { abilitySequence = new int[] {1, 3, 3, 2, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2}; Q = new Spell(SpellSlot.Q, 850f); Spells.Add(Q); Q.SetSkillshot(0.75f, Q.Instance.SData.CastRadius, float.MaxValue, false, SkillshotType.SkillshotCircle); W = new Spell(SpellSlot.W, 850f); Spells.Add(W); W.SetSkillshot(0.5f, W.Instance.SData.CastRadius, W.Instance.SData.MissileSpeed, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 700f); Spells.Add(E); E.SetTargetted(0.2f, float.MaxValue); R = new Spell(SpellSlot.R, 825f); Spells.Add(R); R.SetSkillshot(0.3f, (float) (80*Math.PI/180), float.MaxValue, false, SkillshotType.SkillshotCone); Z = new Menu("Adv# - Cassiopeia", "root", true); LeagueSharp.SDK.Core.Bootstrap.Init(null); Menu MCombo = new Menu("Combo", "combo"); { MCombo.Add(new MenuBool("combo.q", "Use Q", true)); MCombo.Add(new MenuBool("combo.w", "Use W", true)); MCombo.Add(new MenuBool("combo.e", "Use E", true)); MCombo.Add(new MenuBool("combo.r", "Use R", true)); MCombo.Add(new MenuSeparator("combo.spacer1", "R Settings")); MCombo.Add(new MenuSlider("combo.r.minfacing", "R Minimum Facing", 1, 1, 5)); MCombo.Add(new MenuSlider("combo.r.minhit", "R Minimum Hit", 1, 1, 5)); MCombo.Add(new MenuBool("combo.r.smart", "Smart Ultimate", true)); } Z.Add(MCombo); Menu MHarass = new Menu("Harass", "harass"); { MHarass.Add(new MenuBool("harass.q", "Use Q", true)); MHarass.Add(new MenuBool("harass.w", "Use W", true)); MHarass.Add(new MenuBool("harass.e", "Use E", true)); MHarass.Add(new MenuBool("harass.spacer1", " ")); MHarass.Add(new MenuBool("harass.e.restriction", "E Only If Poisoned", true)); } Z.Add(MHarass); Menu MLH = new Menu("Last Hit", "lasthit"); { MLH.Add(new MenuBool("lasthit.e", "Use E", true)); MLH.Add(new MenuBool("lasthit.e.auto", "Use E Automatically", false)); } Z.Add(MLH); Menu MLC = new Menu("Lane Clear", "laneclear"); { MLC.Add(new MenuBool("laneclear.q", "Use Q", true)); MLC.Add(new MenuBool("laneclear.w", "Use W", true)); MLC.Add(new MenuBool("laneclear.e", "Use E", true)); MLC.Add(new MenuSeparator("laneclear.spacer1", "E Settings")); MLC.Add(new MenuBool("laneclear.e.restriction", "E Only If Poisoned", true)); MLC.Add(new MenuBool("laneclear.e.lasthit", "E Only If Last Hit", true)); MLC.Add(new MenuSlider("laneclear.w.restriction", "W Minimum Hit", 3, 1, 10)); } Z.Add(MLC); Menu Misc = new Menu("Misc", "misc"); { Misc.Add(new MenuBool("misc.manamenagertm", "Restrict Mana Usage", true)); Misc.Add(new MenuSlider("misc.manamenagertm.slider", "Minimum Mana", 35, 0, 95)); Misc.Add(new MenuBool("misc.spacer1", "Item Stack")); Misc.Add(new MenuBool("misc.itemstack", "Item Stacking", true)); Misc.Add(new MenuSeparator("misc.spacer3", "Kill Steal")); Misc.Add(new MenuBool("misc.qks", "Kill Secure with Q", true)); Misc.Add(new MenuBool("misc.wks", "Kill Secure with W", true)); Misc.Add(new MenuBool("misc.eks", "Kill Secure with E", true)); Misc.Add(new MenuSlider("misc.edelay", "E Delay", 0, 0, 500)); Misc.Add(new MenuSeparator("misc.spacer4", "Miscellaneous")); Misc.Add(new MenuBool("misc.autospells", "Auto Level Spells", true)); Misc.Add(new MenuSeparator("misc.spacer5", "Events")); Misc.Add(new MenuBool("misc.gc", "W on gap closer", true)); Misc.Add(new MenuSlider("misc.gc.hp", "if HP < ", 30)); Misc.Add(new MenuBool("misc.aablock", "Auto Attack Block in combo", false)); } Z.Add(Misc); Menu Drawings = new Menu("Drawings", "drawings"); { Drawings.Add(new MenuBool("draw", "Drawings", true)); Drawings.Add(new MenuBool("draw.q", "Draw Q Range", true)); Drawings.Add(new MenuBool("draw.w", "Draw W Range", true)); Drawings.Add(new MenuBool("draw.e", "Draw E Range", true)); Drawings.Add(new MenuBool("draw.r", "Draw R Range", true)); Drawings.Add(new MenuBool("draw.tg", "Draw Target", true)); } Z.Add(Drawings); Z.Add(new MenuBool("credits1", "Credits:")); Z.Add(new MenuBool("credits2", "TehBlaxxor - Coding")); Z.Add(new MenuBool("credits3", "Hoes - Coding")); Z.Add(new MenuBool("credits4", "Hawk - Testing")); Z.Attach(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapCloser += AntiGapCloser; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
public Yasuo() { Q = new Spell(SpellSlot.Q, 500); Q2 = new Spell(SpellSlot.Q, 1150); W = new Spell(SpellSlot.W, 400); E = new Spell(SpellSlot.E, 475); R = new Spell(SpellSlot.R, 1300); Q.SetSkillshot(GetQ12Delay, 20, float.MaxValue, false, SkillshotType.SkillshotLine); Q2.SetSkillshot(GetQ3Delay, 90, 1500, false, SkillshotType.SkillshotLine); E.SetTargetted(0.05f, GetESpeed); Q.DamageType = Q2.DamageType = R.DamageType = DamageType.Physical; E.DamageType = DamageType.Magical; Q.MinHitChance = Q2.MinHitChance = HitChance.VeryHigh; var orbwalkMenu = MainMenu.Add(new Menu("Orbwalk", "Orbwalk")); { orbwalkMenu.Separator("Q: Always On"); orbwalkMenu.Separator("Sub Settings"); orbwalkMenu.Bool("Ignite", "Use Ignite"); orbwalkMenu.Bool("Item", "Use Item"); orbwalkMenu.Separator("E Gap Settings"); orbwalkMenu.Bool("EGap", "Use E"); orbwalkMenu.List("EMode", "Follow Mode", new[] { "Enemy", "Mouse" }); orbwalkMenu.Slider("ERange", "If Distance >", 300, 0, (int)E.Range); orbwalkMenu.Bool("ETower", "Under Tower"); orbwalkMenu.Bool("EStackQ", "Stack Q While Gap", false); orbwalkMenu.Separator("R Settings"); orbwalkMenu.Bool("R", "Use R"); orbwalkMenu.Bool("RDelay", "Delay Casting"); orbwalkMenu.Slider("RHpU", "If Enemy Hp < (%)", 60); orbwalkMenu.Slider("RCountA", "Or Enemy >=", 2, 1, 5); } var hybridMenu = MainMenu.Add(new Menu("Hybrid", "Hybrid")); { hybridMenu.Separator("Q: Always On"); hybridMenu.Bool("Q3", "Also Q3"); hybridMenu.Bool("QLastHit", "Last Hit (Q1/2)"); hybridMenu.Separator("Auto Q Settings"); hybridMenu.KeyBind("AutoQ", "KeyBind", Keys.T, KeyBindType.Toggle); hybridMenu.Bool("AutoQ3", "Also Q3", false); } var lcMenu = MainMenu.Add(new Menu("LaneClear", "Lane Clear")); { lcMenu.Separator("Q: Always On"); lcMenu.Bool("Q3", "Also Q3"); lcMenu.Separator("E Settings"); lcMenu.Bool("E", "Use E"); lcMenu.Bool("ELastHit", "Last Hit Only", false); lcMenu.Bool("ETower", "Under Tower", false); } var farmMenu = MainMenu.Add(new Menu("Farm", "Farm")); { farmMenu.Separator("Q Settings"); farmMenu.Bool("Q", "Use Q"); farmMenu.Bool("Q3", "Also Q3", false); farmMenu.Separator("E Settings"); farmMenu.Bool("E", "Use E"); farmMenu.Bool("ETower", "Under Tower", false); } var ksMenu = MainMenu.Add(new Menu("KillSteal", "Kill Steal")); { ksMenu.Bool("Q", "Use Q"); ksMenu.Bool("E", "Use E"); ksMenu.Bool("R", "Use R"); ksMenu.Separator("Extra R Settings"); foreach (var enemy in GameObjects.EnemyHeroes) { ksMenu.Bool("RCast" + enemy.ChampionName, "Cast On " + enemy.ChampionName, false); } } var fleeMenu = MainMenu.Add(new Menu("Flee", "Flee")); { fleeMenu.KeyBind("E", "Use E", Keys.C); fleeMenu.Bool("Q", "Stack Q While Dash"); } if (GameObjects.EnemyHeroes.Any()) { Evade.Init(); EvadeTarget.Init(); } var drawMenu = MainMenu.Add(new Menu("Draw", "Draw")); { drawMenu.Bool("Q", "Q Range"); drawMenu.Bool("E", "E Range", false); drawMenu.Bool("R", "R Range"); drawMenu.Bool("StackQ", "Auto Stack Q Status"); } MainMenu.KeyBind("StackQ", "Auto Stack Q", Keys.Z, KeyBindType.Toggle); Evade.Evading += Evading; Evade.TryEvading += TryEvading; Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Obj_AI_Base.OnPlayAnimation += (sender, args) => { if (!sender.IsMe || args.Animation != "Spell3") { return; } isDashing = true; DelayAction.Add( 300, () => { if (Player.IsDashing()) { isDashing = false; } }); DelayAction.Add(450, () => isDashing = false); }; }
public static void Initialize() { _Q = new Spell(SpellSlot.Q, 1050); _Q.SetSkillshot(.25f, 60f, 1600f, true, SkillshotType.SkillshotLine); _W = new Spell(SpellSlot.W, 900); _W.SetSkillshot(1f, 240f, float.MaxValue, false, SkillshotType.SkillshotCircle); _E = new Spell(SpellSlot.E, 625); _E.SetTargetted(0.25f, float.MaxValue); _R = new Spell(SpellSlot.R, 750); _R.SetTargetted(.25f, 1000f); }
public LeeSin() { Q = new Spell(SpellSlot.Q, 1100); Q2 = new Spell(SpellSlot.Q, 1300); W = new Spell(SpellSlot.W, 700); E = new Spell(SpellSlot.E, 400); E2 = new Spell(SpellSlot.E, 550); R = new Spell(SpellSlot.R, 375); Q.SetSkillshot(0.25f, 60, 1800, true, SkillshotType.SkillshotLine); W.SetTargetted(0.05f, 1400); R.SetTargetted(0.25f, 1500); Q.DamageType = Q2.DamageType = W.DamageType = R.DamageType = DamageType.Physical; E.DamageType = DamageType.Magical; Q.MinHitChance = HitChance.VeryHigh; Insec.Init(); var orbwalkMenu = MainMenu.Add(new Menu("Orbwalk", "Orbwalk")); { orbwalkMenu.KeyBind("Star", "Star Combo", Keys.X); orbwalkMenu.Bool("W", "Use W", false); orbwalkMenu.Bool("E", "Use E"); orbwalkMenu.Separator("Q Settings"); orbwalkMenu.Bool("Q", "Use Q"); orbwalkMenu.Bool("Q2", "-> Also Q2"); orbwalkMenu.Bool("QCol", "Smite Collision"); orbwalkMenu.Separator("R Settings"); orbwalkMenu.Bool("R", "Use R"); orbwalkMenu.Bool("RKill", "If Kill Enemy Behind"); orbwalkMenu.Slider("RCountA", "Or Hit Enemy Behind >=", 1, 1, 4); orbwalkMenu.Separator("Sub Settings"); orbwalkMenu.Bool("Ignite", "Use Ignite"); orbwalkMenu.Bool("Item", "Use Item"); } var farmMenu = MainMenu.Add(new Menu("Farm", "Farm")); { farmMenu.Bool("Q", "Use Q1"); } var ksMenu = MainMenu.Add(new Menu("KillSteal", "Kill Steal")); { ksMenu.Bool("Q", "Use Q"); ksMenu.Bool("E", "Use E"); ksMenu.Bool("R", "Use R"); ksMenu.Separator("Extra R Settings"); foreach (var enemy in GameObjects.EnemyHeroes) { ksMenu.Bool("RCast" + enemy.ChampionName, "Cast On " + enemy.ChampionName, false); } } var drawMenu = MainMenu.Add(new Menu("Draw", "Draw")); { drawMenu.Bool("Q", "Q Range", false); drawMenu.Bool("W", "W Range"); drawMenu.Bool("E", "E Range", false); drawMenu.Bool("R", "R Range", false); } MainMenu.KeyBind("FleeW", "Use W To Flee", Keys.C); Game.OnUpdate += OnUpdate; Drawing.OnDraw += args => { if (Player.IsDead) { return; } if (MainMenu["Draw"]["Q"] && Q.Level > 0) { Drawing.DrawCircle( Player.Position, (IsQOne ? Q : Q2).Range, Q.IsReady() ? Color.LimeGreen : Color.IndianRed); } if (MainMenu["Draw"]["W"] && W.Level > 0 && IsWOne) { Drawing.DrawCircle(Player.Position, W.Range, W.IsReady() ? Color.LimeGreen : Color.IndianRed); } if (MainMenu["Draw"]["E"] && E.Level > 0) { Drawing.DrawCircle( Player.Position, (IsEOne ? E : E2).Range, E.IsReady() ? Color.LimeGreen : Color.IndianRed); } if (MainMenu["Draw"]["R"] && R.Level > 0) { Drawing.DrawCircle(Player.Position, R.Range, R.IsReady() ? Color.LimeGreen : Color.IndianRed); } }; Obj_AI_Base.OnProcessSpellCast += (sender, args) => { if (!sender.IsMe) { return; } if (MainMenu["Orbwalk"]["Star"].GetValue<MenuKeyBind>().Active && args.SData.Name == "BlindMonkRKick" && E.IsReady() && IsEOne && HaveQ((Obj_AI_Hero)args.Target) && Player.Mana >= 80) { DelayAction.Add(R.Delay * 1000, () => E.Cast()); } }; }
/// <summary> /// Called when the game loads. /// </summary> /// <param name="sender"> /// The sender. /// </param> /// <param name="eventArgs"> /// The <see cref="EventArgs"/> instance containing the event data. /// </param> private static void LoadOnOnLoad(object sender, EventArgs eventArgs) { if (Player.CharData.BaseSkinName != "Irelia") { return; } Bootstrap.Init(null); Q = new Spell(SpellSlot.Q, 0x28A); W = new Spell(SpellSlot.W, Player.AttackRange + Player.BoundingRadius); E = new Spell(SpellSlot.E, 0x1A9); R = new Spell(SpellSlot.R, 0x4B0); Q.SetTargetted(0x3E876C8B, 0x898); E.SetTargetted(0x3E800000, 0x14); R.SetSkillshot(0x3E800000, 0x41, 0x640, false, SkillshotType.SkillshotLine); Botrk = new Items.Item(ItemId.Blade_of_the_Ruined_King, 0x226); Randuins = new Items.Item(ItemId.Randuins_Omen, 0x1F4); Hextech = new Items.Item(ItemId.Hextech_Gunblade, 0x2BC); CreateMenu(); Game.OnUpdate += Game_OnUpdate; Obj_AI_Base.OnProcessSpellCast += ObjAiBaseOnProcessSpellCast; Drawing.OnDraw += DrawingOnDraw; InterruptableSpell.OnInterruptableTarget += InterruptableSpellOnInterruptableTarget; Gapcloser.OnGapCloser += GapcloserOnGapCloser; }