From d99a42326ae79ae939642a602b0c52ac7838efc6 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 25 Sep 2024 12:13:29 -0400 Subject: [PATCH] v2.5.3: stylus now works on curse-IDed armor --- core/src/main/assets/messages/items/items.properties | 2 +- .../com/shatteredpixel/shatteredpixeldungeon/items/Stylus.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index 61e50926d..a78fdb4c7 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -2244,7 +2244,7 @@ items.merchantsbeacon.desc=This odd piece of dwarven technology allows you to co items.stylus.name=arcane stylus items.stylus.ac_inscribe=INSCRIBE items.stylus.prompt=Select an armor -items.stylus.identify=You must identify that armor first. +items.stylus.identify=You must identify whether that armor is cursed first. items.stylus.cursed=The stylus's magic will not work on cursed armor. items.stylus.inscribed=You inscribed your armor with the stylus. items.stylus.desc=This arcane stylus is made of some dark, very hard stone. Using it you can inscribe a magical glyph on your armor, but you have no power over choosing what glyph it will be, the stylus will decide it for you. diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Stylus.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Stylus.java index d7615d931..a7075bf08 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Stylus.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Stylus.java @@ -86,7 +86,7 @@ public class Stylus extends Item { private void inscribe( Armor armor ) { - if (!armor.isIdentified() ){ + if (!armor.cursedKnown){ GLog.w( Messages.get(this, "identify")); return; } else if (armor.cursed || armor.hasCurseGlyph()){