finish 7.92 items

This commit is contained in:
ErikasKontenis
2020-03-06 18:35:10 +02:00
parent 434daeb010
commit d920babe81
17 changed files with 151 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local slot = player:getSlotItem(CONST_SLOT_HEAD)
if slot and item.uid == slot.uid then
player:getPosition():sendMagicEffect(CONST_ME_GIFT_WRAPS)
return true
end
return false
end