Consegui resolver, quem tiver interesse eu só alterei o script de encantar spike sword, clerical mace etc...
Ficou assim
function onUse(cid, item, fromPosition, item2, toPosition)
local gem = {8301, 8306, 8304}
local old = {2463, 2647, 2457}
local new = {{2466, 2487, 2492}, {2470, 2488, 2469}, {2471, 2491, 2506}}
local type = item.type == 0 and 1 or item.type
if isInArray(gem, item.itemid)== TRUE then
for bb = 1, #gem do
if item.itemid == gem[bb] then
b = bb
end
end
if isInArray(old, item2.itemid)== TRUE then
for cc=1, #old do
if item2.itemid == old[cc] then
c=cc
end
end
doTransformItem(item2.uid,new[c][b])
doSendMagicEffect(toPosition,36)
doRemoveItem(item.uid,1)
else
doPlayerSendCancel(cid,"You can't enchanted this.")
end
else
return 0
end
return 1
end