From e984595c3237dc48d29ac2bef3ecbc4931622cb8 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 9 Jul 2021 14:48:56 -0400 Subject: [PATCH] v0.9.4: fixed soul mark errors with low health enemies with shielding --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java index d267f3edb..2339ce553 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java @@ -601,7 +601,7 @@ public abstract class Mob extends Char { } if (buff(SoulMark.class) != null) { - int restoration = Math.min(damage, HP); + int restoration = Math.min(damage, HP+shielding()); //physical damage that doesn't come from the hero is less effective if (enemy != Dungeon.hero){