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

<unit>
	<parameters>
		<size value="1"/>
		<height value="3"/>
		<max-hp value="600" regeneration="4"/>
		<max-ep value="0"/>
		<armor value="20"/>	
		<armor-type value="leather"/>				
		<sight value="15"/>
		<time value="150"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="strong" kills="6"/>
			<level name="forceful" kills="8"/>
			<level name="intimidating" kills="12"/>
			<level name="champion" kills="15"/>
			<level name="amazon" kills="30"/>
		</levels>
		<fields>
			<field value="land"/>
			<field value="air"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
			<!--unit name="army_hut"/>
			<unit name="herb_temple"/>
			<unit name="herbalist"/>
		</unit-requirements-->
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="wood" amount="120"/>
			<resource name="gold" amount="200"/>
			<resource name="stone" amount="50"/>
			<resource name="food" amount="1"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="images/archer.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/summoner_select2.wav"/>
			<sound path="sounds/summoner_select3.wav"/>
			<sound path="sounds/summoner_select5.wav"/>
			<sound path="sounds/summoner_select6.wav"/>
			<sound path="sounds/summoner_select7.wav"/>
			<sound path="sounds/summoner_select10.wav"/>
			<sound path="sounds/summoner_select11.wav"/>
			<sound path="sounds/summoner_select14.wav"/>
			<sound path="sounds/summoner_select15.wav"/>
			<sound path="sounds/summoner_select16.wav"/>
			<sound path="sounds/summoner_select17.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/summoner_ack1.wav"/>
			<sound path="sounds/summoner_ack2.wav"/>
			<sound path="sounds/summoner_ack3.wav"/>
			<sound path="sounds/summoner_ack4.wav"/>
			<sound path="sounds/summoner_ack5.wav"/>
			<sound path="sounds/summoner_ack6.wav"/>
			<sound path="sounds/summoner_ack7.wav"/>
			<sound path="sounds/summoner_ack8.wav"/>
			<sound path="sounds/summoner_ack9.wav"/>
			<sound path="sounds/summoner_ack10.wav"/>
			<sound path="sounds/summoner_ack11.wav"/>
			<sound path="sounds/summoner_ack12.wav"/>
		</command-sounds>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="45"/>
			<animation path="models/archer_idle.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="250"/>
			<anim-speed value="125"/>
			<animation path="models/archer_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/archer_attack.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="$COMMONDATAPATH/sounds/archer_attack1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/archer_attack2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/archer_attack3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/archer_attack4.wav"/>
			</sound>
			<attack-strenght value="250"/>
			<attack-var value="100"/>
			<attack-range value="10"/>
			<attack-type value="piercing"/>
			<attack-start-time value="0.5"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit1.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit2.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit3.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit4.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit5.wav"/>
				</sound>
			</projectile>
			<splash value="false"/>
		</skill>
		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/archer_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/summoner_die1.wav"/>
				<sound-file path="sounds/summoner_die2.wav"/>
				<sound-file path="sounds/summoner_die3.wav"/>
				<sound-file path="sounds/summoner_die4.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>


	</skills>

	<!-- *** commands *** -->
	
	<commands>
		
		<command>
			<type value= "stop"/>
			<name value="stop"/>
			<image path="images/tech_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

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

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