mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-07 01:34:07 +00:00
Random Pattern Mode: fixed the Land of Power, treasures appear in the Reptiles.
This commit is contained in:
parent
94371d8469
commit
5786d22774
@ -466,7 +466,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
if(d==8) {
|
||||
int v;
|
||||
if(randomPatternsMode)
|
||||
v = RANDPAT ? 24 : 0;
|
||||
v = RANDPAT ? 24 : 1;
|
||||
else if(sphere) {
|
||||
int gs = getHemisphere(c, 0);
|
||||
if(gp::on) {
|
||||
@ -608,6 +608,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
if(RANDPAT) c->wall = waChasm;
|
||||
else c->wall = ch < (50 + items[itDodeca] + yendor::hardness()) ? waReptile : waNone;
|
||||
c->wparam = 1 + hrand(reptilemax());
|
||||
if(c->wall == waNone && hrand(5000) < 25)
|
||||
c->item = itDodeca;
|
||||
}
|
||||
else {
|
||||
int i = zebra40(c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user