Ir para conteúdo

Posts Recomendados

Estou com o OT Pokemon Dash advance onde gostaria de implementar ''passive moves" onde os pokemons soltao esta abilidade ao ''apanhar"

No servidor possue apenas 1 lista de Pokemon scyther.xml nao tem a xml dele selvagem " se nem n vi"

ficando assim

 

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Scyther" nameDescription="a scyther" race="bug" experience="1044" speed="177" manacost="0">

<health now="110" max="110"/>

<look type="366" head="55" body="80" legs="95" feet="113" corpse="11958"/>

<targetchange interval="10000" chance="0"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="1"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="1"/>

<flag pushable="1"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="1"/>

<flag staticattack="97"/>

<flag runonhealth="0"/>

<flag hungerdelay="20"/>

</flags>

<attacks>

<attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>

<attack name="Quick Attack" interval="2570" chance="31" range="2"/>

<attack name="Slash" interval="2852" chance="29" range="1"/>

<attack name="Wing Attack" interval="3322" chance="26" range="6"/>

<attack name="Fury Cutter" interval="3040" chance="28" range="1"/>

<attack name="Agility" interval="6330" chance="17" range="6"/>

<attack name="Razor Wind" interval="3040" chance="28" range="6"/>

<attack name="Swords Dance" interval="4403" chance="20" range="6"/>

<attack name="X-Scissor" interval="3698" chance="24" range="1"/>

</attacks>

<defenses armor="0" defense="0"/>

<voices interval="5000" chance="10">

<voice sentence="SCYTHER!"/>

</voices>

<loot>

<item id="12171" chance="10000" count="1" countmax="1"/>

<item id="11448" chance="100" count="1" countmax="1"/>

<item id="12167" chance="10000" count="1" countmax="1"/>

</loot>

<script>

<event name="Spawn"/>

</script>

</monster>

 

 

como posso adcionar um passive atak assim ?

Link para o comentário
https://xtibia.com/forum/topic/179539-passive-move-pokemon/
Compartilhar em outros sites

Ao receber dano você teria que criar uma onStatsChange. Depois registrar essa creaturescripts em todos os pokémons que usam passivas.

Amanhã eu faço pra você, to sem nada aqui. .-.

Link para o comentário
https://xtibia.com/forum/topic/179539-passive-move-pokemon/#findComment-1189855
Compartilhar em outros sites

  • 3 weeks later...
×
×
  • Criar Novo...