O sistema de transformar é esse,va na pasta talkactions.xml e adicione esta tag:
<talkaction words="transformar;Transformar" event="script" value="transform.lua"/>[/font][/color] [color=#282828][font=helvetica, arial, sans-serif]
Em transform.lua
local config = {
--[vocation id] = { level, nova voc, looktype, efeito}
[1] = { 50, 2, 37, 56},
[2] = { 75, 3, 18, 17},
[3] = { 100, 4, 71, 17},
[4] = { 150, 5, 70, 17},
[5] = { 180, 6, 366, 11},
[6] = { 200, 7, 365, 11}
}
function onSay(cid, words, param, channel)
doPlayerSay(cid, "transformar")
local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Transformou!")
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getCreaturePosition(cid), voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Você não pode se Transformar!")
end
return true
end
Espero ter ajudado...






info
Grupo: Campones
Registrado: 19/07/12
Posts: 49
Reputação: 0
Char no Tibia: [ADM] Fax
Gostaria de pedir uma transformação na qual fica permanente, porem quando transforma fica com 1 simples efeito correndo pelo personagem o tempo todo.
Server: Naruto Legend.
Versão: 8.54