Double Topic Denovo... reportado..
como arrumar essa spell < monster usa ela
Por LeoTK, 27 de jan. de 2014 em Scripts
info
Grupo: Visconde
Registrado: 11/11/13
Posts: 252
Reputação: +64
Char no Tibia: Não tenho

lek ja reportei o outro antes de postar assim verifique antes ok obrigado
aguardo respostas ainda
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 5000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -5000)
function onCastSpell(cid, var)
local target = getCreatureTarget(cid)
local targetpos = getCreaturePosition(target)
local efepos = {x=targetpos.x+1, y=targetpos.y+1, z=targetpos.z}
local time = 5 -- tempo paralyzado
if isPlayer(cid) then
if exhaustion.check(cid, 20000) == true then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, 20000) .. " segundos para usar novamente.")
return FALSE
end
end
local function No_Move_Target()
if isCreature(target) then
doCreatureSetNoMove(target, 0)
end
end
if isPlayer(cid) then
exhaustion.set(cid, 20000, 8)
end
doCreatureSetNoMove(target, 1)
doAddCondition(target, condition)
doSendMagicEffect(efepos, 152)
addEvent(No_Move_Target, time*1000)
return true
end
AEW +REP DADO COM SUCESSO
Editado Janeiro 29 por Brundss






info
Grupo: Marquês
Registrado: 05/12/11
Posts: 1.2k
Reputação: +173
Gênero: Masculino
gente emtaum o monster usa essa spells mais nao sei oque tem de errado com ela alguem pode ajudar
script da spell \/
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 5000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -5000)
function onCastSpell(cid, var)
local target = getCreatureTarget(cid)
local targetpos = getCreaturePosition(target)
local efepos = {x=targetpos.x+1, y=targetpos.y+1, z=targetpos.z}
local time = 5 -- tempo paralyzado
if isPlayer(cid) then
if exhaustion.check(cid, 20000) == true then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, 20000) .. " segundos para usar novamente.")
return FALSE
end
end
local function No_Move_Target()
doCreatureSetNoMove(target, 0)
end
if isPlayer(cid) then
exhaustion.set(cid, 20000, 8)
end
doCreatureSetNoMove(target, 1)
doAddCondition(target, condition)
doSendMagicEffect(efepos, 152)
addEvent(No_Move_Target, time*1000)
return true
end
print do erro \/