@slicer que Adjusstarus é esse teria como vc colocar na scripter?
num sei onde eu coloco isso que vc falou agora
info
Grupo: Visconde
Registrado: 10/09/12
Posts: 476
Reputação: +2
Char no Tibia: Esqueci

@slicer que Adjusstarus é esse teria como vc colocar na scripter?
num sei onde eu coloco isso que vc falou agora
Foi mal eu esqueci de algumas partes:
local evo = {
["Snorlax"] = "Shiny Snorlax",
["Gengar"] = "Shiny Gengar",
["Pikachu"] = "Raichu",
["Paras"] = "Shiny Paras",
}
local balls = {
[11826] = {newBall = 11737},
[11832] = {newBall = 11740},
[11835] = {newBall = 11743},
[11829] = {newBall = 11746},
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then
local monster = getCreatureName(itemEx.uid)
if evo[monster] then
doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getPokeName(itemEx.uid).." evolved into a "..evo[monster].."!")
local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid)
doSendMagicEffect(getThingPos(itemEx.uid), 18)
doRemoveCreature(itemEx.uid)
doRemoveItem(item.uid, 1)
doSummonMonster(cid,evo[monster])
local pokeball = getPlayerSlotItem(cid, 8)
doItemSetAttribute(pokeball.uid, "poke", evo[monster])
doItemSetAttribute(pokeball.uid, "level", pokes[evo[monster]].level)
doItemSetAttribute(ball, "hp", 1)
doItemSetAttribute(ball, "happy", 110)
local pk = getCreatureSummons(cid)[1]
local getShinyPokeballs = balls[getPlayerSlotItem(cid, 8).itemid]
doTransformItem(getPlayerSlotItem(cid, 8).uid, getShinyPokeballs.newBall)
adjustStatus(pk, pokeball.uid, true, false, true)
return TRUE
end
end
return FALSE
end
Editado Janeiro 1 por SmiX
info
Grupo: Visconde
Registrado: 10/09/12
Posts: 476
Reputação: +2
Char no Tibia: Esqueci

@Smix Agora sim está pegando normal Veja.
02:51 You see your raichu.
Hit points: 10248/10248.
Agora quando eu transformei ele em shiny
02:51 You see your shiny raichu.
Hit points: 11272/11272.
He is mad.
Hehe quando eu tiver rep+ vou dar mais rep+ em vc ..rsrs
info
Grupo: Príncipe
Registrado: 19/08/10
Posts: 4k
Reputação: +1.1k
Gênero: Masculino
faltou usar o adjustStatus...