v2.5.3: stylus now works on curse-IDed armor

This commit is contained in:
Evan Debenham
2024-09-25 12:13:29 -04:00
parent 1bfe1f6060
commit d99a42326a
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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()){