mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-28 03:24:30 +00:00
dice:: don't generate any dice if Safety is on
This commit is contained in:
1 parent
7f15f3b46f
commit
655cc1a8b5
1 file changed
+1
@@ -1016,6 +1016,7 @@ EX namespace dice {
|
||||
EX void generate_full(cell *c, int hard) {
|
||||
int dp = die_possible(c);
|
||||
if(!dp) return;
|
||||
if(safety) return;
|
||||
int pct = hrand(100);
|
||||
int pct2 = hrand(6000);
|
||||
if(dp == 4) {
|
||||
|
||||
Reference in new issue
Block a user