... | @@ -6,16 +6,17 @@ Consumes ammo to execute a skill. This skill does not need a targeter. |
... | @@ -6,16 +6,17 @@ Consumes ammo to execute a skill. This skill does not need a targeter. |
|
Attributes
|
|
Attributes
|
|
----------
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|--------------|---------------------------------------|---------|
|
|
|:---------:|:--------------------:|:----------------------------------------------:|:-------:|
|
|
| amount | a | How many ammo is consumed | 1 |
|
|
| amount | a | How many ammo is consumed | 1 |
|
|
| onConsume | onUse, Use, UseSkill | The skill to trigger on ammo consume | |
|
|
| onConsume | onUse, Use, UseSkill | The skill to trigger on ammo consume | |
|
|
| onNoAmmo | noAmmoSkill, noAmmo | The skill to trigger when there's no ammo left | |
|
|
| onNoAmmo | noAmmoSkill, noAmmo | The skill to trigger when there's no ammo left | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
Examples
|
|
--------
|
|
--------
|
|
|
|
```yaml
|
|
Skills:
|
|
MyItem:
|
|
- ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill} |
|
Skills:
|
|
\ No newline at end of file |
|
- ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
|
|
|
|
``` |