diff options
| author | salmonik <salmonik@tuta.io> | 2026-07-11 16:05:53 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-07-11 16:05:53 +0200 |
| commit | 31661b25d35e8f2b72b2151585b00a5af74e7ec2 (patch) | |
| tree | 3380b9c4e8e04bcb19e4a3422edf5cb57e968f69 /src/game.rs | |
| parent | add psychedelic horror effects: phantom walls, shifting maze, darkness, color... (diff) | |
| download | dungeon-31661b25d35e8f2b72b2151585b00a5af74e7ec2.tar.gz dungeon-31661b25d35e8f2b72b2151585b00a5af74e7ec2.zip | |
fix shifting maze sanity thresholds: only triggers at <60%
Diffstat (limited to 'src/game.rs')
| -rw-r--r-- | src/game.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game.rs b/src/game.rs index 1cc12f2..cec85a2 100644 --- a/src/game.rs +++ b/src/game.rs | |||
| @@ -1734,7 +1734,6 @@ impl Game { | |||
| 1734 | } | 1734 | } |
| 1735 | // Chance based on sanity. | 1735 | // Chance based on sanity. |
| 1736 | let chance = match self.sanity { | 1736 | let chance = match self.sanity { |
| 1737 | 60..=79 => 0.05, | ||
| 1738 | 40..=59 => 0.05, | 1737 | 40..=59 => 0.05, |
| 1739 | 20..=39 => 0.10, | 1738 | 20..=39 => 0.10, |
| 1740 | _ if self.sanity < 20 => 0.15, | 1739 | _ if self.sanity < 20 => 0.15, |
