Changes
Page history
Update ConsumeAmmo
authored
Nov 28, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/ConsumeAmmo.md
0 → 100644
View page @
4dcc0b33
## 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