public void Escape() { var escapeTarget = YasuoUtils.ClosestMinion(Game.CursorPos); if (escapeTarget != null) { SweepingBlade.GapClose(escapeTarget, true); } if (SteelTempest.Empowered && SteelTempest.Q.IsReady() && !ObjectManager.Player.IsDashing()) { var q3Target = TargetSelector.GetTarget(SteelTempest.QEmp.Range, TargetSelector.DamageType.Physical); if (q3Target != null) { SteelTempest.QEmp.Cast(q3Target); } } }
public void Combo() { if (doingEQCombo) { if (ObjectManager.Player.IsDashing() && SteelTempest.Q.IsReady() && SteelTempest.Empowered && ObjectManager.Player.CountEnemiesInRange(250) > 0) { SteelTempest.QDash.Cast(); doingEQCombo = false; } if (doingEQCombo) { return; } } var comboTarget = TargetSelector.GetTarget(LastBreath.R.Range, TargetSelector.DamageType.Physical); if (comboTarget != null && comboTarget.IsValid) { if (YasuoUtils.DecideKnockup(comboTarget)) { var bestUnit = YasuoUtils.BestQDashKnockupUnit(); if (bestUnit != null) { doingEQCombo = true; SweepingBlade.E.Cast(bestUnit); LeagueSharp.Common.Utility.DelayAction.Add(100, () => { doingEQCombo = false; }); } } else { SweepingBlade.GapClose(comboTarget); } } else { SweepingBlade.GapClose(); return; } var targetDistance = comboTarget.Distance(ObjectManager.Player, true); if (Config.Param <bool>("ylm.combo.useq") && SteelTempest.Q.IsReady() && targetDistance <= SteelTempest.Q.RangeSqr) { SteelTempest.Q.Cast(comboTarget); } if (Config.Param <bool>("ylm.combo.useq3") && SteelTempest.Empowered && SteelTempest.Q.IsReady() && targetDistance <= SteelTempest.QEmp.RangeSqr) { SteelTempest.QEmp.Cast(comboTarget); } if (Config.Param <bool>("ylm.combo.user") && LastBreath.ShouldUlt(comboTarget)) { LastBreath.CastR(comboTarget); } //TODO: Items }