mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
Orb of Matter no longer 'works' in the Free Fall
This commit is contained in:
parent
96bd13aec9
commit
cecd362915
@ -264,8 +264,8 @@ eOrbLandRelation getOLR(eItem it, eLand l) {
|
||||
return olrDangerous;
|
||||
|
||||
if(it == itOrbMatter)
|
||||
if(l == laCaves || l == laEmerald || l == laAlchemist || l == laCaribbean ||
|
||||
l == laMinefield || l == laCocytus) return olrUseless;
|
||||
if(among(l, laCaves, laEmerald, laAlchemist, laCaribbean, laMinefield, laCocytus, laWestWall))
|
||||
return olrUseless;
|
||||
|
||||
if(l == laPrincessQuest)
|
||||
if(among(it, itOrbAether, itOrbFlash, itOrbTeleport, itOrbSummon, itOrbFreedom, itOrbFriend, itOrbPhasing))
|
||||
|
1
orbs.cpp
1
orbs.cpp
@ -829,6 +829,7 @@ void summonAt(cell *dest) {
|
||||
}
|
||||
|
||||
bool tempWallPossibleAt(cell *dest) {
|
||||
if(dest->land == laWestWall) return false;
|
||||
if(dest->monst || (dest->item && !itemHidden(dest))) return false;
|
||||
return dest->wall == waChasm || isWatery(dest) || dest->wall == waNone ||
|
||||
dest->wall == waTempBridge;
|
||||
|
Loading…
Reference in New Issue
Block a user