1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-13 04:13:03 +00:00

new land structure: excessive crossing walls

This commit is contained in:
Zeno Rogue
2024-04-06 10:36:51 +02:00
parent 1fc02631c8
commit e83d38e267
3 changed files with 27 additions and 6 deletions

View File

@@ -560,6 +560,7 @@ EX bool isbar4(cell *c) {
EX bool barrier_cross(eLand l, eLand r) {
if(l == laCrossroads3 || r == laCrossroads3) return hrand(100) < 66;
if(land_structure == lsCrossWalls) return hrand(100) < 90;
if(isElemental(l) && isElemental(r)) return hrand(100) < 75;
return false;
}