... | ... | @@ -3,11 +3,10 @@ Adds an attribute modifier to the attributable target |
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| attribute | attr | The attribute | GENERIC_LUCK |
|
|
|
| operation | op | The operation to perform | ADD_NUMBER |
|
|
|
| attribute | attr | The [attribute] | GENERIC_LUCK |
|
|
|
| operation | op | The [operation] to perform | ADD_NUMBER |
|
|
|
| amount | amt, a | The modifier of the attribute | 0 |
|
|
|
| duration | dur | The duration of the attribute | 0 |
|
|
|
|
... | ... | @@ -18,4 +17,8 @@ ExampleMob: |
|
|
Type: ZOMBIE
|
|
|
Skills:
|
|
|
- attributeModifier{attribute=GENERICK_LUCK;a=2;dur=1200;op=ADD_NUMBER} @trigger ~onDeath
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
<!-- LINKS -->
|
|
|
[attribute]: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
|
|
|
[operation]: Items/Attributes#operations |
|
|
\ No newline at end of file |