mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-13 02:40:33 +00:00
hat:: Jungle
This commit is contained in:
parent
2ec531e056
commit
d3da7dddc9
@ -2226,7 +2226,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
int hardchance = items[itRuby] + yendor::hardness();
|
int hardchance = items[itRuby] + yendor::hardness();
|
||||||
if(hardchance > 25) hardchance = 25;
|
if(hardchance > 25) hardchance = 25;
|
||||||
bool hardivy = hrand(100) < hardchance;
|
bool hardivy = hrand(100) < hardchance;
|
||||||
if((hardivy ? buildIvy(c, 1, 9) : buildIvy(c, 0, c->type)) && !peace::on)
|
if(hat::in() ? buildIvy(c, 0, 4) : (hardivy ? buildIvy(c, 1, 9) : buildIvy(c, 0, c->type)) && !peace::on)
|
||||||
c->item = itRuby;
|
c->item = itRuby;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user