mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-08 23:20:12 +00:00
Halloween on a Torus
This commit is contained in:
parent
2d5eee7035
commit
f1115c4a0a
@ -934,6 +934,11 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
if(quotient && zebra40(c) == 5) {
|
if(quotient && zebra40(c) == 5) {
|
||||||
c->wall = waChasm;
|
c->wall = waChasm;
|
||||||
}
|
}
|
||||||
|
if(torus) {
|
||||||
|
int i = hrand(100);
|
||||||
|
if(i == 0) c->item = itTreat;
|
||||||
|
else if(i < 5) c->wall = waChasm;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user