function onCastSpell(cid, var) local pos = getPlayerPosition(cid) doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE) return doSetCreatureLight(cid, 10, 120, 30000) end