1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

reduced the frequency of Seeps/Parrots/VineSpirits in 3D modes, also removed them with reptilecheat

This commit is contained in:
Zeno Rogue 2019-08-06 21:08:14 +02:00
parent 0dab4aee57
commit 1a3e676310

View File

@ -501,7 +501,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
} }
} }
if(d == 7 && c->wall == waCavewall && hrand_monster(5000) < items[itEmerald] + yendor::hardness() && !safety) if(d == 7 && c->wall == waCavewall && hrand_monster(DIM == 2 ? 5000 : 40000) < items[itEmerald] + yendor::hardness() && !safety && !reptilecheat)
c->monst = moSeep; c->monst = moSeep;
ONEMPTY { ONEMPTY {
@ -699,7 +699,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
} }
} }
} }
if(d == 7 && c->wall == waVinePlant && hrand(100) < (randomPatternsMode ? 2 : 10) && !peace::on && !reptilecheat) if(d == 7 && c->wall == waVinePlant && hrand(DIM == 2 ? 100 : 5000) < (randomPatternsMode ? 2 : 10) && !peace::on && !reptilecheat)
c->monst = moVineSpirit; c->monst = moVineSpirit;
ONEMPTY { ONEMPTY {
if(hrand(5000) < PT(100 + 2 * (kills[moVineBeast] + kills[moVineSpirit]), 200) && notDippingFor(itWine) && !reptilecheat) if(hrand(5000) < PT(100 + 2 * (kills[moVineBeast] + kills[moVineSpirit]), 200) && notDippingFor(itWine) && !reptilecheat)
@ -938,7 +938,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
case laCaves: case laCaves:
if(fargen) if(fargen)
c->wall = (randomPatternsMode ? RANDPAT3(1) : hrand(100) < 55) ? waCavewall : waCavefloor; c->wall = (randomPatternsMode ? RANDPAT3(1) : hrand(100) < 55) ? waCavewall : waCavefloor;
if(d == 7 && c->wall == waCavewall && hrand(5000) < items[itGold] + yendor::hardness() && !safety) if(d == 7 && c->wall == waCavewall && hrand(DIM == 2 ? 5000 : 40000) < items[itGold] + yendor::hardness() && !safety && !reptilecheat)
c->monst = moSeep; c->monst = moSeep;
ONEMPTY { ONEMPTY {
if(hrand(5000) < PT(100 + 2 * min(kills[moTroll] + kills[moGoblin], 150), 200) && notDippingFor(itGold)) if(hrand(5000) < PT(100 + 2 * min(kills[moTroll] + kills[moGoblin], 150), 200) && notDippingFor(itGold))
@ -1000,7 +1000,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
else c->wall = waDeadfloor; else c->wall = waDeadfloor;
} }
if(d == 7 && c->wall == waDeadwall && hrand_monster(1000) < items[itSilver] + yendor::hardness() && !safety) if(d == 7 && c->wall == waDeadwall && hrand_monster(DIM == 2 ? 1000 : 10000) < items[itSilver] + yendor::hardness() && !safety && !reptilecheat)
c->monst = moSeep; c->monst = moSeep;
ONEMPTY { ONEMPTY {
@ -1637,7 +1637,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
} }
if(d == 7 && c->wall == waSea && hrand_monster(10000) < 20 + items[itPirate] + 2 * yendor::hardness() && !safety) if(d == 7 && c->wall == waSea && hrand_monster(10000) < 20 + items[itPirate] + 2 * yendor::hardness() && !safety)
c->monst = moCShark; c->monst = moCShark;
if(d == 7 && c->wall == waCTree && hrand_monster(5000) < 100 + items[itPirate] + yendor::hardness()) if(d == 7 && c->wall == waCTree && hrand_monster(DIM == 2 ? 5000 : 50000) < 100 + items[itPirate] + yendor::hardness())
c->monst = moParrot; c->monst = moParrot;
ONEMPTY { ONEMPTY {
if(hrand(1500) < 4 && celldistAlt(c) <= -5 && peace::on && geometry != gCrystal) if(hrand(1500) < 4 && celldistAlt(c) <= -5 && peace::on && geometry != gCrystal)