mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-10 15:59:53 +00:00
Frogs are not generated until you are in Frog Park or have treasure
This commit is contained in:
parent
b9b2bbcd1e
commit
83407fe2db
@ -2657,7 +2657,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
|
|
||||||
if(d == 7) {
|
if(d == 7) {
|
||||||
if(c->wall == waNone) {
|
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);
|
c->monst = pick(moFrog, moPhaser, moVaulter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user