예제 #1
0
        public void OnDayStart()
        {
            CurrentDefense           = Defense;
            CurrentlyDetectionImmune = DetectionImmune;
            CurrentlyRoleBlockImmune = RoleBlockImmune;
            RoleBlockers.Clear();

            if (Blackmailed)
            {
                User.Match.Chat.Main().Mute(User);
            }
        }
예제 #2
0
 public bool RoleBlock(bool piercing = false, params IPlayer[] blockers)
 {
     if (CurrentlyRoleBlockImmune && !piercing)
     {
         return(false);
     }
     foreach (var blocker in blockers)
     {
         RoleBlockers.Add(blocker);
     }
     return(true);
 }