... | @@ -3,11 +3,10 @@ Adds an attribute modifier to the attributable target |
... | @@ -3,11 +3,10 @@ Adds an attribute modifier to the attributable target |
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| attribute | attr | The attribute | GENERIC_LUCK |
|
|
| attribute | attr | The [attribute] | GENERIC_LUCK |
|
|
| operation | op | The operation to perform | ADD_NUMBER |
|
|
| operation | op | The [operation] to perform | ADD_NUMBER |
|
|
| amount | amt, a | The modifier of the attribute | 0 |
|
|
| amount | amt, a | The modifier of the attribute | 0 |
|
|
| duration | dur | The duration of the attribute | 0 |
|
|
| duration | dur | The duration of the attribute | 0 |
|
|
|
|
|
... | @@ -19,3 +18,7 @@ ExampleMob: |
... | @@ -19,3 +18,7 @@ ExampleMob: |
|
Skills:
|
|
Skills:
|
|
- attributeModifier{attribute=GENERICK_LUCK;a=2;dur=1200;op=ADD_NUMBER} @trigger ~onDeath
|
|
- attributeModifier{attribute=GENERICK_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 |
|
|
|
\ No newline at end of file |