mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +00:00
Palace no longer generates monsters on mirrors
This commit is contained in:
parent
8c6aba5f6f
commit
c894e8dd61
@ -537,8 +537,8 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
c->item = hrand(100) < 80 ? itOrbFrog : itOrbDiscord;
|
c->item = hrand(100) < 80 ? itOrbFrog : itOrbDiscord;
|
||||||
if(hrand(5000) < 20*PRIZEMUL && c->wall != waOpenGate)
|
if(hrand(5000) < 20*PRIZEMUL && c->wall != waOpenGate)
|
||||||
placePrizeOrb(c);
|
placePrizeOrb(c);
|
||||||
if(c->wall == waNone) buildPrizeMirror(c, 250);
|
if(c->wall == waNone && buildPrizeMirror(c, 250)) {}
|
||||||
if(c->land == laPalace && (eubinary || c->master->alt) && celldistAlt(c) <= 150 && !(havewhat&HF_MOUSE) && !princess::generating &&
|
else if(c->land == laPalace && (eubinary || c->master->alt) && celldistAlt(c) <= 150 && !(havewhat&HF_MOUSE) && !princess::generating &&
|
||||||
princess::getPrisonInfo(c) &&
|
princess::getPrisonInfo(c) &&
|
||||||
(eubinary || (princess::getPrisonInfo(c)->bestdist < 6 && princess::getPrisonInfo(c)->princess))) {
|
(eubinary || (princess::getPrisonInfo(c)->bestdist < 6 && princess::getPrisonInfo(c)->princess))) {
|
||||||
c->monst = moMouse;
|
c->monst = moMouse;
|
||||||
|
Loading…
Reference in New Issue
Block a user