make insomniac (and beholder) sleep n0

This commit is contained in:
emilis 2025-10-13 22:15:40 +01:00
parent 00617afe7b
commit 5c8e33dab1
No known key found for this signature in database
1 changed files with 5 additions and 9 deletions

View File

@ -1,8 +1,4 @@
use core::{ use core::{fmt::Display, num::NonZeroU8, ops::Not};
fmt::Display,
num::NonZeroU8,
ops::{Deref, Not},
};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use werewolves_macros::{ChecksAs, Titles}; use werewolves_macros::{ChecksAs, Titles};
@ -307,15 +303,15 @@ impl Role {
pub const fn wakes_night_zero(&self) -> bool { pub const fn wakes_night_zero(&self) -> bool {
match self { match self {
Role::Insomniac Role::PowerSeer
| Role::PowerSeer
| Role::Beholder
| Role::Adjudicator | Role::Adjudicator
| Role::DireWolf { .. } | Role::DireWolf { .. }
| Role::Arcanist | Role::Arcanist
| Role::Seer => true, | Role::Seer => true,
Role::LoneWolf Role::Insomniac // has to at least get one good night of sleep, right?
| Role::Beholder
| Role::LoneWolf
| Role::Shapeshifter { .. } | Role::Shapeshifter { .. }
| Role::Werewolf | Role::Werewolf
| Role::AlphaWolf { .. } | Role::AlphaWolf { .. }