1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

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

View File

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