mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-03 04:39:17 +00:00
fixed the Nature + movement orb combo, without Empathy
This commit is contained in:
parent
e238a7ddf9
commit
7350af18f2
2
orbs.cpp
2
orbs.cpp
@ -1364,7 +1364,7 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
|
|||||||
CHK(canAttack(cf, moFriendlyIvy, c, c->monst, f), XLAT("Cannot attack there!")) &&
|
CHK(canAttack(cf, moFriendlyIvy, c, c->monst, f), XLAT("Cannot attack there!")) &&
|
||||||
CHKV(!monstersnear(cwt.at, moPlayer), wouldkill_here = true)
|
CHKV(!monstersnear(cwt.at, moPlayer), wouldkill_here = true)
|
||||||
) : (
|
) : (
|
||||||
CHK(passable(c, cf, P_ISPLAYER | P_MONSTER), XLAT("Cannot grow there!")) &&
|
CHK(passable(c, cf, P_ISFRIEND | P_MONSTER), XLAT("Cannot grow there!")) &&
|
||||||
CHK(!strictlyAgainstGravity(c, cf, false, MF_IVY), XLAT("Cannot grow against gravity!")) &&
|
CHK(!strictlyAgainstGravity(c, cf, false, MF_IVY), XLAT("Cannot grow against gravity!")) &&
|
||||||
CHKV(!monstersnear(cwt.at, moPlayer), wouldkill_here = true))
|
CHKV(!monstersnear(cwt.at, moPlayer), wouldkill_here = true))
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user