Histórico de Curtidas
-
Str00per recebeu reputação de ZoR em Hiraishin no JutsuSeria sem a Kunai? Apenas selar alguem e depois usar o jutsu fazendo com que se teleporte para a pessoa?
Se sim e essa :D
Procure Hiraisin Ni No Dan e Repute o topico do xWhiteWolf
-
Str00per recebeu reputação de luangop em Transformação Automatica - Automatic TransformAgora funcionou, muito bom.
REPUTADO
-
Str00per deu reputação a luangop em Transformação Automatica - Automatic TransformEm data/creaturescripts/creaturescripts.xml add essa tag:
Em data/creaturescripts/scripts crie um arquivo evolveclass.lua, e adicione o seguinte:
function onAdvance(cid, skill, oldLevel, newLevel) local level = getPlayerLevel(cid) local vocatual = getPlayerVocation(cid) local newvoc = vocatual + 1 if level >= 50 and getPlayerStorageValue(cid, 88888) <= 0 then doPlayerSetVocation(cid, newvoc) setPlayerStorageValue(cid, 88888, 1) doPlayerSendTextMessage(cid, 22, "Congratz! You get "..level.." or more, and evolved to "..(getVocationInfo(newvoc).description).."!") return true end if level >= 100 and getPlayerStorageValue(cid, 88889) <= 0 then doPlayerSetVocation(cid, newvoc) setPlayerStorageValue(cid, 88889, 1) doPlayerSendTextMessage(cid, 22, "Congratz! You get "..level.." or more, and evolved to "..(getVocationInfo(newvoc).description).."!") return true end end Ainda em data/creaturescripts/scripts, abra o arquivo login.lua e Procure por qualquer linha que contenha registerCreatureEvent, e adicione isso embaixo:
Obs: O sistema evolui sendo que as evoluções, estejam com ID em ordem. Tipo > vocation 1 >> vocation 2 >> vocation 3
-
Str00per deu reputação a luangop em Transformação Automatica - Automatic TransformTeste com este script então...
OBS: crie novo char, para nao bugar as storage.
function onAdvance(cid, skill, oldLevel, newLevel) local level = getPlayerLevel(cid) local vocatual = getPlayerVocation(cid) local newvoc = vocatual + 1 if level >= 50 and getPlayerStorageValue(cid, 88888) <= 0 then doPlayerSetVocation(cid, newvoc) setPlayerStorageValue(cid, 88888, 1) doPlayerSendTextMessage(cid, 22, "Congratz! You get "..level.." or more, and evolved to "..(getVocationInfo(newvoc).description).."!") return true end if level >= 100 and getPlayerStorageValue(cid, 88889) <= 0 then doPlayerSetVocation(cid, newvoc) setPlayerStorageValue(cid, 88889, 1) doPlayerSendTextMessage(cid, 22, "Congratz! You get "..level.." or more, and evolved to "..(getVocationInfo(newvoc).description).."!") return true end end
@Str00per Verifique também se a vocation está realmente errada, e não somente a mensagem que o player recebe..