2024-10-07 19:27:31 +01:00
|
|
|
-----------------------------------
|
|
|
|
|
-- ID: 6180
|
|
|
|
|
-- Pluton Case
|
|
|
|
|
-- Breaks up a Pluton Case
|
|
|
|
|
-----------------------------------
|
|
|
|
|
---@type TItem
|
|
|
|
|
local itemObject = {}
|
|
|
|
|
|
2026-05-25 20:42:11 -06:00
|
|
|
itemObject.onItemCheck = function(target, item, caster)
|
2024-10-07 19:27:31 +01:00
|
|
|
return xi.itemUtils.itemBoxOnItemCheck(target)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
itemObject.onItemUse = function(target)
|
|
|
|
|
npcUtil.giveItem(target, { { xi.item.PLUTON, math.random(3, 15) } })
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
return itemObject
|