1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-20 09:59:50 +00:00

Merge pull request #182 from jruderman/quieter-rrv

Wandering rocksnakes no longer appear on hepts
This commit is contained in:
Zeno Rogue
2021-07-04 09:35:10 +02:00
committed by GitHub

View File

@@ -593,8 +593,12 @@ EX void wandering() {
else if(c->land == laDragon && (items[itDragon] >= 8 || items[itOrbYendor]) && wchance(items[itDragon], 20))
c->monst = moFireElemental;
else if(c->land == laRedRock && wchance(items[itRedGem], 10))
c->monst = (hrand(10) || peace::on) ? moRedTroll : moHexSnake;
else if(c->land == laRedRock && wchance(items[itRedGem], 10)) {
if (hrand(10) || peace::on)
c->monst = moRedTroll;
else if (!pseudohept(c))
c->monst = moHexSnake;
}
else if(c->land == laCaves && wchance(items[itGold], 5))
c->monst = hrand(3) ? moTroll : moGoblin;