local config = {
cooldown = 5, -- tempo entre uma magia e outra
tempo = 20, -- tempo em segundos que ficará healando
percent = 2, --- porcentagem da vida que cura
storage = 45382
}
function onCastSpell(cid, var)
local p = Creature(cid)
if os.time() - p:getStorageValue(cid, config.storage) >=...