From adf52335849e51dfc2998c5e7e6e9c05c65f9174 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 2 May 2021 17:02:36 -0400 Subject: [PATCH] v0.9.3: fixed incorrect actor timing in potion of dragons breath --- .../items/potions/exotic/PotionOfDragonsBreath.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfDragonsBreath.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfDragonsBreath.java index 0c3da42b7..ae3551350 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfDragonsBreath.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfDragonsBreath.java @@ -70,6 +70,7 @@ public class PotionOfDragonsBreath extends ExoticPotion { detach(curUser.belongings.backpack); } else if (cell != null) { identify(); + curUser.busy(); Sample.INSTANCE.play( Assets.Sounds.DRINK ); curUser.sprite.operate(curUser.pos, new Callback() { @Override @@ -77,7 +78,6 @@ public class PotionOfDragonsBreath extends ExoticPotion { curItem.detach(curUser.belongings.backpack); - curUser.spend(1f); curUser.sprite.idle(); curUser.sprite.zap(cell); Sample.INSTANCE.play( Assets.Sounds.BURNING ); @@ -146,7 +146,7 @@ public class PotionOfDragonsBreath extends ExoticPotion { } } - curUser.next(); + curUser.spendAndNext(1f); } });