mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
reduced Trollheim/Hive generation in new submodes of Chaos
This commit is contained in:
parent
54df32589c
commit
1da7a9b815
@ -752,7 +752,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
|
|
||||||
case laTrollheim:
|
case laTrollheim:
|
||||||
if(fargen) {
|
if(fargen) {
|
||||||
if(hrand(50000) < (chaosmode?1000:5) && c->wall != waBarrier && celldist(c) >= 7 && !safety && !peace::on) {
|
if(hrand(50000) < (chaosmode==1?1000:chaosmode?50:5) && c->wall != waBarrier && celldist(c) >= 7 && !safety && !peace::on) {
|
||||||
bool okay = true;
|
bool okay = true;
|
||||||
forCellCM(c2, c) forCellCM(c3, c2) forCellCM(c4, c3) forCellCM(c5, c4) {
|
forCellCM(c2, c) forCellCM(c3, c2) forCellCM(c4, c3) forCellCM(c5, c4) {
|
||||||
cell *cx = chaosmode ? c3 : c5;
|
cell *cx = chaosmode ? c3 : c5;
|
||||||
@ -1481,7 +1481,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
|
|
||||||
case laHive:
|
case laHive:
|
||||||
if(fargen) {
|
if(fargen) {
|
||||||
if(hrand(2000) < (chaosmode ? 1000 : PURE ?200:2) && !safety)
|
if(hrand(2000) < (chaosmode==1 ? 1000 : (PURE && !chaosmode) ?200: chaosmode ? 10 : 2) && !safety)
|
||||||
hive::createBugArmy(c);
|
hive::createBugArmy(c);
|
||||||
if(hrand(2000) < 100 && !c->wall && !c->item && !c->monst) {
|
if(hrand(2000) < 100 && !c->wall && !c->item && !c->monst) {
|
||||||
int nww = 0;
|
int nww = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user