JA temos o de player que esse:
http://www.xtibia.co...-e-full-health/
Agora e so colocar assim:
function onAdvance(cid, skill, oldlevel, newlevel)
if skill == SKILL__LEVEL then
local sum = getCreatureSummons(cid)
if #sum <= 0 then
return true
end
doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
doCreatureAddHealth(sum[1], getCreatureMaxHealth(sum[1]))
end
return TRUE
end




info
Grupo: Marquês
Registrado: 02/07/07
Posts: 1.1k
Reputação: +287
Gênero: Masculino
Alguem tem o sistema que enche o life do poke ao passar de lv? Tanto o poke quanto o player ao passar de lv enche o life de ambos ou só do poke?