public void AttackBinder(Attacking.Context context) { context.SetSingleTarget(guest.GetTransform()); }
private static bool SkipNoPlayer(Attacking.Context ctx) { return(ctx.targetingContext.targetContexts.Any(t => t.transform != null && t.transform.entity.IsPlayer())); }
private static bool SkipSelf(Attacking.Context ctx) { return(ctx.targetingContext.targetContexts.Any(t => t.transform != null && t.transform.entity == ctx.actor)); }
private static bool SkipEmptyAttack(Attacking.Context ctx) { return(ctx.targetingContext.targetContexts.Any()); }