IgoR lYCAN
New Member
- Joined
- Dec 1, 2018
- Messages
- 169
- Reaction score
- 4
The problem is simple:
When there is no space that the monster can walk, he pass trough the field, but when there is a space, the monster prefer to walkaround not passing the field;
A video Explaining:
When there is no space that the monster can walk, he pass trough the field, but when there is a space, the monster prefer to walkaround not passing the field;
A video Explaining:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Demon" nameDescription="a demon" race="fire" experience="11800" speed="310" manacost="0">
<health now="16800" max="16800"/>
<look type="35" corpse="5995"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="40"/>
<flag runonhealth="0"/>
<flag canwalkonenergy="1" />
<flag canwalkonfire="1" />
<flag canwalkonpoison="1" />
</flags>
<attacks>
<attack name="melee" interval="2000" skill="70" attack="160"/>
<attack name="manadrain" interval="3000" chance="13" range="7" min="-80" max="-300"/>
<attack name="fire" interval="2000" chance="30" range="7" radius="7" target="1" min="-560" max="-750">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="energy" interval="3000" chance="15" length="8" spread="0" min="-320" max="-560">
<attribute key="areaEffect" value="energy"/>
</attack>
</attacks>
<defenses armor="50" defense="55">
<defense name="healing" interval="1000" chance="15" min="90" max="200">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="speed" interval="1000" chance="15" speedchange="200" duration="20000">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
</defenses>
<elements>
<element physicalPercent="15" />
<element deathPercent="25" />
<element energyPercent="20" />
<element icePercent="-15" />
</elements>
<immunities>
<immunity fire="1" />
<immunity paralyze="1" />
<immunity invisible="1" />
</immunities>
<voices interval="5000" chance="10">
<voice sentence="MUHAHAHAHA!" yell="1"/>
<voice sentence="I SMELL FEEEEEAAAR!" yell="1"/>
<voice sentence="CHAMEK ATH UTHUL ARAK!" yell="1"/>
<voice sentence="Your resistance is futile!"/>
<voice sentence="Your soul will be mine!" yell="0"/>
</voices>
<loot>
<item id="2148" countmax="90" chance="28000"/><!-- gold coin -->
<item id="2520" chance="750"/><!-- demon shield -->
<item id="2432" chance="6000"/><!-- fire axe -->
<item id="2393" chance="1650"/><!-- giant sword -->
<item id="2179" chance="700"/><!-- golden ring -->
<item id="2472" chance="150"/><!-- magic plate armor -->
<item id="2514" chance="550"/><!-- mastermind shield -->
<item id="2152" countmax="13" chance="23750"/><!-- platinum coin -->
<item id="2164" chance="2800"/><!-- might ring -->
<item id="7382" chance="950"/><!-- demonrage sword -->
<item id="2470" chance="450"/><!-- golden legs -->
<item id="7393" chance="50"/><!-- demon trophy -->
</loot>
</monster>