diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index 7f61fa7e4..15b878ea4 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -748,6 +748,9 @@ items.potions.exotic.potionofmagicalsight.name=potion of magical sight items.potions.exotic.potionofmagicalsight.desc=After drinking this, your senses will be briefly heightened to incredible levels, increasing your vision range and allowing you to see through walls! items.potions.exotic.potionofmastery.name=potion of mastery +items.potions.exotic.potionofmastery.prompt=Master an Item +items.potions.exotic.potionofmastery.weapon_easier=Your weapon becomes easier to wield! +items.potions.exotic.potionofmastery.armor_easier=Your armor becomes easier to wear! items.potions.exotic.potionofmastery.desc=Rather than granting raw strength, this potion will instead attune the muscles of the user to a particular item. This will make that item easier to use, as if the drinker had practised with it and built muscle memory.\n\nThe chosen weapon or armor will require 2 less strength to use. This potion can only be used once on each item. items.potions.exotic.potionofshielding.name=potion of shielding diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfMastery.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfMastery.java index 234dc71ee..f48481afa 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfMastery.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/exotic/PotionOfMastery.java @@ -57,7 +57,7 @@ public class PotionOfMastery extends ExoticPotion { @Override public String textPrompt() { - return "Master an Item"; + return Messages.get(PotionOfMastery.class, "prompt"); } @Override @@ -94,10 +94,10 @@ public class PotionOfMastery extends ExoticPotion { if (item instanceof Weapon) { ((Weapon) item).masteryPotionBonus = true; - GLog.p( "Your weapon becomes easier to wield!" ); + GLog.p( Messages.get(PotionOfMastery.class, "weapon_easier") ); } else if (item instanceof Armor) { ((Armor) item).masteryPotionBonus = true; - GLog.p( "Your weapon becomes easier to wear!" ); + GLog.p( Messages.get(PotionOfMastery.class, "armor_easier") ); } updateQuickslot();