Ir para conteúdo

Como Coloca Loot Em Monstros?


manovegyta

Posts Recomendados

Eu queria que alguem corrigisse meu erro em colocar loot nos monstros, porque todos que eu coloco loot dao bug...

ta ai o script de um dos que eu coloquei loot:

 

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

<monster name="Poisoon" nameDescription="a Poisoon" race="blood" experience="1900" speed="175" manacost="0">

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

<look type="239" corpse="6302"/>

<targetchange interval="5000" chance="8"/>

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

<flags>

<flag summonable="0"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="0"/>

<flag pushable="0"/>

<flag canpushitems="1"/>

<flag canpushcreatures="1"/>

<flag targetdistance="1"/>

<flag staticattack="90"/>

<flag runonhealth="300"/>

</flags>

<attacks>

<attack name="melee" interval="2000" skill="60" attack="55" poison="220"/>

<attack name="poisoncondition" interval="500" chance="5000" length="8" spread="3" min="-290" max="-450">

<attribute key="areaEffect" value="poison"/>

</attack>

<attack name="melee" interval="2000" chance="800" length="8" spread="3" min="-30" max="-50">

<attribute key="areaEffect" value="rednote"/>

</attack>

</attacks>

 

<defenses armor="45" defense="48">

<defense name="healing" interval="1000" chance="5000" min="490" max="500">

<attribute key="areaEffect" value="blueshimmer"/>

</defense>

</defenses>

<elements>

<element energyPercent="20"/>

<element icePercenet="10"/>

</elements>

<immunities>

<immunity drunk="1"/>

<immunity invisible="1"/>

</immunities>

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

<voice sentence="Shooooomk" yell="1"/>

</voices>

<loot>

<item id="2152" chance="15000" countmax="25" /> -- platinum coin

</item>

</loot>

</monster>

 

Alguem me diz meu erro?

Link para o comentário
Compartilhar em outros sites

Amigo, tente da seguinte maneira:

 

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Poisoon" nameDescription="a Poisoon" race="blood" experience="1900" speed="175" manacost="0">
<health now="1995" max="1995"/>
<look type="239" corpse="6302"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="300"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="60" attack="55" poison="220"/>
<attack name="poisoncondition" interval="500" chance="5000" length="8" spread="3" min="-290" max="-450">
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="melee" interval="2000" chance="800" length="8" spread="3" min="-30" max="-50">
<attribute key="areaEffect" value="rednote"/>
</attack>
</attacks>

<defenses armor="45" defense="48">
<defense name="healing" interval="1000" chance="5000" min="490" max="500">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element energyPercent="20"/>
<element icePercenet="10"/>
</elements>
<immunities>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="1000">
<voice sentence="Shooooomk" yell="1"/>
</voices>
<loot>
<item id="2152" chance="15000" countmax="25"> -- Platinum Coins
</item>
</loot>
</monster>

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...