mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixed Elemental Planes in ls single
This commit is contained in:
parent
12e864912b
commit
5bd56eea10
@ -1486,8 +1486,16 @@ EX void build_walls(cell *c, cell *from) {
|
|||||||
build_barrier_good(c, specialland);
|
build_barrier_good(c, specialland);
|
||||||
return;
|
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)
|
if(c->land == laCrossroads2 && BITRUNCATED)
|
||||||
buildCrossroads2(c);
|
buildCrossroads2(c);
|
||||||
|
@ -301,7 +301,7 @@ EX bool rlyehComplete() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool lchance(eLand l) {
|
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;
|
if(ls::any_chaos()) return hrand(100) < 25;
|
||||||
return hrand(100) >= 40 * kills[elementalOf(l)] / (elementalKills()+1);
|
return hrand(100) >= 40 * kills[elementalOf(l)] / (elementalKills()+1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user