mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
Orb of Slaying can now appear in hub lands
This commit is contained in:
parent
2ef9268c01
commit
7ed69739b9
10
orbgen.cpp
10
orbgen.cpp
@ -240,11 +240,6 @@ EX eOrbLandRelation getOLR(eItem it, eLand l) {
|
|||||||
if(it == itOrbDigging && l == laKraken) return olrUseless;
|
if(it == itOrbDigging && l == laKraken) return olrUseless;
|
||||||
if(it == itOrbIllusion && 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 == itOrbYendor && among(l, laWhirlwind, laWestWall)) return olrUseless;
|
||||||
|
|
||||||
if(it == itOrbLife && (l == laKraken)) return olrUseless;
|
if(it == itOrbLife && (l == laKraken)) return olrUseless;
|
||||||
@ -297,6 +292,11 @@ EX eOrbLandRelation getOLR(eItem it, eLand l) {
|
|||||||
return olrMonster;
|
return olrMonster;
|
||||||
if(isCrossroads(l) || l == laOcean)
|
if(isCrossroads(l) || l == laOcean)
|
||||||
return olrHub;
|
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(l == laCocytus)
|
||||||
if(it == itOrbDragon || it == itOrbFire || it == itOrbFlash || it == itOrbLightning)
|
if(it == itOrbDragon || it == itOrbFire || it == itOrbFlash || it == itOrbLightning)
|
||||||
|
Loading…
Reference in New Issue
Block a user