From f03deaa11c0b25aa801d04823bca014e30c8b732 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 6 Oct 2022 13:00:44 -0400 Subject: [PATCH] v1.4.1: fixed charge consumption errors with hourglass --- .../items/artifacts/TimekeepersHourglass.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java index c71b73150..ee6a939a5 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java @@ -116,8 +116,6 @@ public class TimekeepersHourglass extends Artifact { activeBuff = new timeStasis(); Talent.onArtifactUsed(Dungeon.hero); activeBuff.attachTo(Dungeon.hero); - charge--; - updateQuickslot(); } else if (index == 1) { GLog.i( Messages.get(TimekeepersHourglass.class, "onfreeze") ); GameScene.flash(0x80FFFFFF); @@ -126,6 +124,7 @@ public class TimekeepersHourglass extends Artifact { activeBuff = new timeFreeze(); Talent.onArtifactUsed(Dungeon.hero); activeBuff.attachTo(Dungeon.hero); + charge--; ((timeFreeze)activeBuff).processTime(0f); } }