From 989e46e445258b8ebfa3d87f3742a3c2f360bc8e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 13 Oct 2018 16:12:52 -0400 Subject: [PATCH] v0.7.0: fixed shield not updating when warrior's shield is supercharged --- .../shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java index c7fa7fd3c..c077d3e42 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java @@ -127,6 +127,7 @@ public class BrokenSeal extends Item { public synchronized void supercharge(int maxShield){ if (maxShield > shielding){ shielding = maxShield; + target.needsShieldUpdate = true; } }