From 7ed69739b9cd3b7f8b2c364641cd07a0f78d7b2c Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Sun, 27 Jun 2021 02:09:56 -0700 Subject: [PATCH] Orb of Slaying can now appear in hub lands --- orbgen.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/orbgen.cpp b/orbgen.cpp index c7666f0e..4939d979 100644 --- a/orbgen.cpp +++ b/orbgen.cpp @@ -240,11 +240,6 @@ EX eOrbLandRelation getOLR(eItem it, eLand l) { if(it == itOrbDigging && l == laKraken) return olrUseless; if(it == itOrbIllusion && l == laKraken) return olrUseless; - if(it == itOrbSlaying && !among(l, - laMirror, laHell, laEmerald, laDryForest, laCamelot, laPalace, laStorms, laRose, laTortoise, laBurial, laDungeon, laReptile, - laPrairie, laBull, laVolcano, laTerracotta, laRuins, laVariant, laEclectic, laBrownian)) - return olrUseless; - if(it == itOrbYendor && among(l, laWhirlwind, laWestWall)) return olrUseless; if(it == itOrbLife && (l == laKraken)) return olrUseless; @@ -297,6 +292,11 @@ EX eOrbLandRelation getOLR(eItem it, eLand l) { return olrMonster; if(isCrossroads(l) || l == laOcean) return olrHub; + + if(it == itOrbSlaying && !among(l, + laMirror, laHell, laEmerald, laDryForest, laCamelot, laPalace, laStorms, laRose, laTortoise, laBurial, laDungeon, laReptile, + laPrairie, laBull, laVolcano, laTerracotta, laRuins, laVariant, laEclectic, laBrownian)) + return olrUseless; if(l == laCocytus) if(it == itOrbDragon || it == itOrbFire || it == itOrbFlash || it == itOrbLightning)