local spellsChest = {
[10001] = {spell = "", vocation = {1, 2}},
[10002] = {spell = "", vocation = {3}},
[10003] = {spell = "", vocation = {4}},
}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if not spellsChest[item:getActionId()] then return true end...