You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
Spell casts wear mage weapons. Every spent cast (a success, or an overload or rift fumble) now takes 1 durability from the held staff, wand or blade. Refused casts are still free. (#67)
The amount is cast.wear_per_cast in config.yml (default 1; 0 turns it off). A missing key means 1.
Before this, cast wear only looked at MMOItems custom durability, which mage weapons don't use, so casts never cost anything.
Worn-out weapons refuse instead of breaking. The last point of durability is never spent. A weapon on its last point refuses spells and wand shots with a "Worn out" title (and a throttled chat line for spells) until it is repaired, for example with a Magical Repair Kit. MMOItems would otherwise delete a mage weapon whose durability runs out.
Skins no longer wear weapons in melee. ArmourShop skins tag weapons as ItemsAdder items, and ItemsAdder wore them on every melee hit. That wear is now cancelled on staffs and wands. Unskinned iron mage blades keep their normal melee wear, but wear that would reach the last point is cancelled.
Wand left-click shots still cost 1 durability each, as before.
Upgrade notes
No config edit is needed. The new messages.yml keys (cast.worn_title, cast.worn_sub, cast.worn_chat) have built-in defaults.
Includes everything in v0.11.0 (sealed artifacts, #65) and v0.10.1 (gear-station archive, #66); their upgrade notes still apply if you skip those versions.