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:
parent
773e3afd7c
commit
5e1bea6c3b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user