jlskelin
New Member
- Joined
- Mar 28, 2009
- Messages
- 198
- Reaction score
- 1
why does this monster heals you when he is attacking you
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Overcharged Energy Elemental" nameDescription="an Orvercharged Energy Elemental" race="undead" experience="150000000" species="energy" speed="1000" manacost="0">
<health now="24000000" max="24000000"/>
<look type="290" corpse="8966"/>
<targetchange interval="20000" chance="15"/>
<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 staticattack="85"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="650000" attack="6500000"/>
<attack name="energy" interval="1000" chance="11" target="0" radius="4" min="1000000" max="-6000000">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="purpleenergy"/>
</attack>
<attack name="energy" interval="1000" chance="12" range="3" target="1" min="100000" max="-3000000">
<attribute key="areaEffect" value="purpleenergy"/>
</attack>
<attack name="physical" interval="1000" chance="12" radius="4" target="0" min="100000" max="-200000">
<attribute key="areaEffect" value="poff"/>
</attack>
</attacks>
<defenses armor="60" defense="58">
<elements>
<element physicalPercent="25"/>
</elements>
<immunities>
<immunity ice="1"/>
<immunity energy="1"/>
<immunity invisible="1"/>
</immunities>
<loot>
<item id="9971" countmax="100" chance1="1000" />
<item id="8303" chance="2760" countmax="2" /> --Energy Soil
<item id="7439" chance="2100"/> --Berserk potion
<item id="2150" countmax="3" chance1="4500" chancemax="0"/> --Small Amethyst
<item id="8920" chance="2000"/> --Wand of Starstorm
</loot>
</monster>