mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-14 01:14:48 +00:00
improved reptilecheat
This commit is contained in:
parent
a6e40e3a37
commit
b90e3a4ed2
4
hyper.h
4
hyper.h
@ -4596,7 +4596,9 @@ namespace brownian {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ONEMPTY if(d == 7 && passable(c, NULL, 0) && !safety)
|
#define ONEMPTY if(d == 7 && passable(c, NULL, 0) && !safety && !reptilecheat)
|
||||||
|
|
||||||
|
extern bool reptilecheat;
|
||||||
|
|
||||||
void enable_cheat();
|
void enable_cheat();
|
||||||
|
|
||||||
|
@ -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;
|
c->monst = moVineSpirit;
|
||||||
ONEMPTY {
|
ONEMPTY {
|
||||||
if(hrand(5000) < PT(100 + 2 * (kills[moVineBeast] + kills[moVineSpirit]), 200) && notDippingFor(itWine))
|
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;
|
break;
|
||||||
|
|
||||||
case laIce:
|
case laIce:
|
||||||
if(d == 9) {
|
if(d == 9 && !reptilecheat) {
|
||||||
if(randomPatternsMode) c->wall = RANDPAT ? waIcewall : waNone;
|
if(randomPatternsMode) c->wall = RANDPAT ? waIcewall : waNone;
|
||||||
else if(hrand(100) < 5 && c->wall != waBarrier) {
|
else if(hrand(100) < 5 && c->wall != waBarrier) {
|
||||||
c->wall = waIcewall;
|
c->wall = waIcewall;
|
||||||
|
Loading…
Reference in New Issue
Block a user