1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 18:00:34 +00:00

no Hedgehog Warriors in SL2

This commit is contained in:
Zeno Rogue 2019-08-25 19:49:45 +02:00
parent 7feb2ddcb3
commit f224cc1027
2 changed files with 3 additions and 1 deletions

View File

@ -527,7 +527,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
if(hrand_monster(8000) < 50 + 10 * (items[itEmerald] + yendor::hardness())) { if(hrand_monster(8000) < 50 + 10 * (items[itEmerald] + yendor::hardness())) {
static eMonster emeraldmonsters[4] = { moHedge, moLancer, moFlailer, moMiner }; static eMonster emeraldmonsters[4] = { moHedge, moLancer, moFlailer, moMiner };
c->monst = emeraldmonsters[hrand(4)]; c->monst = emeraldmonsters[hrand(4)];
if(c->monst == moHedge && S3 != 3) if(c->monst == moHedge && (S3 != 3 || sl2))
c->monst = moFlailer; c->monst = moFlailer;
} }
if(sphere && c->type != 6 && c->master->fiftyval == 5) { if(sphere && c->type != 6 && c->master->fiftyval == 5) {

View File

@ -685,6 +685,8 @@ EX land_validity_t& land_validity(eLand l) {
return lv::not_implemented; return lv::not_implemented;
if(among(l, laReptile, laDragon, laTortoise)) if(among(l, laReptile, laDragon, laTortoise))
return lv::bad_graphics; return lv::bad_graphics;
if((actual_geometry == gSL2 || geometry == gSL2) && l == laDryForest)
return lv::hedgehogs;
if(hybri) return *PIU(&land_validity(l)); if(hybri) return *PIU(&land_validity(l));
} }