|
|
## Description
|
|
|
Consumes ammo to execute a skill. This skill does not need a targeter.
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| amount | a | How many ammo are consumed | 1 |
|
|
|
| useskill | onuse, onconsume, use | The skill to trigger on ammo consume | |
|
|
|
| noammoskill | onnoammo, noammo | The skill to trigger when there's no ammo left | |
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
|
|
MyItem:
|
|
|
Skills:
|
|
|
- consumeAmmo{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] useAmmo |
|
|
\ No newline at end of file |