V0.2.0: fixed a badge bug in Potion of Might

This commit is contained in:
Evan Debenham 2014-08-20 09:26:44 -04:00
parent 13a9a73203
commit 0b3a3a3730

View File

@ -17,6 +17,7 @@
*/ */
package com.shatteredpixel.shatteredpixeldungeon.items.potions; package com.shatteredpixel.shatteredpixeldungeon.items.potions;
import com.shatteredpixel.shatteredpixeldungeon.Badges;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
@ -36,6 +37,8 @@ public class PotionOfMight extends PotionOfStrength {
hero.HP += 5; hero.HP += 5;
hero.sprite.showStatus( CharSprite.POSITIVE, "+1 str, +5 ht" ); hero.sprite.showStatus( CharSprite.POSITIVE, "+1 str, +5 ht" );
GLog.p( "Newfound strength surges through your body." ); GLog.p( "Newfound strength surges through your body." );
Badges.validateStrengthAttained();
} }
@Override @Override