function onAdvance(cid, newLevel)
local playerPos = getCreaturePosition(cid)
if newLevel == SKILL__LEVEL then
doSendMagicEffect(playerPos, CONST_ME_HOLYDAMAGE)
doPlayerAddItem(cid, 2152, 10)
doSendAnimatedText(getCreaturePosition(cid), "[LEVEL UP]", TEXTCOLOR_GOLD)
end
return TRUE
end