|
Mechanic: AmmoConsume
|
|
## Description
|
|
================
|
|
|
|
|
|
|
|
Consumes ammo to execute a skill. This skill does not need a targeter.
|
|
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 |
|
... | @@ -13,8 +9,7 @@ Attributes |
... | @@ -13,8 +9,7 @@ Attributes |
|
| 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
|
|
```yaml
|
|
MyItem:
|
|
MyItem:
|
|
Skills:
|
|
Skills:
|
... | | ... | |