v1.1.0: fixed accidentally hard-coded text in potion of mastery
This commit is contained in:
parent
e606956911
commit
6d77ed872d
|
@ -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.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.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.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
|
items.potions.exotic.potionofshielding.name=potion of shielding
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class PotionOfMastery extends ExoticPotion {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String textPrompt() {
|
public String textPrompt() {
|
||||||
return "Master an Item";
|
return Messages.get(PotionOfMastery.class, "prompt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -94,10 +94,10 @@ public class PotionOfMastery extends ExoticPotion {
|
||||||
|
|
||||||
if (item instanceof Weapon) {
|
if (item instanceof Weapon) {
|
||||||
((Weapon) item).masteryPotionBonus = true;
|
((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) {
|
} else if (item instanceof Armor) {
|
||||||
((Armor) item).masteryPotionBonus = true;
|
((Armor) item).masteryPotionBonus = true;
|
||||||
GLog.p( "Your weapon becomes easier to wear!" );
|
GLog.p( Messages.get(PotionOfMastery.class, "armor_easier") );
|
||||||
}
|
}
|
||||||
updateQuickslot();
|
updateQuickslot();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user