reptilecheat disables stuff in the Minefield

This commit is contained in:
Zeno Rogue 2020-02-13 11:07:28 +01:00
parent 86009d1e49
commit 3441d86d2c
1 changed files with 2 additions and 1 deletions

View File

@ -2115,6 +2115,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
minefreq = 550;
int tfreq =
reptilecheat ? 0 :
treas < 10 ? 50 + 5 * treas :
treas < 25 ? 100 + (treas-10) * 2:
treas < 50 ? 150 + (treas-25) :
@ -2126,7 +2127,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
c->item = itBombEgg;
c->landparam = items[itBombEgg] + 5 + hrand(11);
}
else if(hrand_monster(5000) < treas - 20 + yendor::hardness() && !safety)
else if(hrand_monster(5000) < treas - 20 + yendor::hardness() && !safety && !reptilecheat)
c->monst = moBomberbird;
else placeLocalSpecial(c, 500);
}