fixed Friendly Ivy attacking non-attackable monsters

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:42:58 +02:00
1 parent 83d8025133
commit 463e874520
1 file changed
+1 -1
+1 -1
View File
@@ -1083,7 +1083,7 @@ eItem targetRangedOrb(cell *c, orbAction a) {
if(cf->monst == moFriendlyIvy) {
if(c->monst) {
if(!canAttack(c, c->monst, cf, moFriendlyIvy, 0)) continue;
if(!canAttack(cf, moFriendlyIvy, c, c->monst, 0)) continue;
if(monstersnear(cwt.at, c, moPlayer, NULL, cwt.at)) continue;
}
else {