v1.4.0: fixed an outdated bit of text in broken seal

This commit is contained in:
Evan Debenham
2022-08-08 23:25:13 -04:00
parent 675a192503
commit 0024f57ce0
2 changed files with 3 additions and 4 deletions

View File

@@ -1744,7 +1744,7 @@ items.brokenseal.name=broken seal
items.brokenseal.ac_affix=AFFIX items.brokenseal.ac_affix=AFFIX
items.brokenseal.prompt=Select an armor items.brokenseal.prompt=Select an armor
items.brokenseal.unknown_armor=You must identify that armor first. items.brokenseal.unknown_armor=You must identify that armor first.
items.brokenseal.degraded_armor=The condition of this armor is too poor. items.brokenseal.cursed_armor=The seal won't apply to cursed armor.
items.brokenseal.affix=You affix the seal to your armor! items.brokenseal.affix=You affix the seal to your armor!
items.brokenseal.desc=A wax seal, affixed to armor as a symbol of valor. All the markings on the seal have worn off with age and it is broken in half down the middle.\n\nA memento from his home, the seal helps the warrior persevere. While wearing the seal the warrior will slowly generate shielding on top of his health based on the quality of his armor.\n\nThe seal can be _affixed to armor,_ and moved between armors. It can carry a single upgrade with it. items.brokenseal.desc=A wax seal, affixed to armor as a symbol of valor. All the markings on the seal have worn off with age and it is broken in half down the middle.\n\nA memento from his home, the seal helps the warrior persevere. While wearing the seal the warrior will slowly generate shielding on top of his health based on the quality of his armor.\n\nThe seal can be _affixed to armor,_ and moved between armors. It can carry a single upgrade with it.
items.brokenseal.choose_title=Choose a Glyph items.brokenseal.choose_title=Choose a Glyph

View File

@@ -130,9 +130,8 @@ public class BrokenSeal extends Item {
if (!armor.levelKnown){ if (!armor.levelKnown){
GLog.w(Messages.get(BrokenSeal.class, "unknown_armor")); GLog.w(Messages.get(BrokenSeal.class, "unknown_armor"));
} else if ((armor.cursed || armor.level() < 0) } else if (armor.cursed && (seal.getGlyph() == null || !seal.getGlyph().curse())){
&& (seal.getGlyph() == null || !seal.getGlyph().curse())){ GLog.w(Messages.get(BrokenSeal.class, "cursed_armor"));
GLog.w(Messages.get(BrokenSeal.class, "degraded_armor"));
} else if (armor.glyph != null && seal.getGlyph() != null } else if (armor.glyph != null && seal.getGlyph() != null
&& armor.glyph.getClass() != seal.getGlyph().getClass()) { && armor.glyph.getClass() != seal.getGlyph().getClass()) {