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