Voce pode ver esse tutorial ta muito bom acho que vai ajudar voce > http://www.xtibia.com/forum/topic/137273-tutorial-criando-monstros-direitinho-no-xml/
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Como Coloco Loot Em Um Pokemon ?
3
670
info
Grupo: Campones
Registrado: 06/10/11
Posts: 67
Reputação: +16

25 de janeiro de 2012 às 13:53
26 de janeiro de 2012 às 10:53
ta vendo uma parte que ta assim
<loot> </loot>
coloca essas linhas
<item id="12198" chance="4000" count="1" countmax="1"/> <item id="12164" chance="5000" countmax="50"/> <item id="12169" chance="2000" count="1" countmax="1"/> <item id="12176" chance="4000" countmax="5"/> <item id="11444" chance="100" count="1" countmax="1"/>
ficando assim
<loot> <item id="12198" chance="4000" count="1" countmax="1"/> <item id="12164" chance="5000" countmax="50"/> <item id="12169" chance="2000" count="1" countmax="1"/> <item id="12176" chance="4000" countmax="5"/> <item id="11444" chance="100" count="1" countmax="1"/> </loot>
Editado Janeiro 26 por otal2012



info
Grupo: Campones
Registrado: 06/08/11
Posts: 22
Reputação: 0
Oi oi gente . Esses dias eu baixei um server cujo os pokemons vinham sem loot , eu queria saber como colocar lot neles .
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Electabuzz" nameDescription="a electabuzz" race="electric" experience="1084" speed="137" manacost="0">
<health now="130" max="130"/>
<look type="632" head="15" body="20" legs="95" feet="113" corpse="11871"/>
<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="19"/>
</flags>
<attacks>
<attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"> </attack>
<attack name="Quick Attack" interval="2617" chance="30" range="2">
</attack>
<attack name="Thunder Punch" interval="2946" chance="28" range="1">
</attack>
<attack name="Thunder Shock" interval="2852" chance="29" range="3">
</attack>
<attack name="Thunder Bolt" interval="3040" chance="28" range="4">
</attack>
<attack name="Thunder Wave" interval="2993" chance="28" range="6">
</attack>
<attack name="Electric Field" interval="4027" chance="22" range="6">
</attack>
<attack name="Thunder" interval="3933" chance="22" range="6">
</attack>
<attack name="Electric Storm" interval="4309" chance="20" range="6">
</attack>
</attacks>
<defenses armor="0" defense="0">
</defenses>
<voices interval="5000" chance="10">
<voice sentence="ELECTABUZZ!"/>
</voices>
<loot>
</loot>
<script>
<event name="Spawn"/>
</script>
</monster>
Oque eu devo colocar na parte do loot , para que ele possa sair sem bugs quando o pokemon morrer ?