admvinny 0 Postado Julho 11, 2011 Share Postado Julho 11, 2011 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. Link para o comentário https://xtibia.com/forum/topic/161286-duvida-pokemons-morrem-assim-que-tiro-da-pokeball/ Compartilhar em outros sites More sharing options...
eddievanhalen 0 Postado Julho 12, 2011 Share Postado Julho 12, 2011 Na onde ta: local health = 350local maxhealth = 350 aumente pra 500, ou então vc abre o goback e aumente a life lá. Link para o comentário https://xtibia.com/forum/topic/161286-duvida-pokemons-morrem-assim-que-tiro-da-pokeball/#findComment-1063570 Compartilhar em outros sites More sharing options...
Henrique127 11 Postado Julho 12, 2011 Share Postado Julho 12, 2011 Ola admvinny Apenas Veja A Vida Que Voce Quer Por Exemplo O rattata Tem 500 De Life ai voce poin health , maxhealth 500 tbm pronto feito isso depois ira em data/acctions/script e abra o goback ,, e procure rattata se tive por exemplo 300 ,, voce mude pra 500 .. Assim Para Todos Os Monstros !! Link para o comentário https://xtibia.com/forum/topic/161286-duvida-pokemons-morrem-assim-que-tiro-da-pokeball/#findComment-1063595 Compartilhar em outros sites More sharing options...
Posts Recomendados