Postado Julho 18, 2018 7 anos Alguém me ajuda, o izanami ta dando erro na distro: Script: Spoiler local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 108) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, true) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local waittime1 = 100 -- Tempo de exhaustion local storage1 = 115819 if exhaustion.check(cid, storage1) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, storage1) .. " segundos para usar a spell novamente.") return false end doPlayerSetStorageValue(cid, 19332, 1) doPlayerSendTextMessage(cid, 27, "Seu Izanami tem 40 segundos de efeito.") addEvent(doPlayerSetStorageValue, 40000, cid, 19332, 0) addEvent(doPlayerSendTextMessage, 40000, cid, 27, "Seu Izanami perdeu o efeito.") exhaustion.set(cid, storage1, waittime1) return true end
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.