Ir para conteúdo

New Monster - Ice Mage- Problemas Com "end"


Maioral

Posts Recomendados

Olá , eu estou criando o server mas estou com um problema em um dos monstros que eu estou criando , eu ja tinha experiencia em scripting mas foi da epoca do 8.4 pra baixo , hoje em dia mudou algumas coisas e eu nao estou conseguindo detectar onde eu errei , poderiam me ajudar ?

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

 

<monster name="Ice Mage" nameDescription="ice mage" race="blood" experience="7500" speed="400" manacost="0">

 

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

 

<look type="130" head="0" body="0" legs="85" feet="85" addons="3" corpse="6080"/>

<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="1"/>

<flag pushable="0"/>

 

<flag canpushitems="1"/>

<flag canpushcreatures="0"/>

 

<flag targetdistance="1"/>

<flag staticattack="90"/>

 

<flag runonhealth="200"/>

 

</flags>

 

<attacks>

 

<attack name="physical" interval="1000" chance="15" range="7" min="-250" max="-420">

<attribute key="shootEffect" value="ice"/>

</attack>

<attack name="ice" interval="3000" chance="125" range="8" radius="8" target="1" min="-900" max="-1450">

<attribute key="areaEffect" value="icetornado"/> </attack>

 

<attack name="ice" interval="5000" chance="75" range="8" radius="8" target="1" min="-1200" max="-1750"> <attribute key="areaEffect" value="52"/> </attack>

 

<attack name="ice" interval="1000" chance="150" range="8" radius="8" target="1" min="-600" max="-800">

<attribute key="areaEffect" value="41"/> </attack>

 

<attack name="speed" interval="1000" chance="130" range="7" speedchange="-1200" duration="8000">

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

</attack>

</attacks>

 

<defenses armor="35" defense="50"/>

 

<elements>

 

<element firePercent="10"/>

 

<element holyPercent="35"/>

 

<element deathPercent="35"/>

 

<element icePercent="150"/>

 

</elements>

 

<immunities>

 

<immunity lifedrain="1"/>

<immunity paralyze="1"/>

 

<immunity outfit="1"/>

 

<immunity drunk="1"/>

 

<immunity invisible="1"/>

 

</immunities>

 

<voices interval="2000" chance="30">

<voice sentence="LORD OBLIVION SHALL THANKS ME!!!!!"/>

<voice sentence="KKKKIIIIIILLLLLL!!!!!!"/>

<voice sentence="Freeze!"/>

 

</voices>

 

<loot>

 

<item id="2183" chance="850"><!-- northwind rod -->

<item id="7730" chance="850"><!-- blue legs -->

<item id="2656" chance="850"><!-- blue robe -->

<item id="2662" chance="1000"><!-- magician hat -->

<item id="10521" chance="8000"><!-- moon backpack -->

 

<inside>

 

<item id="2160" countmax="13" chance="250"><!-- crystal coin -->

<item id="2158" countmax="1" chance="250"><!-- blue gem -->

<item id="2146" countmax="10" chance="450"><!-- small sapphire -->

</inside>

</item>

 

</loot>

 

</monster>

enfim , ele está assim . só que "amassado" digamos.

 

 

o problema é: [02/06/2010 12:27:15] [Warning - Monsters::loadMonster] Cannot load monster (Ice Mage) file (data/monster/New Ice Monsters/Ice Mage.xml).

[02/06/2010 12:27:15] Line: 57, Info: Premature end of data in tag monster line 2

 

 

mas eu nao consigo detectar onde ocorreu o erro.

será que algum de vocês poderia me indicar onde eu estou errando ?

 

OBRIGADO =D

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

<loot>

<item id="2183" chance="850"/><!-- northwind rod -->
<item id="7730" chance="850"/><!-- blue legs -->
<item id="2656" chance="850"/><!-- blue robe -->
<item id="2662" chance="1000"/><!-- magician hat -->
<item id="10521" chance="8000"><!-- moon backpack -->
<inside>
<item id="2160" countmax="13" chance="250"><!-- crystal coin -->
<item id="2158" countmax="1" chance="250"><!-- blue gem -->
<item id="2146" countmax="10" chance="450"><!-- small sapphire -->
</inside>
</item>

</loot>

 

Tinha alguns erros na parte da programação do Loot.

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...