|
Mechanic: Give Item From Slot
|
|
Mechanic: Give Item From Slot
|
|
===================
|
|
===================
|
|
|
|
|
|
Gives an item to the target from the item in the given slot of caster.
|
|
Gives a copy of the caster's slot to the target.
|
|
|
|
|
|
Won't consume the item in the given slot of caster)
|
|
**Note:** Won't consume the item in the given slot of caster
|
|
|
|
|
|
Attributes
|
|
Attributes
|
|
----------
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|-------------|---------|-------------------|---------------|
|
|
|-------------|---------|-------------------|---------------|
|
|
| slot | s | The given slot | None |
|
|
| slot | s | The caster's slot | None |
|
|
| fakeLooting | fl | plays the pickup-item animation from the origin | false |
|
|
| fakeLooting | fl | plays the pickup-item animation from the origin | false |
|
|
|
|
|
|
**Valid Slots:**
|
|
**Valid Slots:**
|
... | @@ -25,9 +25,9 @@ Added in MM 4.13 |
... | @@ -25,9 +25,9 @@ Added in MM 4.13 |
|
|
|
|
|
**Note:**
|
|
**Note:**
|
|
|
|
|
|
this mechanic do nothing when targeted target's have no space in its inventory.
|
|
this mechanic does nothing when the target has no space in it's inventory.
|
|
|
|
|
|
fakeLooting was added in 4.12 MM and it makes the item being given show up on the screen and fly toward the players inventory like when a player picks an item up off of the ground.
|
|
fakeLooting was added in 4.12 and it makes the item being given show up on the screen and fly toward the players inventory like when a player picks an item up off of the ground.
|
|
|
|
|
|
|
|
|
|
|
|
|
... | @@ -37,4 +37,4 @@ Examples |
... | @@ -37,4 +37,4 @@ Examples |
|
Skills:
|
|
Skills:
|
|
- giveitemfromslot{slot=HAND;fakelooting=true} @server ~onTimer:10
|
|
- giveitemfromslot{slot=HAND;fakelooting=true} @server ~onTimer:10
|
|
|
|
|
|
Give caster's main handing item to all players on the server. |
|
Give caster's main hand item to all players on the server, and plays the pickup animation. |
|
\ No newline at end of file |
|
\ No newline at end of file |