Exemple #1
0
 public SetupTargets(
     IAbility parent,
     TargetFilter filter,
     TargetNotification notification,
     int priority = 0)
 {
     Parent       = parent;
     Priority     = priority;
     TargetFilter = filter;
     Notification = notification;
 }
Exemple #2
0
 public TargetNotification UserMessage()
 {
     return(Match.Phase.Day == 1
         ? new TargetNotification
     {
         UserAddMessage = target =>
         {
             Targets.ForceSet(null);
             return Notification.Chat(Role, ShootKey.FirstNight);
         }
     }
         : TargetNotification.Enum <ShootKey>(this));
 }