... | ... | @@ -7,15 +7,16 @@ Attributes |
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|--------------|---------------------------------------|---------|
|
|
|
|:---------:|:--------------------:|:----------------------------------------------:|:-------:|
|
|
|
| amount | a | How many ammo is consumed | 1 |
|
|
|
| onConsume | onUse, Use, UseSkill | The skill to trigger on ammo consume | |
|
|
|
| onNoAmmo | noAmmoSkill, noAmmo | The skill to trigger when there's no ammo left | |
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
|
|
|
```yaml
|
|
|
MyItem:
|
|
|
Skills:
|
|
|
- ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
|
|
|
``` |