Frogs are not generated until you are in Frog Park or have treasure

This commit is contained in:
Zeno Rogue 2020-03-12 10:31:25 +01:00
parent b9b2bbcd1e
commit 83407fe2db
1 changed files with 1 additions and 1 deletions

View File

@ -2657,7 +2657,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
if(d == 7) {
if(c->wall == waNone) {
if(hrand_monster(2000) < 20 + (items[itFrog] + yendor::hardness()))
if(hrand_monster(2000) < ((cwt.at->land == laFrog || items[itFrog]) ? 20 : 0) + (items[itFrog] + yendor::hardness()))
c->monst = pick(moFrog, moPhaser, moVaulter);
}
}