void AntiGapCloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e) { if (!e.Sender.IsValidTarget() || !TalliyahTheTrollMeNu.GapcloserE() || e.Sender.Type != Player.Type || !e.Sender.IsEnemy || e.Sender.IsAlly) { return; } E.Cast(e.Sender.ServerPosition); }
void AntiGapCloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e) { if (!e.Sender.IsValidTarget() || !TalliyahTheTrollMeNu.GapcloserE() || e.Sender.Type != Player.Type || !e.Sender.IsEnemy || e.Sender.IsAlly || e.End.Distance(Player) >= E.Range) { return; } E.Cast(e.End); }