1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-28 14:49:54 +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
commit 59bc3e1cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;