De novo? http://www.xtibia.com/forum/topic/213577-pokemonduvida-fast/#entry1514899
Vai no lib/pokemon moves.lua
vai ter
elseif spell == "Sing" then
local ret = {}
ret.id = 0
ret.cd = math.random(6, 10)
ret.check = 0
ret.first = true
ret.cond = "Sleep"
Só colocar False no "ret.first", ficando assim:
elseif spell == "Sing" then
local ret = {}
ret.id = 0
ret.cd = math.random(6, 10)
ret.check = 0
ret.first = false
ret.cond = "Sleep"
Hypnosis é a mesma coisa
elseif spell == "Hypnosis" then
doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 24)
local ret = {}
ret.id = target
ret.cd = math.random(6, 9)
ret.check = getPlayerStorageValue(target, conds["Sleep"])
ret.first = true --alterado v2.6
ret.cond = "Sleep"
Deu certo aqui, vê ai.










info
Group: Campones
Joined: 26/12/12
Posts: 91
Reputation: +26
Tibia Character: MykeDown
Removido.
Edited Julho 22 by Mykez