fixed Elemental Planes in ls single

This commit is contained in:
Zeno Rogue 2021-04-23 20:13:10 +02:00
parent 12e864912b
commit 5bd56eea10
2 changed files with 9 additions and 1 deletions

View File

@ -1486,8 +1486,16 @@ EX void build_walls(cell *c, cell *from) {
build_barrier_good(c, specialland);
return;
}
if(specialland == laElementalWall && hrand(I10000) < 4000) {
build_barrier_good(c);
return;
}
}
}
else if(ctof(c) && ls::single() && specialland == laElementalWall && hrand(I10000) < 4000) {
buildBarrierNowall(c, getNewLand(c->land));
}
if(c->land == laCrossroads2 && BITRUNCATED)
buildCrossroads2(c);

View File

@ -301,7 +301,7 @@ EX bool rlyehComplete() {
}
bool lchance(eLand l) {
if(tactic::on || yendor::on || racing::on || ((geometry || GOLDBERG) && specialland == laElementalWall)) return true;
if(ls::single() || racing::on || ((geometry || GOLDBERG) && specialland == laElementalWall)) return true;
if(ls::any_chaos()) return hrand(100) < 25;
return hrand(100) >= 40 * kills[elementalOf(l)] / (elementalKills()+1);
}