From e56e2f6a27a93d3ffbdbb90967ca5fa66947675c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 24 Sep 2025 17:04:58 -0400 Subject: [PATCH] v3.2.5: fixed effects like aggro not clearing from downed ghouls --- .../shatteredpixeldungeon/actors/mobs/Ghoul.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java index 387d3002c..7791a594e 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Ghoul.java @@ -294,6 +294,9 @@ public class Ghoul extends Mob { Dungeon.level.occupyCell( ghoul ); ghoul.sprite.idle(); ghoul.sprite.showStatusWithIcon(CharSprite.POSITIVE, Integer.toString(Math.round(ghoul.HT/10f)), FloatingText.HEALING); + if (ghoul.enemy != null && ghoul.enemy.alignment == ghoul.alignment){ + ghoul.enemy = null; //reset enemy + } super.detach(); return true; }