1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 10:17:56 +00:00

ls:: Hive in H/V

This commit is contained in:
Zeno Rogue
2023-09-18 15:41:53 +02:00
parent d4247e7b13
commit ec4b02d754
5 changed files with 12 additions and 7 deletions

View File

@@ -1643,8 +1643,9 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
case laHive:
if(fargen) {
if(hrand(2000) < (ls::tame_chaos() ? 1000 : (PURE && !ls::any_chaos()) ?200: ls::any_chaos() ? 10 : 2) && !safety)
if(hrand(2000) < (ls::tame_chaos() ? 1000 : (PURE && !ls::any_chaos()) ?200: ls::any_chaos() ? 10 : ls::horodisk_structure() ? 50 : ls::hv_structure() ? 10 : 2) && !safety)
hive::createBugArmy(c);
if(hrand_monster(20000) < 10 && ls::horodisk_structure()) c->monst = moPirate;
if(hrand(2000) < 100 && !c->wall && !c->item && !c->monst) {
int nww = 0;
for(int i=0; i<c->type; i++) if(c->move(i) && c->move(i)->wall == waWaxWall)