-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
otserv 8.x [Original]Global Compacto Completo 8.60 [I'm Back](Links Atualizados) 1 2 3 4 10
By soldoran,
- 137 replies
- 76518 views
-
script alguém pode me ajudar nessa spells aqui, queira que colocassem pro meu personagem ficar inatingível por 6 segundos e podendo atacar livremente
By lazaroszz,
- 0 answers
- 1341 views
-
- 0 replies
- 2553 views
-
- 3 answers
- 5088 views
-
- 0 replies
- 1955 views
-

Question
LeoTK 173
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 \/
Link to comment
https://xtibia.com/forum/topic/227958-como-arrumar-essa-spell-monster-usa-ela/Share on other sites
5 answers to this question
Recommended Posts