1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 03:09:59 +00:00

Random Pattern Mode: fixed the Land of Power, treasures appear in the Reptiles.

This commit is contained in:
Zeno Rogue 2018-07-08 14:31:48 +02:00
parent 94371d8469
commit 5786d22774

View File

@ -466,7 +466,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(d==8) { if(d==8) {
int v; int v;
if(randomPatternsMode) if(randomPatternsMode)
v = RANDPAT ? 24 : 0; v = RANDPAT ? 24 : 1;
else if(sphere) { else if(sphere) {
int gs = getHemisphere(c, 0); int gs = getHemisphere(c, 0);
if(gp::on) { if(gp::on) {
@ -608,6 +608,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(RANDPAT) c->wall = waChasm; if(RANDPAT) c->wall = waChasm;
else c->wall = ch < (50 + items[itDodeca] + yendor::hardness()) ? waReptile : waNone; else c->wall = ch < (50 + items[itDodeca] + yendor::hardness()) ? waReptile : waNone;
c->wparam = 1 + hrand(reptilemax()); c->wparam = 1 + hrand(reptilemax());
if(c->wall == waNone && hrand(5000) < 25)
c->item = itDodeca;
} }
else { else {
int i = zebra40(c); int i = zebra40(c);