hrand >= 90 not >

This commit is contained in:
Zeno Rogue 2020-02-29 03:54:22 +01:00
parent 421d04e98e
commit 2a092b9624
1 changed files with 1 additions and 1 deletions

View File

@ -2625,7 +2625,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
eWall wetwalls[10] = {waNone, waNone, waDeepWater, waDeepWater, waDeepWater, waShallow, waShallow, waShallow, waStone, waStone};
c->wall = wetwalls[hrand(10)]; // wet::wetdata[windmap::getId(c)]];
if(among(c->wall, waDeepWater, waShallow) && hrand_monster(2000) < 2 * (items[itWet] + yendor::hardness() + 5))
c->monst = hrand(100) > 90 ? moRusalka : moPike;
c->monst = hrand(100) >= 90 ? moRusalka : moPike;
if(c->wall == waShallow && hrand(2000) < PT(100 + 2 * kills[moPike] + 3 * kills[moRusalka], 200) && notDippingFor(itWet))
c->item = itWet;
}