From 0b3a3a3730cb7926c9d316cfd55be8e80aed6a16 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 20 Aug 2014 09:26:44 -0400 Subject: [PATCH] V0.2.0: fixed a badge bug in Potion of Might --- .../shatteredpixeldungeon/items/potions/PotionOfMight.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfMight.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfMight.java index 165010790..968c4327c 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfMight.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfMight.java @@ -17,6 +17,7 @@ */ package com.shatteredpixel.shatteredpixeldungeon.items.potions; +import com.shatteredpixel.shatteredpixeldungeon.Badges; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; @@ -36,6 +37,8 @@ public class PotionOfMight extends PotionOfStrength { hero.HP += 5; hero.sprite.showStatus( CharSprite.POSITIVE, "+1 str, +5 ht" ); GLog.p( "Newfound strength surges through your body." ); + + Badges.validateStrengthAttained(); } @Override