mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-07 21:16:48 +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)) {
|
||||
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)
|
||||
c->monst = moVizier;
|
||||
|
Loading…
Reference in New Issue
Block a user