1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 05:57:37 +00:00

renamed enums for Invincible -> Ruins

This commit is contained in:
Zeno Rogue
2018-01-03 21:51:11 +01:00
parent e20f336b82
commit 1e85e21fb4
8 changed files with 16 additions and 16 deletions

View File

@@ -1914,8 +1914,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
}
break;
case laInvincible: {
int kf = 10 + items[itInvix] + yendor::hardness();
case laRuins: {
int kf = 10 + items[itRuins] + yendor::hardness();
if(d == 8) {
if(out_ruin(c)) {
if(hrand(100) < 3)
@@ -1940,8 +1940,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
c->monst = pick(moHexDemon, moHexDemon, moHexDemon, moAltDemon, moAltDemon, moMonk, moMonk, moSkeleton, moSkeleton, moCrusher);
c->hitpoints = 3;
}
if(hrand(1500) < PT(30 + kills[moHexDemon] + kills[moSkeleton] + kills[moMonk] + kills[moPair], 100) && notDippingFor(itInvix))
c->item = itInvix;
if(hrand(1500) < PT(30 + kills[moHexDemon] + kills[moSkeleton] + kills[moMonk] + kills[moPair], 100) && notDippingFor(itRuins))
c->item = itRuins;
}
break;
}