mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-27 04:52:50 +00:00
increased treasure generation in Terra
This commit is contained in:
parent
11bdda6957
commit
99d27f608d
@ -5094,7 +5094,7 @@ void setdist(cell *c, int d, cell *from) {
|
|||||||
if(c->land == laTerracotta) {
|
if(c->land == laTerracotta) {
|
||||||
bool nearwarrior = false;
|
bool nearwarrior = false;
|
||||||
forCellEx(c2, c) if(c2->wall == waTerraWarrior) nearwarrior = true;
|
forCellEx(c2, c) if(c2->wall == waTerraWarrior) nearwarrior = true;
|
||||||
if(nearwarrior && hrand(5000) < PT(100 + 2 * kills[moJiangshi], 200) && notDippingFor(itTerra))
|
if(nearwarrior && hrand(5000) < PT(130 + 2 * kills[moJiangshi], 260) && notDippingFor(itTerra))
|
||||||
c->item = itTerra;
|
c->item = itTerra;
|
||||||
if(hrand(20000) < 2 * (items[itTerra] + hard))
|
if(hrand(20000) < 2 * (items[itTerra] + hard))
|
||||||
c->monst = moJiangshi;
|
c->monst = moJiangshi;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user