|
Mechanic: RemoveHeldItem
|
|
## Description
|
|
========================
|
|
Removes the given amount from the target player's held item.
|
|
|
|
|
|
Removes the given amount from the target's held item. This is an
|
|
|
|
artifacts-only mechanic.
|
|
|
|
|
|
|
|
Attributes
|
|
## Attributes
|
|
----------
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|---------|-------------|---------------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| amount | a | | 1 |
|
|
| amount | a | The amount to remove | 1 |
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
Skills:
|
|
## Examples
|
|
- consumeHeldItem{amount=1} ~onUse
|
|
```yaml
|
|
- ...
|
|
ExampleSkill:
|
|
|
|
Skills:
|
|
|
|
- consumeHeldItem{amount=1} @trigger
|
|
|
|
```
|
|
|
|
|
|
If consumeHeldItem does not work for you, try using consumeUsedItem! |
|
|
|
|
|
## Aliases
|
|
|
|
- [x] consumeHeldItem
|
|
|
|
- [x] takeHeldItem |
|
|
|
\ No newline at end of file |