Ir para conteúdo

[PDA] Spells não funcionam


toissaoo

Posts Recomendados

Olá pessoal do XTibia, espero que aqui seja a área correta, se não for peço desculpas.

O meu problema é o seguinte:

 

Os meus pokemons da outland soltam as magias, mas elas não dão dano algum, as vezes eles nem mesmo soltam as magias e começam a aparecer erros no distro iguais a este:

[02/04/2014 14:44:08] Error trying to use move Poison Fang, move not specified in the pokemon table.
[02/04/2014 14:44:12] Error trying to use move Quick Attack, move not specified in the pokemon table.
[02/04/2014 14:44:13] Error trying to use move Poison Sting, move not specified in the pokemon table.

Eu não sei como resolver isso, pois no configurantions.xml as spells estão nomeadas adequadamente (creio eu) e no monster.xml também!

 

Segue como está no configuration.xml:

 

 

["Brave Nidoking"] = {move1 = {name = "Quick Attack", level = 8, cd = 10, dist = 2, target = 1, f = 40, t = "normal"},
move2 = {name = "Bite", level = 52, cd = 15, dist = 1, target = 1, f = 50, t = "dark"},
move3 = {name = "Horn Attack", level = 50, cd = 15, dist = 2, target = 1, f = 55, t = "normal"},
move4 = {name = "Poison Sting", level = 16, cd = 15, dist = 2, target = 1, f = 40, t = "poison"},
move5 = {name = "Poison Fang", level = 18, cd = 15, dist = 1, target = 1, f = 65, t = "poison"},
move6 = {name = "Mega Punch", level = 21, cd = 20, dist = 1, target = 1, f = 85, t = "fighting"},
move7 = {name = "Horn Drill", level = 51, cd = 20, dist = 2, target = 1, f = 60, t = "normal"},
move8 = {name = "Stomp", level = 54, cd = 25, dist = 1, target = 0, f = 90, t = "ground"},
move9 = {name = "Shockwave", level = 58, cd = 30, dist = 1, target = 0, f = 90, t = "ground"},
move10 = {name = "Rage", level = 58, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
move11 = {name = "Fear", level = 58, cd = 30, dist = 1, target = 0, f = 0, t = "ghost"},
},

E está assim no monster.xml:

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Brave Nidoking" nameDescription="a brave nidoking" race="poison" experience="4000" speed="129" manacost="0">
<health now="340" max="340"/>
<look type="386" head="55" body="75" legs="95" feet="113" corpse="11924"/>
<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="15"/>
</flags>
<attacks>
<attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>
<attack name="Quick Attack" interval="2023" chance="30" range="1"/>
<attack name="Bite" interval="2664" chance="30" range="1"/>
<attack name="Horn Attack" interval="2058" chance="30" range="1"/>
<attack name="Poison Sting" interval="2011" chance="30" range="1"/>
<attack name="Poison Fang" interval="2046" chance="30" range="1"/>
<attack name="Stomp" interval="3946" chance="10" range="5"/>
<attack name="Rage" interval="3446" chance="20" range="7"/>
<attack name="Horn Drill" interval="2446" chance="28" range="1"/>
<attack name="Mega Punch" interval="2446" chance="28" range="1"/>
<attack name="Shockwave" interval="2446" chance="28" range="6"/>
<attack name="Fear" interval="4446" chance="15" range="4"/>
</attacks>
<defenses armor="0" defense="0"/>
<voices interval="5000" chance="10">
<voice sentence="NIDOKING!"/>
</voices>
<loot>
<item id="11443" chance="800" count="1" countmax="1"/>
<item id="11451" chance="800" count="1" countmax="1"/>
</loot>
<script>
<event name="Spawn"/>
</script>
</monster>

Alguém poderia me ajudar nessa, por favor ? Agradeço desde já, muito obrigado ! ^^
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...