mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
hrand >= 90 not >
This commit is contained in:
parent
421d04e98e
commit
2a092b9624
@ -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};
|
eWall wetwalls[10] = {waNone, waNone, waDeepWater, waDeepWater, waDeepWater, waShallow, waShallow, waShallow, waStone, waStone};
|
||||||
c->wall = wetwalls[hrand(10)]; // wet::wetdata[windmap::getId(c)]];
|
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))
|
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))
|
if(c->wall == waShallow && hrand(2000) < PT(100 + 2 * kills[moPike] + 3 * kills[moRusalka], 200) && notDippingFor(itWet))
|
||||||
c->item = itWet;
|
c->item = itWet;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user