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

<unit>
	<parameters>
		<size value="1"/>
		<height value="1"/>
		<max-hp value="1200" regeneration="4"/>
		<max-ep value="1000" regeneration="15"/>
		<armor value="30"/>	
		<armor-type value="leather"/>
		<sight value="14"/>
		<time value="80"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="ancient" kills="7"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>	
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="75"/>
			<resource name="stone" amount="25"/>
			<resource name="energy" amount="2"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/imp.bmp"/>
		<image-cancel path="../dark_elder/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"/>
		</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/standing.g3d"/>
			<animation path="models/standing2.g3d"/>
			<animation path="models/standing.g3d"/>
			<animation path="models/standing.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="375"/>
			<anim-speed value="140"/>
			<animation path="models/walking.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_attacking_skill"/>		
			<ep-cost value="0"/>
			<speed value="400"/>
			<anim-speed value="120"/>
			<animation path="models/charging.g3d"/>
			<animation path="models/imp_charging.g3d"/>
			<animation path="models/charging.g3d"/>
			<animation path="models/charging.g3d"/>
			<animation path="models/imp_walking.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="80"/>
			<animation path="models/attacking.g3d"/>
			<sound enabled="true" start-time="0">
				<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>
			<attack-strenght value="120"/>
			<attack-var value="10"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectile value="false"/>
    <splash value="true">
				<radius value="0"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>
                
		<skill>
			<type value="die"/>	
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="50"/>
			<animation path="models/dying.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-file path="sounds/die5.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>
	</skills>
	
	<commands>
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="../dark_elder/images/dark_magic_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../dark_elder/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/imp_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_attacking_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="../dark_elder/images/dark_magic_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
	</commands>
</unit>
