public void OnDayStart() { CurrentDefense = Defense; CurrentlyDetectionImmune = DetectionImmune; CurrentlyRoleBlockImmune = RoleBlockImmune; RoleBlockers.Clear(); if (Blackmailed) { User.Match.Chat.Main().Mute(User); } }
public bool RoleBlock(bool piercing = false, params IPlayer[] blockers) { if (CurrentlyRoleBlockImmune && !piercing) { return(false); } foreach (var blocker in blockers) { RoleBlockers.Add(blocker); } return(true); }