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