v0.4.0: updated the behaviour of arcane stylii

This commit is contained in:
Evan Debenham
2016-06-09 04:09:03 -04:00
committed by Evan Debenham
parent 4988be16fe
commit 55812b30e1
2 changed files with 10 additions and 0 deletions
@@ -79,6 +79,14 @@ public class Stylus extends Item {
}
private void inscribe( Armor armor ) {
if (!armor.isIdentified() ){
GLog.w( Messages.get(this, "identify"));
return;
} else if (armor.cursed || (armor.glyph != null && armor.glyph.curse())){
GLog.w( Messages.get(this, "cursed"));
return;
}
detach(curUser.belongings.backpack);