arthuraio
Member
- Joined
- Apr 9, 2015
- Messages
- 123
- Reaction score
- 13
hello guys,
As the title says, I'm having an "easy to fix" problem with a monster.
The error is: "start-end mismatch" but I have looked the entire file twice and coudn't find the problem, since I made it from scratch, I probably sliped somewhere that I can't see right now. Can you help me?
Here, take a look at the .xml file.
PS: the monster IS registered in monsters.xml, it's 100% sure that the problem is in the xml below.
As the title says, I'm having an "easy to fix" problem with a monster.
The error is: "start-end mismatch" but I have looked the entire file twice and coudn't find the problem, since I made it from scratch, I probably sliped somewhere that I can't see right now. Can you help me?
Here, take a look at the .xml file.
PS: the monster IS registered in monsters.xml, it's 100% sure that the problem is in the xml below.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Mr. Punish" nameDescription="Mr. Punish" race="undead" experience="9000" speed="490" manacost="0">
<health now="25000" max="25000"/>
<look type="234" corpse="6331"/>
<targetchange interval="2000" chance="5"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="1000"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-400" max="-1280"/>
<attack name="physical" interval="1500" chance="15" range="7" min="0" max="-800">
<attribute key="shootEffect" value="throwingknife"/>
</attack>
</attacks>
<defenses armor="64" defense="72"/>
<defense name="healing" interval="5000" chance="20" min="220" max="2200"/>
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element deathPercent="-10"/>
<element earthPercent="-20"/>
<element icePercent="100"/>
</elements>
<immunities>
<immunity energy="1"/>
<immunity fire="1"/>
<immunity invisible="1"/>
</immunities>
<loot>
<item id="6537" chance="100000"/><!-- mr punish's handcuffs -->
<item id="2148" countmax="148" chance="100000"/><!-- gold coin -->
<item id="2152" countmax="5" chance="18000"/><!-- Platinum Coin -->
<item id="7368" countmax="3" chance="15000"/><!-- assassin star -->
<item id="6492" chance="4200"/><!-- Bat Decoration -->
<item id="5480" chance="4200"/><!-- Cat's Paw -->
<item id="6500" chance="3000"/><!-- Demonic Essence -->
<item id="2387" chance="50000"/><!-- Double Axe -->
<item id="7591" countmax="1" chance="10000"/><!-- Great Health Potion -->
<item id="9971" countmax="1" chance="12000"/><!-- Gold Ingot -->
<item id="5801" chance="720"/><!-- Jewelled Backpack -->
<item id="2443" chance="2000"/><!-- Ravager's Axe -->
<item id="2145" countmax="1" chance="18500"/><!-- Small Diamond -->
<item id="5944" countmax="1" chance="18000"/><!-- Soul Orb -->
</loot>
</monster>