Evolução :
local evo = {
["Dragon"] = "Dragon Lord",
["Rat"] = "Cave Rat",
}
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
local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid)
doRemoveCreature(itemEx.uid)
local summon = doCreateMonster(evo[monster], toPosition)
doConvinceCreature(cid, summon)
doCreatureAddHealth(summon, health-maxHealth)
doSendMagicEffect(getThingPos(summon), CONST_ME_FIREWORK_RED)
return TRUE
end
end
return FALSE
end





info
Grupo: Campones
Registrado: 29/06/10
Posts: 28
Reputação: 0
Char no Tibia: Legendary math
Ola tenho um server de poketibia e preciso muito de um script
de evoluçao
O script tem que ser pra versao 8.1
o estilo e a evoluçao por pedra da use with no iten e clica no pokemon e ele evolui
se voces poder criar ou pegar um para mim agradço thanks
BYE!!