<?xml version="1.0"?>
<monster name="Warlock" level="40" maglevel="10" experience="4000" pushable="0" armor="29" defense="31" canpushitems="1" staticattack="50" changetarget="200" speed="240">
	<health now="3200" max="3200"/>
	<look type="130" head="19" body="71" legs="128" feet="128" corpse="3128"/>
	<combat targetdistance="5" runonhealth="0"/>

<attacks>
	<attack type="melee" mindamage="27" maxdamage="85"/>
	<attack type="rune" name="warlock_burstarrow" exhaustion="500" cycleticks="3000" probability="70"/>
	<attack type="rune" name="warlock_firebomb" exhaustion="500" cycleticks="5000" probability="60"/>
	<attack type="instant" name="w exevo gran vis lux" exhaustion="500" cycleticks="6000" probability="90"/>
	<attack type="rune" name="warlock_manadrain" exhaustion="100" cycleticks="4000" probability="30"/>
	<attack type="rune" name="paralyze" exhaustion="100" cycleticks="3000" probability="50"/>
	<attack type="instant" name="invis" exhaustion="100" cycleticks="5000" probability="25"/>
</attacks>

<defenses>
	<defense immunity="energy"/>
	<defense immunity="fire"/>
	<defense immunity="poison"/>
	<defense immunity="paralyze"/>
	<defense immunity="drunk"/>
	<defense immunity="invisible"/>
</defenses>

<voices>
	<voice sentence="Even a rat is a better mage than you."/>
</voices>

<loot>
 	<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
 	<item id="2600" chance="10000"/>

 	<item id="1987" chance="100000">
 	<inside>
 	<item id="2148" countmax="50" chance1="80000" chancemax="0"/>
 	<item id="2411" chance="5000"/>
	<item id="2792" countmax="5" chance1="6666" chancemax="0"/>
	<item id="2793" countmax="2" chance1="6666" chancemax="0"/>
 	<item id="2656" chance="1333"/>
 	<item id="2466" chance="1111"/>
 	<item id="2436" chance="1428"/>
 	<item id="2123" chance="1200"/>
 	</inside>
 	</item>
</loot>

<summons maxSummons="3">
 	<summon name="Stone Golem" chance="1000"/>
</summons>

</monster>
