mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-28 12:04:07 +00:00
in the Princess challenge, do not generate wandering monsters too close to the Princess's cell
This commit is contained in:
parent
e9f68dfb4d
commit
920ed4bb86
@ -750,7 +750,9 @@ EX void wandering() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if(c->land == laPalace && wchance(items[itPalace], 50)) {
|
else if(c->land == laPalace && wchance(items[itPalace], 50)) {
|
||||||
if(princess::dist(c) < OUT_OF_PRISON && !princess::challenge) break;
|
int dist = princess::dist(c);
|
||||||
|
if(dist < 7) break;
|
||||||
|
if(dist < OUT_OF_PRISON && !princess::challenge) break;
|
||||||
|
|
||||||
if(items[itPalace] >= 15 && hrand(100) < 10)
|
if(items[itPalace] >= 15 && hrand(100) < 10)
|
||||||
c->monst = moVizier;
|
c->monst = moVizier;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user