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 9b6ba6e84..18e4bb9a5 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 @@ -246,7 +246,6 @@ public class Ghoul extends Mob { turnsToRevive--; if (turnsToRevive <= 0){ - ghoul.HP = Math.round(ghoul.HT/10f); if (Actor.findChar( ghoul.pos ) != null) { ArrayList candidates = new ArrayList<>(); for (int n : PathFinder.NEIGHBOURS8) { @@ -265,6 +264,7 @@ public class Ghoul extends Mob { return true; } } + ghoul.HP = Math.round(ghoul.HT/10f); Actor.add(ghoul); ghoul.spend(-ghoul.cooldown()); Dungeon.level.mobs.add(ghoul);