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

<unit>

	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="3500" regeneration="1"/>
		<max-ep value="1000" regeneration="10"/>
		<max-unit-count value="1"/>
		<armor value="10"/>
		<armor-type value="leather"/>					
		<sight value="15"/>
		<time value="50"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements>
			<upgrade name="king_hood"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="400"/>
			<resource name="wood" amount="100"/>
			<resource name="water" amount="1"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/technician.bmp"/>
		<image-cancel path="../archer/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/technician_select1.wav"/>
			<sound path="sounds/technician_select2.wav"/>
			<sound path="sounds/technician_select3.wav"/>
			<sound path="sounds/technician_select4.wav"/>
			<sound path="sounds/technician_select5.wav"/>
			<sound path="sounds/technician_select6.wav"/>
			<sound path="sounds/technician_select7.wav"/>
			<sound path="sounds/technician_select8.wav"/>					
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/technician_ack1.wav"/>
			<sound path="sounds/technician_ack2.wav"/>
			<sound path="sounds/technician_ack3.wav"/>
			<sound path="sounds/technician_ack4.wav"/>		
			<sound path="sounds/technician_ack5.wav"/>
			<sound path="sounds/technician_ack6.wav"/>
			<sound path="sounds/technician_ack7.wav"/>
			<sound path="sounds/technician_ack8.wav"/>
			<sound path="sounds/technician_ack9.wav"/>
			<sound path="sounds/technician_ack10.wav"/>
			<sound path="sounds/technician_ack11.wav"/>		
			<sound path="sounds/technician_ack12.wav"/>
			<sound path="sounds/technician_ack13.wav"/>
			<sound path="sounds/technician_ack14.wav"/>
			<sound path="sounds/technician_ack15.wav"/>
			<sound path="sounds/technician_ack16.wav"/>		
			<sound path="sounds/technician_ack17.wav"/>
			<sound path="sounds/technician_ack18.wav"/>
			<sound path="sounds/technician_ack19.wav"/>					
		</command-sounds>


	</parameters>


	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="55"/>
			<animation path="models/hero_richard_idle1.g3d"/>
			<animation path="models/hero_richard_idle1.g3d"/>
			<animation path="models/hero_richard_idle1.g3d"/>
			<animation path="models/hero_richard_idle1.g3d"/>
			<animation path="models/hero_richard_idle2.g3d"/>
			<animation path="models/hero_richard_idle2.g3d"/>
			<animation path="models/hero_richard_idle3.g3d"/>
			<animation path="models/hero_richard_idle4.g3d"/>
			<sound enabled="false"/>
		</skill>

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

		<skill>
			<type value="move"/>
			<name value="pmove_skill"/>		
			<ep-cost value="0"/>
			<speed value="310"/>
			<anim-speed value="200"/>
			<animation path="models/hero_richard_walk.g3d"/>
			<sound enabled="false"/>
			<particles value="true">
				<particle-file path="power_particles.xml"/>
			</particles>
		</skill>
              
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="80"/>
			<anim-speed value="80"/>
			<animation path="models/hero_richard_attack.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/technician_attack.wav"/>
			</sound> 
			<attack-strenght value="200"/>
			<attack-var value="100"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-start-time value="0.5"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="rage_skill"/>		
			<ep-cost value="10"/>
			<speed value="400"/>
			<anim-speed value="150"/>
			<animation path="models/hero_richard_attack.g3d"/>
			<sound enabled="false"/>
			<attack-strenght value="200"/>
			<attack-var value="10"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-start-time value="0.5"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
                        <attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="10"/>
                        	<target value="faction"> <!-- ally foe faction unit-types all -->
					<!-- <unit-type value="catapult" /> -->
                                </target>

				<max-hp value="0"/>
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="50" value-percent-multiplier="true"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="20"/>
				<production-speed value="0"/>
				
				<particles value="true">
					<originator-particle-file path="glow_particles.xml"/>
					<affected-particle-file path="glow_particles.xml"/>
				</particles>

                        </attack-boost>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="power_skill"/>		
			<ep-cost value="1000"/>
			<speed value="200"/>
			<anim-speed value="200"/>
			<animation path="models/hero_richard_power_attack.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/technician_attack.wav"/>
			</sound> 
			<attack-strenght value="2500"/>
			<attack-var value="500"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-start-time value="0.5"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<particles value="true">
				<particle-file path="power_particles.xml"/>
			</particles>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="70"/>
			<animation path="models/hero_richard_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_die1.wav"/>
				<sound-file path="sounds/technician_die2.wav"/>
				<sound-file path="sounds/technician_die3.wav"/>	
				<sound-file path="sounds/technician_die4.wav"/>									
			</sound>			
			<fade value="false"/>
		</skill>						

	</skills>
	
	<commands>

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


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

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

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

		<command>
			<type value="attack"/>
			<name value="power_slash"/>
			<image path="images/power_slash.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="pmove_skill"/>
			<attack-skill value="power_skill"/>
		</command>

	</commands>
</unit>
