1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

Ruined City treasure now increases with the correct kill types

This commit is contained in:
Jesse Ruderman 2021-07-19 02:28:29 -07:00
parent 8c6aba5f6f
commit 01509406a3

View File

@ -2345,7 +2345,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
} }
if(d == 7 && c->landparam == 2) forCellEx(c2, c) if(c2->land == laRuins && out_ruin(c2)) c->landparam = 1; if(d == 7 && c->landparam == 2) forCellEx(c2, c) if(c2->land == laRuins && out_ruin(c2)) c->landparam = 1;
ONEMPTY { ONEMPTY {
if(hrand(1500) < PT(30 + kills[moHexDemon] + kills[moSkeleton] + kills[moMonk] + kills[moPair], 100) && notDippingFor(itRuins)) { if(hrand(1500) < PT(30 + kills[moHexDemon] + kills[moAltDemon] + kills[moMonk] + kills[moPair] + kills[moCrusher], 100) && notDippingFor(itRuins)) {
c->item = itRuins; c->item = itRuins;
forCellEx(c2, c) if(c2->monst == moMonk) forCellEx(c2, c) if(c2->monst == moMonk)
c->item = itNone; c->item = itNone;