Date: 2025/04/24 21:40:34 UTC-07:00
Type: Denizen Script
armor_events:
type: world
events:
on player item takes damage:
- if <context.item.has_flag[bonusDurability]>:
- inventory flag slot:<context.slot> bonusDurability:++
- if <context.item.flag[bonusDurability].mod[2]> == 0:
- narrate "Durability SHOULD be: <context.item.flag[bonusDurability].div[2]>"
- inventory adjust slot:<context.slot> durability:10