1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

Cursed Land: less turrets

This commit is contained in:
Zeno Rogue 2021-05-23 15:54:46 +02:00
parent 773e3afd7c
commit 5e1bea6c3b

View File

@ -2618,8 +2618,12 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
bool turret = true;
forCellEx(c1, c) if(c1->wall != waStone) turret = false;
if(turret) {
c->monst = moHexer;
c->item = pick(itCurseWeakness, itCurseDraining, itCurseWater, itCurseFatigue, itCurseRepulsion, itCurseGluttony);
if(hrand(100) < 80)
c->wall = waStone;
else {
c->monst = moHexer;
c->item = pick(itCurseWeakness, itCurseDraining, itCurseWater, itCurseFatigue, itCurseRepulsion, itCurseGluttony);
}
}
}