mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-10 09:20:33 +00:00
Orb of Trickery messages no longer reveal underwater items
This commit is contained in:
parent
77f6d2db14
commit
aad8441d83
2
orbs.cpp
2
orbs.cpp
@ -1440,7 +1440,7 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
|
|||||||
// (2) place illusion
|
// (2) place illusion
|
||||||
if(!shmup::on && items[itOrbIllusion]
|
if(!shmup::on && items[itOrbIllusion]
|
||||||
&& CHK(c->monst == moNone, XLAT("Cannot cast illusion on a monster!"))
|
&& CHK(c->monst == moNone, XLAT("Cannot cast illusion on a monster!"))
|
||||||
&& CHK(c->item == itNone, XLAT("Cannot cast illusion on an item!"))
|
&& CHK(c->item == itNone || itemHidden(c), XLAT("Cannot cast illusion on an item!"))
|
||||||
&& CHK(passable(c, NULL, P_MIRROR), XLAT("Cannot cast illusion here!"))) {
|
&& CHK(passable(c, NULL, P_MIRROR), XLAT("Cannot cast illusion here!"))) {
|
||||||
if(!isCheck(a)) placeIllusion(c), apply_impact(c);
|
if(!isCheck(a)) placeIllusion(c), apply_impact(c);
|
||||||
return itOrbIllusion;
|
return itOrbIllusion;
|
||||||
|
Loading…
Reference in New Issue
Block a user