Amigo sei que seu flood não foi intencional
o foi por motivo disso é do bug que estamos
em nosso ipb que já está sendo analisado
para ser concertado, peço que desculpe
nós do XTibia pelo que vem acontecendo!
Tópico encaminhado a moderação~
Atenciosamente,
Dare Devil




info
Grupo: Campones
Registrado: 06/11/07
Posts: 27
Reputação: 0
Char no Tibia: xxx
Vá até data/npc e copie qualquer NPC do seu gosto, nomeie-o para Healer e cole isso lá dentro.
Depois vá até data/npc/scripts copie qualquer arquivo .lua que vc kiser e nomeie-o para healer
Lá dentro cole isso.
local target = 0 local focus = 0 local talk_start = 0 function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) end function onCreatureTurn(creature) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if ((string.find(msg, '(%a*)hi(%a*)')) and (focus == 0)) and getDistanceToCreature(cid) < 5 then selfSay('Olá ' .. creatureGetName(cid) .. '!') focus = cid talk_start = os.clock() elseif (string.find(msg, '(%a*)bye(%a*)') and focus ~= 0) then selfSay('Adeus ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 elseif (string.find(msg, '(%a*)heal(%a*)') and focus ~= 0) then if getPlayerHealth(cid) <= 79 then heal(cid, 80) else selfSay('Eu não posso te healar.') end end end function onCreatureChangeOutfit(creature) end function onThink() if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Próximo que queira se healar...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Adeus.') focus = 0 end end end