v0.9.1b: fixed horn of plenty not triggering iron stomach

This commit is contained in:
Evan Debenham
2020-12-23 19:41:10 -05:00
parent 3c48bad849
commit 15a51d4254
@@ -98,8 +98,6 @@ public class HornOfPlenty extends Artifact {
if (chargesToUse > charge) chargesToUse = charge;
hunger.satisfy(satietyPerCharge * chargesToUse);
Talent.onFoodEaten(hero, satietyPerCharge * chargesToUse, this);
Statistics.foodEaten++;
charge -= chargesToUse;
@@ -119,6 +117,8 @@ public class HornOfPlenty extends Artifact {
hero.spend(Food.TIME_TO_EAT);
}
Talent.onFoodEaten(hero, satietyPerCharge * chargesToUse, this);
Badges.validateFoodEaten();
if (charge >= 15) image = ItemSpriteSheet.ARTIFACT_HORN4;