Changes
Page history
Revert "added ClearTarget mechanic"
authored
Oct 02, 2025
by
Lxlp
This reverts commit 1f8283a3389908f340de3fcb5bc030ebbd4ae456.
Show whitespace changes
Inline
Side-by-side
skills/mechanics/AttributeModifier.md
0 → 100644
View page @
38502e7a
## Description
Adds an attribute modifier to the attributable target
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| attribute | attr | The [attribute] | GENERIC_LUCK
<!--type:PaperAttribute-->
|
| operation | op | The [operation] to perform | ADD_NUMBER
<!--type:PaperAttributeOperation-->
|
| name | modifierName | The name of the modifier |
<caster.uuid>
|
| amount | amt, a | The modifier of the attribute | 0 |
| duration | dur | The duration of the attribute | 0 |
## Examples
```
yaml
ExampleMob
:
Type
:
ZOMBIE
Skills
:
-
attributeModifier{attribute=GENERIC_LUCK;a=2;dur=1200;op=ADD_NUMBER} @trigger ~onDeath
```
<!-- LINKS -->
[
attribute
]:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
[
operation
]:
/Items/Attributes#operations
<!--TAGS-->
<!--tag:Attribute-->
\ No newline at end of file