From 34e8c4f6abd6f928fca84a2c6af8e657e3355cd9 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 25 Sep 2020 16:56:17 -0400 Subject: [PATCH] v0.9.0: fixed projecting necromancers being able to attack --- .../shatteredpixeldungeon/actors/mobs/Necromancer.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Necromancer.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Necromancer.java index db4b90fd5..e21a00655 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Necromancer.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Necromancer.java @@ -133,7 +133,12 @@ public class Necromancer extends Mob { super.die(cause); } - + + @Override + protected boolean canAttack(Char enemy) { + return false; + } + private static final String SUMMONING = "summoning"; private static final String FIRST_SUMMON = "first_summon"; private static final String SUMMONING_POS = "summoning_pos";