v1.4.0: added new text to better communicate curse state on wep/arm
This commit is contained in:
@@ -88,6 +88,7 @@ items.armor.armor.defense=It is augmented to enhance _defense._
|
|||||||
items.armor.armor.inscribed=It is inscribed with a _%s._
|
items.armor.armor.inscribed=It is inscribed with a _%s._
|
||||||
items.armor.armor.cursed_worn=Because this armor is cursed, you are powerless to remove it.
|
items.armor.armor.cursed_worn=Because this armor is cursed, you are powerless to remove it.
|
||||||
items.armor.armor.cursed=You can feel a malevolent magic lurking within this armor.
|
items.armor.armor.cursed=You can feel a malevolent magic lurking within this armor.
|
||||||
|
items.armor.armor.weak_cursed=Despite the curse, you are able to unequip this armor.
|
||||||
items.armor.armor.not_cursed=This armor is free of malevolent magic.
|
items.armor.armor.not_cursed=This armor is free of malevolent magic.
|
||||||
items.armor.armor.seal_attached=The Warrior's broken seal is attached to this armor, it is providing him up to _%d shielding_.
|
items.armor.armor.seal_attached=The Warrior's broken seal is attached to this armor, it is providing him up to _%d shielding_.
|
||||||
items.armor.armor$glyph.glyph=glyph
|
items.armor.armor$glyph.glyph=glyph
|
||||||
@@ -1695,6 +1696,7 @@ items.weapon.weapon.excess_str=Because of your excess strength, you will deal up
|
|||||||
items.weapon.weapon.incompatible=Interaction of different types of magic has negated the enchantment on this weapon!
|
items.weapon.weapon.incompatible=Interaction of different types of magic has negated the enchantment on this weapon!
|
||||||
items.weapon.weapon.cursed_worn=Because this weapon is cursed, you are powerless to remove it.
|
items.weapon.weapon.cursed_worn=Because this weapon is cursed, you are powerless to remove it.
|
||||||
items.weapon.weapon.cursed=You can feel a malevolent magic lurking within this weapon.
|
items.weapon.weapon.cursed=You can feel a malevolent magic lurking within this weapon.
|
||||||
|
items.weapon.weapon.weak_cursed=Despite the curse, you are able to unequip this weapon.
|
||||||
items.weapon.weapon.not_cursed=This weapon is free of malevolent magic.
|
items.weapon.weapon.not_cursed=This weapon is free of malevolent magic.
|
||||||
items.weapon.weapon.faster=It is augmented to enhance _speed._
|
items.weapon.weapon.faster=It is augmented to enhance _speed._
|
||||||
items.weapon.weapon.stronger=It is augmented to enhance _damage._
|
items.weapon.weapon.stronger=It is augmented to enhance _damage._
|
||||||
|
|||||||
@@ -494,8 +494,12 @@ public class Armor extends EquipableItem {
|
|||||||
} else if (seal != null) {
|
} else if (seal != null) {
|
||||||
info += "\n\n" + Messages.get(Armor.class, "seal_attached", seal.maxShield(tier, level()));
|
info += "\n\n" + Messages.get(Armor.class, "seal_attached", seal.maxShield(tier, level()));
|
||||||
} else if (!isIdentified() && cursedKnown){
|
} else if (!isIdentified() && cursedKnown){
|
||||||
|
if (glyph != null && glyph.curse()) {
|
||||||
|
info += "\n\n" + Messages.get(Armor.class, "weak_cursed");
|
||||||
|
} else {
|
||||||
info += "\n\n" + Messages.get(Armor.class, "not_cursed");
|
info += "\n\n" + Messages.get(Armor.class, "not_cursed");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -104,8 +104,12 @@ public class MeleeWeapon extends Weapon {
|
|||||||
} else if (cursedKnown && cursed) {
|
} else if (cursedKnown && cursed) {
|
||||||
info += "\n\n" + Messages.get(Weapon.class, "cursed");
|
info += "\n\n" + Messages.get(Weapon.class, "cursed");
|
||||||
} else if (!isIdentified() && cursedKnown){
|
} else if (!isIdentified() && cursedKnown){
|
||||||
|
if (enchantment != null && enchantment.curse()) {
|
||||||
|
info += "\n\n" + Messages.get(Weapon.class, "weak_cursed");
|
||||||
|
} else {
|
||||||
info += "\n\n" + Messages.get(Weapon.class, "not_cursed");
|
info += "\n\n" + Messages.get(Weapon.class, "not_cursed");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user