v0.4.0: updated the behaviour of arcane stylii
This commit is contained in:
committed by
Evan Debenham
parent
4988be16fe
commit
55812b30e1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user