<?xml version="1.0" standalone="no"?>

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="250" regeneration="3"/>
		<max-ep value="0"/>
		<armor value="10"/>	
		<armor-type value="creep"/>
		<sight value="10"/>
		<time value="25"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="lvl_1" kills="1"/>
			<level name="lvl_2" kills="3"/>
			<level name="lvl_3" kills="6"/>
			<level name="lvl_4" kills="10"/>
			<level name="lvl_5" kills="15"/>
			<level name="lvl_6" kills="21"/>
			<level name="lvl_7" kills="28"/>
			<level name="lvl_8" kills="36"/>
			<level name="lvl_9" kills="45"/>
			<level name="lvl_10" kills="55"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
			<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="19"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/morlock.bmp"/>
		<image-cancel path="images/dark_magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/select1.wav"/>
			<sound path="sounds/select2.wav"/>
			<sound path="sounds/select3.wav"/>
			<sound path="sounds/select4.wav"/>
			<sound path="sounds/select5.wav"/>
			<sound path="sounds/select6.wav"/>
			<sound path="sounds/select7.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/ack1.wav"/>
			<sound path="sounds/ack2.wav"/>
			<sound path="sounds/ack3.wav"/>
			<sound path="sounds/ack4.wav"/>
			<sound path="sounds/ack5.wav"/>
		</command-sounds>

	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="50"/>
			<animation path="models/dragonslayer_idle.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="141"/>
			<animation path="models/dragonslayer_walk.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="70"/>
			<animation path="models/dragonslayer_attack.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/attack1.wav"/>
				<sound-file path="sounds/attack2.wav"/>
				<sound-file path="sounds/attack3.wav"/>
				<sound-file path="sounds/attack4.wav"/>
				<sound-file path="sounds/attack5.wav"/>
				<sound-file path="sounds/attack6.wav"/>
				<sound-file path="sounds/attack7.wav"/>
				<sound-file path="sounds/attack8.wav"/>
				<sound-file path="sounds/attack9.wav"/>
				<sound-file path="sounds/attack10.wav"/>
				<sound-file path="sounds/attack11.wav"/>
				<sound-file path="sounds/attack12.wav"/>
				<sound-file path="sounds/attack13.wav"/>
				<sound-file path="sounds/attack14.wav"/>
				<sound-file path="sounds/attack15.wav"/>
				<sound-file path="sounds/attack16.wav"/>	
			</sound> 
			<attack-strenght value="75"/>
			<attack-var value="50"/>
			<attack-range value="1"/>
			<attack-type value="physical"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>
	
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="1"/>
			<speed value="120"/>
			<anim-speed value="80"/>
			<animation path="models/dragonslayer_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/die1.wav"/>
				<sound-file path="sounds/die2.wav"/>
				<sound-file path="sounds/die3.wav"/>
				<sound-file path="sounds/die4.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>
	</skills>
	
	<commands>
		
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="images/dark_magic_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="images/dark_magic_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>

		<command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="images/attack_melee.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

	</commands>
</unit>