1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-15 06:17:38 +00:00

improved reptilecheat

This commit is contained in:
Zeno Rogue
2018-12-21 14:43:38 +01:00
parent a6e40e3a37
commit b90e3a4ed2
2 changed files with 5 additions and 3 deletions

View File

@@ -598,7 +598,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
}
}
}
if(d == 7 && c->wall == waVinePlant && hrand(100) < (randomPatternsMode ? 2 : 10) && !peace::on)
if(d == 7 && c->wall == waVinePlant && hrand(100) < (randomPatternsMode ? 2 : 10) && !peace::on && !reptilecheat)
c->monst = moVineSpirit;
ONEMPTY {
if(hrand(5000) < PT(100 + 2 * (kills[moVineBeast] + kills[moVineSpirit]), 200) && notDippingFor(itWine))
@@ -723,7 +723,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
break;
case laIce:
if(d == 9) {
if(d == 9 && !reptilecheat) {
if(randomPatternsMode) c->wall = RANDPAT ? waIcewall : waNone;
else if(hrand(100) < 5 && c->wall != waBarrier) {
c->wall = waIcewall;