private static void Harass() { if (Target == null || !Target.IsValidTarget(Spells.E.Range)) { return; } if (Dmg.Stacks(Target) >= MenuConfig.HarassE && Target.Distance(Player) >= Player.AttackRange + 50) { E.Cast(); } if (!MenuConfig.HarassW || !Spells.W.IsReady()) { return; } W.Cast(Target.Position); }
private static void Harass() { if (Target == null || Target.IsInvulnerable || !Target.LSIsValidTarget()) { return; } if (Dmg.Stacks(Target) >= MenuConfig.HarassE && Target.Distance(Player) >= Player.AttackRange + 50) { E.Cast(); } if (!MenuConfig.HarassW) { return; } var wPred = W.GetPrediction(Target).CastPosition; W.Cast(wPred); }
public static void Update(EventArgs args) { if (!MenuConfig.EBeforeDeath) { return; } if (!Spells.E.IsReady()) { return; } var target = GameObjects.EnemyHeroes.FirstOrDefault(x => x.LSIsValidTarget(1200) && Dmg.Stacks(x) > 0 && !x.IsDead && !x.IsInvulnerable); if (target == null) { return; } if (GameObjects.Player.HealthPercent <= 8) { Spells.E.Cast(); } }