Changes
Page history
Update DealCustomDurability
authored
Jan 29, 2025
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/DealCustomDurability.md
View page @
aae5a5cd
## Description
Modifies the custom durability of the held item.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|---------|---------------------------|---------|
| amount | a | Adds/Subtracts durability | 1 |
## Examples
A positive number will deal damage, a negative number will heal it.
**Note:**
Only works for custom durability.
...
...
@@ -24,6 +26,6 @@ MyItem:
-
dealcustomdurability{a=-2} @Self ~onSwing
# repairs 2 durability on an item.
```
## Aliases
-
[x] dealdura
-
[x] customdura
\ No newline at end of file