1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-19 07:57:39 +00:00

Terracotta Army rebalancing

This commit is contained in:
Zeno Rogue
2018-01-25 23:22:33 +01:00
parent 0cc80c615b
commit 0b7b24ff82
3 changed files with 15 additions and 3 deletions

View File

@@ -302,6 +302,7 @@ void wandering() {
int seepcount = getSeepcount();
int ghostcount = getGhostcount();
if(cwt.c->land == laCA) ghostcount = 0;
bool genturn = hrand(100) < 30;
if(cwt.c->land == laZebra && cwt.c->wall == waNone && wchance(items[itZebra], 20))
wanderingZebra(cwt.c);
@@ -548,6 +549,9 @@ void wandering() {
else if(c->land == laTerracotta && wchance(items[itTerra], 40))
c->monst = moJiangshi;
else if(c->land == laTerracotta && wandering_jiangshi && genturn)
wandering_jiangshi--, c->monst = moJiangshi;
else if(c->land == laSwitch && wchance(items[itSwitch], 80))
c->monst = active_switch();