Equippable Component - Will Lose Durability (Condition) — Skript
Addon: Skript · Category: Condition · Since: 2.13
Syntax
%equippablecomponents% will (lose durability|be damaged) (on [wearer['s]] injury|when [[the] wearer [is]] (hurt|injured|damaged))Description
Whether an item will be damaged when the wearer gets injured. NOTE: Equippable component elements are experimental. Thus, they are subject to change and may not work as intended.
Examples
if {_item} will lose durability when hurt:
add "Damageable on injury" to lore of {_item}
set {_component} to the equippable component of {_item}
if {_component} won't lose durability on injury:
make {_component} lose durability when injured