mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-07 17:54: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) {
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user