public static void ApCombo() { var Target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Magical); if (Target != null && Target.LSIsValidTarget() && !Target.IsZombie) { if (Player.Mana == 5) { if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && hasPassive) { ITEM.CastYomu(); } if (Target.Distance(Player) <= Spells.W.Range) { if (MenuConfig.UseItem && Spells.W.IsReady()) { ITEM.CastHydra(); } if (Spells.W.IsReady()) { Spells.W.Cast(Target); } } } if (Player.Mana < 5) { if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && hasPassive) { ITEM.CastYomu(); } if (MenuConfig.UseItem && !hasPassive) { ITEM.CastProtobelt(); } if (Target.Distance(Player) <= Spells.W.Range) { if (MenuConfig.UseItem && Spells.W.IsReady()) { ITEM.CastHydra(); } if (Spells.W.IsReady()) { Spells.W.Cast(Target); Spells.W.Cast(Target); } else if (Spells.Q.IsReady()) { Spells.Q.Cast(Target); } else if (Spells.E.IsReady() && Target.Distance(Player) <= Spells.W.Range + 225) { if (MenuConfig.IgnoreE && hasPassive) { Spells.E.Cast(Game.CursorPos); } else { Spells.E.Cast(Target); } } } } } }
public static void ApCombo() { var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Magical); if (target == null || !target.LSIsValidTarget() || target.IsZombie) { return; } if (Player.Mana == 5) { if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive) { ITEM.CastYomu(); } if (target.Distance(Player) <= Spells.W.Range) { if (MenuConfig.UseItem && Spells.W.IsReady()) { ITEM.CastHydra(); } if (Spells.W.IsReady()) { Spells.W.Cast(target); } } } if (!(Player.Mana < 5)) { return; } if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive) { ITEM.CastYomu(); } if (MenuConfig.UseItem && !HasPassive) { ITEM.CastProtobelt(); } if (!(target.Distance(Player) <= Spells.W.Range)) { return; } if (MenuConfig.UseItem && Spells.W.IsReady()) { ITEM.CastHydra(); } if (Spells.W.IsReady()) { Spells.W.Cast(target); Spells.W.Cast(target); } else if (Spells.Q.IsReady()) { Spells.Q.Cast(target); } else if (Spells.E.IsReady() && target.Distance(Player) <= Spells.W.Range + 225) { if (MenuConfig.IgnoreE) { Spells.E.Cast(target.ServerPosition); } else { Spells.E.CastIfHitchanceEquals(target, HitChance.Collision); } } }
public static void ApCombo() { var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Magical); if (target == null || !target.IsValidTarget() || target.IsZombie) { return; } if (Player.Mana == 5) { if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive()) { ITEM.CastYomu(); } if (target.Distance(Player) <= Spells.W.Range) { if (MenuConfig.UseItem && Spells.W.IsReady()) { ITEM.CastHydra(); } if (Spells.W.IsReady()) { Spells.W.Cast(target); } } } if (!(Player.Mana < 5)) { return; } if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive()) { ITEM.CastYomu(); } if (MenuConfig.UseItem && !HasPassive()) { ITEM.CastProtobelt(); } if (!(target.Distance(Player) <= Spells.W.Range)) { return; } if (MenuConfig.UseItem && Spells.W.IsReady()) { ITEM.CastHydra(); } if (Spells.W.IsReady()) { Spells.W.Cast(target); Spells.W.Cast(target); } else if (Spells.Q.IsReady()) { Spells.Q.Cast(target); } else if (Spells.E.IsReady() && !Spells.W.IsReady() && target.Distance(Player) <= float.MaxValue) { if (HasPassive() && MenuConfig.EBackwards) { Spells.E.Cast(target.Position / 2); } else { Spells.E.CastIfHitchanceMinimum(target, HitChance.Medium); } } }