1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

Halloween on a Torus

This commit is contained in:
Zeno Rogue 2017-11-03 19:50:22 +01:00
parent 2d5eee7035
commit f1115c4a0a

View File

@ -934,6 +934,11 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(quotient && zebra40(c) == 5) {
c->wall = waChasm;
}
if(torus) {
int i = hrand(100);
if(i == 0) c->item = itTreat;
else if(i < 5) c->wall = waChasm;
}
}
break;