From 0024f57ce0f1507611fd2e7e589aa376d4bfd0c6 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 8 Aug 2022 23:25:13 -0400 Subject: [PATCH] v1.4.0: fixed an outdated bit of text in broken seal --- core/src/main/assets/messages/items/items.properties | 2 +- .../shatteredpixeldungeon/items/BrokenSeal.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index a891196ac..b8286390b 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -1744,7 +1744,7 @@ items.brokenseal.name=broken seal items.brokenseal.ac_affix=AFFIX items.brokenseal.prompt=Select an armor 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.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 diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java index 3279c4fa5..533f4e5a2 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java @@ -130,9 +130,8 @@ public class BrokenSeal extends Item { if (!armor.levelKnown){ GLog.w(Messages.get(BrokenSeal.class, "unknown_armor")); - } else if ((armor.cursed || armor.level() < 0) - && (seal.getGlyph() == null || !seal.getGlyph().curse())){ - GLog.w(Messages.get(BrokenSeal.class, "degraded_armor")); + } else if (armor.cursed && (seal.getGlyph() == null || !seal.getGlyph().curse())){ + GLog.w(Messages.get(BrokenSeal.class, "cursed_armor")); } else if (armor.glyph != null && seal.getGlyph() != null && armor.glyph.getClass() != seal.getGlyph().getClass()) {