public static bool EnemyInAzirRange(Obj_AI_Base ene) { var solis = GetActiveSoliders(); return(!ene.IsDead && solis.Count != 0 && solis.Where(sol => !sol.IsMoving && !Dash.IsDashing(sol)) .Any(sol => ene.Distance(sol, true) < AzirSoliderRange * AzirSoliderRange)); }
public static void TriggerOnDash(Obj_AI_Base sender, Dash.DashItem args) { var dashHandler = OnDash; if (dashHandler != null) { dashHandler(sender, args); } }