From 4fc1d0597f66cb2bde661c708c688ecb4d216d9a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 22 Feb 2021 20:26:48 -0500 Subject: [PATCH] v0.9.2: fixed necromancer summon pushing not accounting for large chars --- .../shatteredpixeldungeon/actors/mobs/Necromancer.java | 1 + 1 file changed, 1 insertion(+) 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 36ff4bc20..944aa3377 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 @@ -221,6 +221,7 @@ public class Necromancer extends Mob { for (int c : PathFinder.NEIGHBOURS8) { if (Actor.findChar(summoningPos + c) == null && Dungeon.level.passable[summoningPos + c] + && (Dungeon.level.openSpace[summoningPos + c] || !hasProp(Actor.findChar(summoningPos), Property.LARGE)) && Dungeon.level.trueDistance(pos, summoningPos + c) > Dungeon.level.trueDistance(pos, pushPos)) { pushPos = summoningPos + c; }