Changes
Page history
added setitemdisplay mechanic
authored
Apr 17, 2022
by
Phillip
Hide whitespace changes
Inline
Side-by-side
Skills/Mechanics/AmmoConsume.md
View page @
e0c5933b
...
...
@@ -6,16 +6,17 @@ Consumes ammo to execute a skill. This skill does not need a targeter.
Attributes
----------
| Attribute | Aliases
|
Description
| Default |
|-----------
|
--------------
|
---------------------------------------
|
------
---
|
| amount
| a |
How many ammo is consumed
| 1
|
| onConsume | onUse, Use, UseSkill | The skill to trigger on ammo consume
|
|
| onNoAmmo | noAmmoSkill, noAmmo | The skill to trigger when there's no ammo left | |
| Attribute |
Aliases
|
Description | Default |
|
:
---------
:|:--
--
--
--------------
:|:
---------------------------------------
-
------
:|:-------:
|
|
amount
| a |
How many ammo is consumed
| 1
|
| onConsume | onUse, Use, UseSkill |
The skill to trigger on ammo consume
|
|
| onNoAmmo
| noAmmoSkill, noAmmo
| The skill to trigger when there's no ammo left |
|
Examples
--------
Skills:
-
ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
\ No newline at end of file
```
yaml
MyItem
:
Skills
:
-
ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
```