hat:: Jungle

This commit is contained in:
Zeno Rogue 2023-03-24 23:17:16 +01:00
parent 2ec531e056
commit d3da7dddc9
1 changed files with 1 additions and 1 deletions

View File

@ -2226,7 +2226,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
int hardchance = items[itRuby] + yendor::hardness();
if(hardchance > 25) hardchance = 25;
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;
}
}