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

Merge pull request #249 from jruderman/ruin_treas

Ruined City treasure now increases with the correct kill types
This commit is contained in:
Zeno Rogue 2021-07-19 20:54:50 +02:00 committed by GitHub
commit d765104f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;