Glra é o seguinte:
em meu ot Pokemon DASH 8.54 <--- Poketibia.
alguns pokemons "fracos" <-- Rattata,wedle,caterpie,eevee,pidgey, <--- pokes mais ou menos desse Nível
morrem assim que dou use na pokebola deles... mesmo curando-os no CP, qdo vou "INVOCALOS" eles morrem, aparecem sem life, e morrem...
Keria um ajuda... ^.-
ai vai o ACTIONS/SCRIPTS do Rattata :
function onUse(cid, item, frompos, item2, topos)local rat = {x=1031,y=1010,z=5}
local cat = {x=1029,y=1010,z=5}
local wee = {x=1027,y=1010,z=5}
local pox = getTownTemplePosition(1)
local health = 350
local maxhealth = 350
local description = "Contains a Rattata."
local poke1 = "This is Rattata's pokeball. HP = ["..health.."/"..maxhealth.."]"
item = doCreateItemEx(2219)
doItemSetAttribute(item, "poke", poke1)
doItemSetAttribute(item, "nome", "Rattata")
doItemSetAttribute(item, "description", description)
doPlayerAddItemEx(cid, item, true)
doTransformItem(item, 2222)
doPlayerSendTextMessage(cid, 27, "You got your first pokemon! Here is some experience to help you on your way.")
doPlayerSendTextMessage(cid, 27, "Don\'t forget to use your pokedex on every undiscovered pokemon!")
doPlayerAddExp(cid, 800)
doTeleportThing(cid, pox)
doSendMagicEffect(pox, 21)
doPlayerAddItem(cid, 2152, 30)
doPlayerAddSoul(cid, 1)
setPlayerStorageValue(cid, 54842, "Rattata, ")
return TRUE
end
Kem mi ajudar e der certo dou REP+por 5 dias (+5 REP)
Grato,
Vinny.