Ir para conteúdo

Scripts De Poketibia


cariocaenois

Posts Recomendados

Tipo do script: Poketibia

Protocolo (versão do Tibia): 8.54

Servidor utilizado: Pokemon Flash

Nível de experiência: Razoável

Adicionais/Informações: Quero que exista um level para usar cada pokemon no PokeTibia. Deixe-me explicar melhor:

 

O jogador começa com um rattata ou algum outro pokemon(no caso do meu ot: charmander, bulbassaur e squirtle)

 

Aí o jogador captura um ponyta(exemplo)

Sendo assim, ele terá uma pokebola com um ponyta dentro.

Então ele só poderá usar o ponyta no level 20(no caso do meu ot, qualquer level pode usar.).

 

E pra evoluir a mesma coisa:

ele só conseguirá evoluir para rapidash no level 60, por exemplo.

 

Vou colocar aqui os script do ponyta e do monsters.xml, já que não sei em qual devo mexer.

 

monsters.xml

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<monsters>
<monster name="aipom" file="pokes/aipom.xml"/>

<monster name="ambipom" file="pokes/ambipom.xml"/>

<monster name="duskull" file="pokes/duskull.xml"/>

<monster name="dusclops" file="pokes/dusclops.xml"/>

<monster name="swablu" file="pokes/swablu.xml"/>

<monster name="corphish" file="pokes/corphish.xml"/>

<monster name="crawdaunt" file="pokes/crawdaunt.xml"/>

<monster name="buizel" file="pokes/buizel.xml"/>

<monster name="pidgey" file="pokes/pidgey.xml"/>

<monster name="riolu" file="pokes/riolu.xml"/>

<monster name="lucario" file="pokes/lucario.xml"/>

<monster name="aerodactyl" file="pokes/aerodactyl.xml"/>

<monster name="goldeen" file="pokes/goldeen.xml"/>

<monster name="elekid" file="pokes/elekid.xml"/>

<monster name="magby" file="pokes/magby.xml"/>

<monster name="togepi" file="pokes/togepi.xml"/>

<monster name="togetic" file="pokes/togetic.xml"/>

<monster name="pichu" file="pokes/pichu.xml"/>

<monster name="tyrogue" file="pokes/tyrogue.xml"/>

<monster name="lickitung" file="pokes/lickitung.xml"/>

<monster name="charmander" file="pokes/charmander.xml"/>

<monster name="bulbasaur" file="pokes/bulbasaur.xml"/>

<monster name="spearow" file="pokes/spearow.xml"/>

<monster name="ivysaur" file="pokes/ivysaur.xml"/>

<monster name="charmeleon" file="pokes/charmeleon.xml"/>

<monster name="venusaur" file="pokes/venusaur.xml"/>

<monster name="charizard" file="pokes/charizard.xml"/>

<monster name="squirtle" file="pokes/squirtle.xml"/>

<monster name="wartortle" file="pokes/wartortle.xml"/>

<monster name="blastoise" file="pokes/blastoise.xml"/>

<monster name="caterpie" file="pokes/caterpie.xml"/>

<monster name="metapod" file="pokes/metapod.xml"/>

<monster name="butterfree" file="pokes/butterfree.xml"/>

<monster name="weedle" file="pokes/weedle.xml"/>

<monster name="kakuna" file="pokes/kakuna.xml"/>

<monster name="beedrill" file="pokes/beedrill.xml"/>

<monster name="pidgeotto" file="pokes/pidgeotto.xml"/>

<monster name="pidgeot" file="pokes/pidgeot.xml"/>

<monster name="rattata" file="pokes/rattata.xml"/>

<monster name="raticate" file="pokes/raticate.xml"/>

<monster name="fearow" file="pokes/fearow.xml"/>

<monster name="ekans" file="pokes/ekans.xml"/>

<monster name="arbok" file="pokes/arbok.xml"/>

<monster name="pikachu" file="pokes/pikachu.xml"/>

<monster name="raichu" file="pokes/raichu.xml"/>

<monster name="sandshrew" file="pokes/sandshrew.xml"/>

<monster name="Sandslash" file="pokes/Sandslash.xml"/>

<monster name="nidoran F" file="pokes/nidoranfe.xml"/>

<monster name="nidorina" file="pokes/nidorina.xml"/>

<monster name="nidoqueen" file="pokes/nidoqueen.xml"/>

<monster name="nidoran M" file="pokes/nidoranma.xml"/>

<monster name="nidorino" file="pokes/nidorino.xml"/>

<monster name="nidoking" file="pokes/nidoking.xml"/>

<monster name="clefairy" file="pokes/clefairy.xml"/>

<monster name="clefable" file="pokes/clefable.xml"/>

<monster name="vulpix" file="pokes/vulpix.xml"/>

<monster name="ninetales" file="pokes/ninetales.xml"/>

<monster name="jigglypuff" file="pokes/jigglypuff.xml"/>

<monster name="wigglytuff" file="pokes/wigglytuff.xml"/>

<monster name="zubat" file="pokes/zubat.xml"/>

<monster name="golbat" file="pokes/golbat.xml"/>

<monster name="crobat" file="pokes/crobat.xml"/>

<monster name="oddish" file="pokes/oddish.xml"/>

<monster name="gloom" file="pokes/gloom.xml"/>

<monster name="vileplume" file="pokes/vileplume.xml"/>

<monster name="paras" file="pokes/paras.xml"/>

<monster name="parasect" file="pokes/parasect.xml"/>

<monster name="venonat" file="pokes/venonat.xml"/>

<monster name="venomoth" file="pokes/venomoth.xml"/>

<monster name="diglett" file="pokes/diglett.xml"/>

<monster name="dugtrio" file="pokes/dugtrio.xml"/>

<monster name="meowth" file="pokes/meowth.xml"/>

<monster name="persian" file="pokes/persian.xml"/>

<monster name="psyduck" file="pokes/psyduck.xml"/>

<monster name="golduck" file="pokes/golduck.xml"/>

<monster name="mankey" file="pokes/mankey.xml"/>

<monster name="primeape" file="pokes/primeape.xml"/>

<monster name="growlithe" file="pokes/growlithe.xml"/>

<monster name="arcanine" file="pokes/arcanine.xml"/>

<monster name="poliwag" file="pokes/poliwag.xml"/>

<monster name="Poliwhirl" file="pokes/Poliwhirl.xml"/>

<monster name="Politoed" file="pokes/politoed.xml"/>

<monster name="poliwrath" file="pokes/poliwrath.xml"/>

<monster name="abra" file="pokes/abra.xml"/>

<monster name="kadabra" file="pokes/kadabra.xml"/>

<monster name="alakazam" file="pokes/alakazam.xml"/>

<monster name="gastly" file="pokes/gastly.xml"/>

<monster name="haunter" file="pokes/haunter.xml"/>

<monster name="gengar" file="pokes/gengar.xml"/>

<monster name="machop" file="pokes/machop.xml"/>

<monster name="machoke" file="pokes/machoke.xml"/>

<monster name="machamp" file="pokes/machamp.xml"/>

<monster name="bellsprout" file="pokes/bellsprout.xml"/>

<monster name="weepinbell" file="pokes/weepinbell.xml"/>

<monster name="victreebel" file="pokes/victreebel.xml"/>

<monster name="tentacool" file="pokes/tentacool.xml"/>

<monster name="tentacruel" file="pokes/tentacruel.xml"/>

<monster name="geodude" file="pokes/geodude.xml"/>

<monster name="graveler" file="pokes/graveler.xml"/>

<monster name="golem" file="pokes/golem.xml"/>

<monster name="ponyta" file="pokes/ponyta.xml"/>

<monster name="rapidash" file="pokes/rapidash.xml"/>

<monster name="slowpoke" file="pokes/slowpoke.xml"/>

<monster name="slowbro" file="pokes/slowbro.xml"/>

<monster name="magnemite" file="pokes/magnemite.xml"/>

<monster name="magneton" file="pokes/magneton.xml"/>

<monster name="magnezone" file="pokes/magnezone.xml"/>

<monster name="Farfetchd" file="pokes/Farfetchd.xml"/>

<monster name="doduo" file="pokes/doduo.xml"/>

<monster name="dodrio" file="pokes/dodrio.xml"/>

<monster name="seel" file="pokes/seel.xml"/>

<monster name="dewgong" file="pokes/dewgong.xml"/>

<monster name="grimer" file="pokes/grimer.xml"/>

<monster name="muk" file="pokes/muk.xml"/>

<monster name="onix" file="pokes/onix.xml"/>

<monster name="shellder" file="pokes/shellder.xml"/>

<monster name="cloyster" file="pokes/cloyster.xml"/>

<monster name="Drowzee" file="pokes/Drowzee.xml"/>

<monster name="hypno" file="pokes/hypno.xml"/>

<monster name="krabby" file="pokes/krabby.xml"/>

<monster name="Kingler" file="pokes/Kingler.xml"/>

<monster name="voltorb" file="pokes/voltorb.xml"/>

<monster name="electrode" file="pokes/electrode.xml"/>

<monster name="exeggcute" file="pokes/exeggcute.xml"/>

<monster name="Exeggutor" file="pokes/Exeggutor.xml"/>

<monster name="cubone" file="pokes/cubone.xml"/>

<monster name="marowak" file="pokes/marowak.xml"/>

<monster name="hitmonlee" file="pokes/hitmonlee.xml"/>

<monster name="hitmonchan" file="pokes/hitmonchan.xml"/>

<monster name="weezing" file="pokes/weezing.xml"/>

<monster name="koffing" file="pokes/koffing.xml"/>

<monster name="Rhydon" file="pokes/Rhydon.xml"/>

<monster name="Rhyhorn" file="pokes/Rhyhorn.xml"/>

<monster name="chansey" file="pokes/chansey.xml"/>

<monster name="tangela" file="pokes/tangela.xml"/>

<monster name="kangaskhan" file="pokes/kangaskhan.xml"/>

<monster name="horsea" file="pokes/horsea.xml"/>

<monster name="seadra" file="pokes/seadra.xml"/>

<monster name="kingdra" file="pokes/kingdra.xml"/>

<monster name="shuppet" file="pokes/shuppet.xml"/>

<monster name="banette" file="pokes/banette.xml"/>

<monster name="staryu" file="pokes/staryu.xml"/>

<monster name="starmie" file="pokes/starmie.xml"/>

<monster name="mime jr" file="pokes/mime jr.xml"/>

<monster name="mr.mime" file="pokes/mr.mime.xml"/>

<monster name="scyther" file="pokes/scyther.xml"/>

<monster name="smoochum" file="pokes/smoochum.xml"/>

<monster name="jynx" file="pokes/jynx.xml"/>

<monster name="electabuzz" file="pokes/electabuzz.xml"/>

<monster name="magmar" file="pokes/magmar.xml"/>

<monster name="pinsir" file="pokes/pinsir.xml"/>

<monster name="tauros" file="pokes/tauros.xml"/>

<monster name="seaking" file="pokes/seaking.xml"/>

<monster name="magikarp" file="pokes/magikarp.xml"/>

<monster name="gyarados" file="pokes/gyarados.xml"/>

<monster name="lapras" file="pokes/lapras.xml"/>

<monster name="ditto" file="pokes/ditto.xml"/>

<monster name="eevee" file="pokes/eevee.xml"/>

<monster name="vaporeon" file="pokes/vaporeon.xml"/>

<monster name="flareon" file="pokes/flareon.xml"/>

<monster name="jolteon" file="pokes/jolteon.xml"/>

<monster name="porygon" file="pokes/porygon.xml"/>

<monster name="omanyte" file="pokes/omanyte.xml"/>

<monster name="omastar" file="pokes/omastar.xml"/>

<monster name="kabuto" file="pokes/kabuto.xml"/>

<monster name="kabutops" file="pokes/kabutops.xml"/>

<monster name="snorlax" file="pokes/snorlax.xml"/>

<monster name="dratini" file="pokes/dratini.xml"/>

<monster name="dragonair" file="pokes/dragonair.xml"/>

<monster name="dragonite" file="pokes/dragonite.xml"/>

<monster name="ivysaur2" file="pokes/ivysaur2.xml"/>

<monster name="charmeleon2" file="pokes/charmeleon2.xml"/>

<monster name="wartortle2" file="pokes/wartortle2.xml"/>

<monster name="pidgeotto2" file="pokes/pidgeotto2.xml"/>

<monster name="spearow2" file="pokes/spearow2.xml"/>

<monster name="nidorino2" file="pokes/nidorino2.xml"/>

<monster name="nidorina2" file="pokes/nidorina2.xml"/>

<monster name="vulpix2" file="pokes/vulpix2.xml"/>

<monster name="paras2" file="pokes/paras2.xml"/>

<monster name="psyduck2" file="pokes/psyduck2.xml"/>

<monster name="growlithe2" file="pokes/growlithe2.xml"/>

<monster name="poliwhirl2" file="pokes/poliwhirl2.xml"/>

<monster name="kadabra2" file="pokes/kadabra2.xml"/>

<monster name="machoke2" file="pokes/machoke2.xml"/>

<monster name="weepinbell2" file="pokes/weepinbell2.xml"/>

<monster name="tentacool2" file="pokes/tentacool2.xml"/>

<monster name="graveler2" file="pokes/graveler2.xml"/>

<monster name="shellder2" file="pokes/shellder2.xml"/>

<monster name="haunter2" file="pokes/haunter2.xml"/>

<monster name="drowzee2" file="pokes/drowzee2.xml"/>

<monster name="seadra2" file="pokes/seadra2.xml"/>

<monster name="exeggcute2" file="pokes/exeggcute2.xml"/>

<monster name="rhyhorn2" file="pokes/rhyhorn2.xml"/>

<monster name="magikarp2" file="pokes/magikarp2.xml"/>

<monster name="omanyte2" file="pokes/omanyte2.xml"/>

<monster name="kabuto2" file="pokes/kabuto2.xml"/>

<monster name="dragonair2" file="pokes/dragonair2.xml"/>

<monster name="elekid2" file="pokes/elekid2.xml"/>

<monster name="magby2" file="pokes/magby2.xml"/>

<monster name="mime jr2" file="pokes/mime jr2.xml"/>

<monster name="smoochum2" file="pokes/smoochum2.xml"/>

<monster name="riolu2" file="pokes/riolu2.xml"/>

<monster name="togepi2" file="pokes/togepi2.xml"/>

<monster name="duskull2" file="pokes/duskull2.xml"/>

<monster name="shuppet2" file="pokes/shuppet2.xml"/>

<monster name="magneton2" file="pokes/magneton2.xml"/>

<monster name="big snorlax" file="pokes/raros/big snorlax.xml"/>

<monster name="elder charizard" file="pokes/raros/elder charizard.xml"/>

<monster name="crystal onix" file="pokes/raros/crystal onix.xml"/>

<monster name="red gyarados" file="pokes/raros/red gyarados.xml"/>

<monster name="articuno" file="pokes/raros/articuno.xml"/>

<monster name="zapdos" file="pokes/raros/zapdos.xml"/>

<monster name="moltres" file="pokes/raros/moltres.xml"/> 

<monster name="celebi" file="pokes/raros/celebi.xml"/>

<monster name="lugia" file="pokes/raros/lugia.xml"/>

<monster name="mew" file="pokes/raros/mew.xml"/>

<monster name="mewtwo" file="pokes/raros/mewtwo.xml"/>

<monster name="shiny abra" file="pokes/shiny/shiny abra.xml"/>

<monster name="shiny alakazam" file="pokes/shiny/shiny alakazam.xml"/>

<monster name="shiny arcanine" file="pokes/shiny/shiny arcanine.xml"/>

<monster name="shiny beedrill" file="pokes/shiny/shiny beedrill.xml"/>

<monster name="shiny blastoise" file="pokes/shiny/shiny blastoise.xml"/>

<monster name="shiny butterfree" file="pokes/shiny/shiny butterfree.xml"/>

<monster name="shiny caterpie" file="pokes/shiny/shiny caterpie.xml"/>

<monster name="shiny cubone" file="pokes/shiny/shiny cubone.xml"/>

<monster name="shiny dratini" file="pokes/shiny/shiny dratini.xml"/>

<monster name="shiny dragonair" file="pokes/shiny/shiny dragonair.xml"/>

<monster name="shiny dragonite" file="pokes/shiny/shiny dragonite.xml"/>

<monster name="shiny electabuzz" file="pokes/shiny/shiny electabuzz.xml"/>

<monster name="shiny electrode" file="pokes/shiny/shiny electrode.xml"/>

<monster name="shiny farfetchd" file="pokes/shiny/shiny farfetchd.xml"/>

<monster name="shiny flareon" file="pokes/shiny/shiny flareon.xml"/>

<monster name="shiny gengar" file="pokes/shiny/shiny gengar.xml"/>

<monster name="shiny golbat" file="pokes/shiny/shiny golbat.xml"/>

<monster name="shiny grimer" file="pokes/shiny/shiny grimer.xml"/>

<monster name="shiny growlithe" file="pokes/shiny/shiny growlithe.xml"/>

<monster name="shiny hitmonchan" file="pokes/shiny/shiny hitmonchan.xml"/>

<monster name="shiny hitmonlee" file="pokes/shiny/shiny hitmonlee.xml"/>

<monster name="shiny horsea" file="pokes/shiny/shiny horsea.xml"/>

<monster name="shiny hypno" file="pokes/shiny/shiny hypno.xml"/>

<monster name="shiny jolteon" file="pokes/shiny/shiny jolteon.xml"/>

<monster name="shiny jynx" file="pokes/shiny/shiny jynx.xml"/>

<monster name="shiny kingler" file="pokes/shiny/shiny kingler.xml"/>

<monster name="shiny krabby" file="pokes/shiny/shiny krabby.xml"/>

<monster name="shiny marowak" file="pokes/shiny/shiny marowak.xml"/>

<monster name="shiny metapod" file="pokes/shiny/shiny metapod.xml"/>

<monster name="shiny parasect" file="pokes/shiny/shiny parasect.xml"/>

<monster name="shiny pidgeot" file="pokes/shiny/shiny pidgeot.xml"/>

<monster name="shiny pinsir" file="pokes/shiny/shiny pinsir.xml"/>

<monster name="shiny raichu" file="pokes/shiny/shiny raichu.xml"/>

<monster name="shiny raticate" file="pokes/shiny/shiny raticate.xml"/>

<monster name="shiny scyther" file="pokes/shiny/shiny scyther.xml"/>

<monster name="shiny seadra" file="pokes/shiny/shiny seadra.xml"/>

<monster name="shiny tangela" file="pokes/shiny/shiny tangela.xml"/>

<monster name="shiny tentacruel" file="pokes/shiny/shiny tentacruel.xml"/>

<monster name="shiny vaporeon" file="pokes/shiny/shiny vaporeon.xml"/>

<monster name="shiny venomoth" file="pokes/shiny/shiny venomoth.xml"/>

<monster name="shiny venusaur" file="pokes/shiny/shiny venusaur.xml"/>

<monster name="shiny voltorb" file="pokes/shiny/shiny voltorb.xml"/>

<monster name="shiny zubat" file="pokes/shiny/shiny zubat.xml"/>

<monster name="[elite] aerodactyl" file="pokes/elite/[elite] aerodactyl.xml"/>

<monster name="[elite] alakazam" file="pokes/elite/[elite] alakazam.xml"/>

<monster name="[elite] ambipom" file="pokes/elite/[elite] ambipom.xml"/>

<monster name="[elite] arbok" file="pokes/elite/[elite] arbok.xml"/>

<monster name="[elite] arcanine" file="pokes/elite/[elite] arcanine.xml"/>

<monster name="[elite] banette" file="pokes/elite/[elite] banette.xml"/>

<monster name="[elite] beedrill" file="pokes/elite/[elite] beedrill.xml"/>

<monster name="[elite] blastoise" file="pokes/elite/[elite] blastoise.xml"/>

<monster name="[elite] buizel" file="pokes/elite/[elite] buizel.xml"/>

<monster name="[elite] butterfree" file="pokes/elite/[elite] butterfree.xml"/>

<monster name="[elite] chansey" file="pokes/elite/[elite] chansey.xml"/>

<monster name="[elite] charizard" file="pokes/elite/[elite] charizard.xml"/>

<monster name="[elite] clefable" file="pokes/elite/[elite] clefable.xml"/>

<monster name="[elite] cloyster" file="pokes/elite/[elite] cloyster.xml"/>

<monster name="[elite] crawdaunt" file="pokes/elite/[elite] crawdaunt.xml"/>

<monster name="[elite] crobat" file="pokes/elite/[elite] crobat.xml"/>

<monster name="[elite] dewgong" file="pokes/elite/[elite] dewgong.xml"/>

<monster name="[elite] dodrio" file="pokes/elite/[elite] dodrio.xml"/>

<monster name="[elite] dragonite" file="pokes/elite/[elite] dragonite.xml"/>

<monster name="[elite] dusclops" file="pokes/elite/[elite] dusclops.xml"/>

<monster name="[elite] electabuzz" file="pokes/elite/[elite] electabuzz.xml"/>

<monster name="[elite] electrode" file="pokes/elite/[elite] electrode.xml"/>

<monster name="[elite] exeggutor" file="pokes/elite/[elite] exeggutor.xml"/>

<monster name="[elite] farfetchd" file="pokes/elite/[elite] farfetchd.xml"/>

<monster name="[elite] fearow" file="pokes/elite/[elite] fearow.xml"/>

<monster name="[elite] flareon" file="pokes/elite/[elite] flareon.xml"/>

<monster name="[elite] gengar" file="pokes/elite/[elite] gengar.xml"/>

<monster name="[elite] golduck" file="pokes/elite/[elite] golduck.xml"/>

<monster name="[elite] golem" file="pokes/elite/[elite] golem.xml"/>

<monster name="[elite] gyarados" file="pokes/elite/[elite] gyarados.xml"/>

<monster name="[elite] hitmonchan" file="pokes/elite/[elite] hitmonchan.xml"/>

<monster name="[elite] hitmonlee" file="pokes/elite/[elite] hitmonlee.xml"/>

<monster name="[elite] hypno" file="pokes/elite/[elite] hypno.xml"/>

<monster name="[elite] jolteon" file="pokes/elite/[elite] jolteon.xml"/>

<monster name="[elite] jynx" file="pokes/elite/[elite] jynx.xml"/>

<monster name="[elite] kabutops" file="pokes/elite/[elite] kabutops.xml"/>

<monster name="[elite] kangaskhan" file="pokes/elite/[elite] kangaskhan.xml"/>

<monster name="[elite] kingdra" file="pokes/elite/[elite] kingdra.xml"/>

<monster name="[elite] kingler" file="pokes/elite/[elite] kingler.xml"/>

<monster name="[elite] lapras" file="pokes/elite/[elite] lapras.xml"/>

<monster name="[elite] lickitung" file="pokes/elite/[elite] lickitung.xml"/>

<monster name="[elite] lucario" file="pokes/elite/[elite] lucario.xml"/>

<monster name="[elite] machamp" file="pokes/elite/[elite] machamp.xml"/>

<monster name="[elite] magmar" file="pokes/elite/[elite] magmar.xml"/>

<monster name="[elite] magnezone" file="pokes/elite/[elite] magnezone.xml"/>

<monster name="[elite] marowak" file="pokes/elite/[elite] marowak.xml"/>

<monster name="[elite] mr.mime" file="pokes/elite/[elite] mr.mime.xml"/>

<monster name="[elite] muk" file="pokes/elite/[elite] muk.xml"/>

<monster name="[elite] nidoking" file="pokes/elite/[elite] nidoking.xml"/>

<monster name="[elite] nidoqueen" file="pokes/elite/[elite] nidoqueen.xml"/>

<monster name="[elite] ninetales" file="pokes/elite/[elite] ninetales.xml"/>

<monster name="[elite] omastar" file="pokes/elite/[elite] omastar.xml"/>

<monster name="[elite] onix" file="pokes/elite/[elite] onix.xml"/>

<monster name="[elite] parasect" file="pokes/elite/[elite] parasect.xml"/>

<monster name="[elite] persian" file="pokes/elite/[elite] persian.xml"/>

<monster name="[elite] pidgeot" file="pokes/elite/[elite] pidgeot.xml"/>

<monster name="[elite] pinsir" file="pokes/elite/[elite] pinsir.xml"/>

<monster name="[elite] politoed" file="pokes/elite/[elite] politoed.xml"/>

<monster name="[elite] poliwrath" file="pokes/elite/[elite] poliwrath.xml"/>

<monster name="[elite] porygon" file="pokes/elite/[elite] porygon.xml"/>

<monster name="[elite] primeape" file="pokes/elite/[elite] primeape.xml"/>

<monster name="[elite] raichu" file="pokes/elite/[elite] raichu.xml"/>

<monster name="[elite] rapidash" file="pokes/elite/[elite] rapidash.xml"/>

<monster name="[elite] raticate" file="pokes/elite/[elite] raticate.xml"/>

<monster name="[elite] rhydon" file="pokes/elite/[elite] rhydon.xml"/>

<monster name="[elite] sandslash" file="pokes/elite/[elite] sandslash.xml"/>

<monster name="[elite] scyther" file="pokes/elite/[elite] scyther.xml"/>

<monster name="[elite] seaking" file="pokes/elite/[elite] seaking.xml"/>

<monster name="[elite] slowbro" file="pokes/elite/[elite] slowbro.xml"/>

<monster name="[elite] snorlax" file="pokes/elite/[elite] snorlax.xml"/>

<monster name="[elite] starmie" file="pokes/elite/[elite] starmie.xml"/>

<monster name="[elite] tangela" file="pokes/elite/[elite] tangela.xml"/>

<monster name="[elite] tauros" file="pokes/elite/[elite] tauros.xml"/>

<monster name="[elite] tentacruel" file="pokes/elite/[elite] tentacruel.xml"/>

<monster name="[elite] togetic" file="pokes/elite/[elite] togetic.xml"/>

<monster name="[elite] vaporeon" file="pokes/elite/[elite] vaporeon.xml"/>

<monster name="[elite] venomoth" file="pokes/elite/[elite] venomoth.xml"/>

<monster name="[elite] venusaur" file="pokes/elite/[elite] venusaur.xml"/>

<monster name="[elite] victreebel" file="pokes/elite/[elite] victreebel.xml"/>

<monster name="[elite] vileplume" file="pokes/elite/[elite] vileplume.xml"/>

<monster name="[elite] weezing" file="pokes/elite/[elite] weezing.xml"/>

<monster name="[elite] wigglytuff" file="pokes/elite/[elite] wigglytuff.xml"/>
</monsters>

 

 

 

Ponyta.xml:

 

 

 

<?xml version="1.0" encoding="utf-8"?>
<monster name="Ponyta" namedescription="a Ponyta" race="undead" experience="190" speed="276" manacost="300">
 <health now="1000" max="1000"/>
 <look type="16" head="20" body="30" legs="40" feet="50" corpse="5975"/>
 	<targetchange interval="1000" chance="1000"/>
 <strategy attack="100" defense="0"/>
 <flags>
   <flag summonable="1"/>
   <flag attackable="1"/>
   <flag hostile="1"/>
   <flag illusionable="1"/>
   <flag convinceable="1"/>
   <flag pushable="0"/>
   <flag canpushitems="0"/>
   <flag canpushcreatures="0"/>
   <flag targetdistance="1"/>
   <flag staticattack="90"/>
   <flag runonhealth="15"/>
 </flags>
  <attacks>
   <attack name="tackle" interval="1000" chance="50" min="-10" max="-30">
   </attack>
   <attack name="scratch" interval="4500" chance="90" min="-30" max="-45">
   </attack>
   <attack name="quick attack" interval="5000" chance="90" min="-50" max="-120">
   </attack>
   <attack name="ember" interval="3500" chance="90" min="-20" max="-70">
   </attack>
   <attack name="rapid attack" interval="7000" chance="90" min="-99" max="-109">
   </attack>
 </attacks>
 <defenses armor="1" defense="1"/>
 <immunities>
   <immunity physical="0"/>
   <immunity energy="0"/>
   <immunity fire="0"/>
   <immunity poison="0"/>
   <immunity lifedrain="0"/>
   <immunity paralyze="0"/>
   <immunity outfit="0"/>
   <immunity drunk="0"/>
   <immunity invisible="0"/>
 </immunities>
 <voices interval="5000" chance="100">
   <voice sentence="Poony"/>
   <voice sentence="taaa"/>
</voices>
<loot>
	<item id="5894" countmax="9" chance="10000"/><!-- Sell Item -->
	<item id="5888" countmax="0" chance="1"/><!-- Sell Item -->
	<item id="5888" countmax="0" chance="1"/><!-- Sell Item -->
	<item id="5907" chance="100"/><!-- Stone -->
</loot>
</monster>

 

 

 

E outro script que eu quero é o seguinte:

 

No meu ot, os pokemons mandam ataques sozinho.

 

Eu gostaria que o dono do pokemon ordenasse o ataque, por exemplo

 

Player digita m1

 

player fala: Ponyta, bite!

 

Ponyta então ataca com o bite

 

E assim vai, m1, m2, m3, m4, m5, m6...

já consegui essa parte/\

 

 

 

E também tem um bug no meu ot que, quando vc morre montado em um pokemon, vc passará a nascer sempre montado nele, mesmo não tendo ele na pokebola.

 

É só isso que eu quero mesmo, acho que não é tão difícil.

 

 

PS:

Uso o ot e o client baixados aqui:

 

http://www.xtibia.com/forum/topic/145903-854-pokeserver-pokemon-flash/

 

 

EDIT:

Depois de umas pesquisas, descobri que para mudar o nivel do pokemon é no goback, então vou postar o meu aqui para facilitar:

 

 

 

function onUse(cid, item, fromPosition, itemEx, toPosition)
function getPokemonMaxLife(name)
	local file = io.open('data/monster/monsters.xml','r')
	local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')
	file:close()
	local data = io.open('data/monster/'..(arquivo or ''),'r')
	if not data then
		return 100
	end
	local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')
	data:close()
	return maximo
end
----- Config -----
local MaximoSummon = 1
local nome = getItemName(item.uid)
local poke_name = nome:match('(.-) Pokeball')
local summons = getCreatureSummons(cid)
local action_id = getItemAttribute(item.uid, "aid")
----- Config -----
   if getItemAttribute(item.uid, "aid") == -1 then
return doPlayerSendCancel(cid, "Seu pokemon está morto.")
end	

if getPlayerStorageValue(cid, 25000) == 5 then       
return doPlayerSendCancel(cid, "Você está montando.")
end
if getPlayerStorageValue(cid, 23000) == 5 then
return doPlayerSendCancel(cid, "Você está voando.")
end
local summons = getCreatureSummons(cid)
if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then
doPlayerSendCancel(cid, "Para Soltar seus pokemons, coloque-os no slot da pokeball.")
return TRUE
end
if(table.maxn(summons) < MaximoSummon) then -- no summons
creature = doSummonCreature(poke_name, getCreaturePosition(cid))
doConvinceCreature(cid, creature)
registerCreatureEvent(creature, "DiePoke")
registerCreatureEvent(cid, "PlayerPokeDeath")
registerCreatureEvent(cid, "LogoutPoke")
doPlayerSay(cid, "Go,"..poke_name.."!!", TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(creature), 188)
doTransformItem(getPlayerSlotItem(cid,8).uid, 2531, 1)
doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")
	if action_id ~= 0 then
doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))
	else
	doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))
	end
else
for _, pid in ipairs(summons) do
if (table.maxn(summons) >= 1) then
doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))
doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 188)
doPlayerSay(cid, "Back,"..poke_name..".", TALKTYPE_ORANGE_1)
doRemoveCreature(pid)
doTransformItem(getPlayerSlotItem(cid,8).uid, 2532, 1)
doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")
end
end
end
return true
end

 

Editado por cariocaenois
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...