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