Chatinho fazer mais é simples :
Na Spells de Travar o Player Coloque :
Não testei porem axo q vai funcionar
Travar o Target
function onCastSpell(cid, var) local target = getCreatureTarget(cid) local waittime = 60 - tempo para poder travar o player dnv ( em segundos ) local storage = 2521 if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "Você tem que espera " .. exhaustion.get(cid, storage) .. " segundos.") return false end exhaustion.set(cid, storage, waittime) mayNotMove(target, true) return true end
Destravar o Player :
function onCastSpell(cid, var) local target = getCreatureTarget(cid) local waittime = 5 - tempo para o player poder destravrar a si mesmo ! em segundos local storage = 2521 if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "Você tem que espera " .. exhaustion.get(cid, storage) .. " segundos.") return false end exhaustion.set(cid, storage, waittime) mayNotMove(cid, false) return true end





info
Grupo: Campones
Registrado: 11/02/12
Posts: 22
Reputação: 0
Ola pessoal, eu queria uma spell que faça o seguinte:
X player usa a SPELL no Target, e o Target não pode se mover e não pode falar KAI durante X segundos.
Depois dos X segundos passarem, o Target pode falar KAI e a magia KAI faça ele poder se mover de novo.
E o X player que usou a Spell tomasse um exausted de x segundos.
Não tenho a base do Script.
Editado Fevereiro 23 por lucasromero0110