Add 'Give Item From Slot' wiki page
Summary
There's no wiki page for the 'Give Item From Slot' mechanic and there probably should be. I'll provide one below, but no pressure.
Usage
It'd provide documentation for an unexplained mechanic.
Value
It'd provide documentation for an unexplained mechanic.
Priority
Low?
Implementation
Something like:
Attribute | Aliases | Description | Default Value |
---|---|---|---|
slot | s | The item slot (numerical, 0 is main hand, etc.) | none |
fakeLooting | fl | plays the pickup-item animation from the target | false |
Below YML will give every player within a distance of 20 a copy of the item held in slot 0 (main hand) on caster's attack.
Skills:
- giveitemfromslot{slot=0;} @PIR{r=20} ~onAttack
- ...
- ...