17 lines
389 B
Lua
17 lines
389 B
Lua
-----------------------------------
|
|
-- ID: 6076
|
|
-- plate_of_indi-str
|
|
-- Teaches INDI-STR
|
|
-----------------------------------
|
|
---@type TItem
|
|
local itemObject = {}
|
|
|
|
itemObject.onItemCheck = function(target, item, caster)
|
|
return target:canLearnSpell(xi.magic.spell.INDI_STR)
|
|
end
|
|
|
|
itemObject.onItemUse = function(target)
|
|
target:addSpell(xi.magic.spell.INDI_STR)
|
|
end
|
|
|
|
return itemObject
|