mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-08 20:32:50 +00:00
Cursed Land: less turrets
This commit is contained in:
parent
773e3afd7c
commit
5e1bea6c3b
@ -2618,10 +2618,14 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
bool turret = true;
|
bool turret = true;
|
||||||
forCellEx(c1, c) if(c1->wall != waStone) turret = false;
|
forCellEx(c1, c) if(c1->wall != waStone) turret = false;
|
||||||
if(turret) {
|
if(turret) {
|
||||||
|
if(hrand(100) < 80)
|
||||||
|
c->wall = waStone;
|
||||||
|
else {
|
||||||
c->monst = moHexer;
|
c->monst = moHexer;
|
||||||
c->item = pick(itCurseWeakness, itCurseDraining, itCurseWater, itCurseFatigue, itCurseRepulsion, itCurseGluttony);
|
c->item = pick(itCurseWeakness, itCurseDraining, itCurseWater, itCurseFatigue, itCurseRepulsion, itCurseGluttony);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* place curses on chokepoints */
|
/* place curses on chokepoints */
|
||||||
if(c->wall == waNone && !c->item) {
|
if(c->wall == waNone && !c->item) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user