<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="3500" regeneration="0"/>
		<max-ep value="100" regeneration="1"/>
		<max-unit-count value="1"/>
		<armor value="50"/>
		<armor-type value="metal"/>					
		<sight value="15"/>
		<time value="50"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="courageous" kills="10"/>
			<level name="exalted" kills="25"/>			
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<!--upgrade-requirements>		
			<upgrade name="lordship"/>
		</upgrade-requirements-->
		<resource-requirements>
			<resource name="gold" amount="500"/>
			<resource name="wood" amount="100"/>
			<resource name="food" amount="3"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/lord.png"/>
		<image-cancel path="../archer/images/order_cancel.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/tech_click.wav"/>						
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/tech_click.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"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">				
					<unit-type name="archer"/>
					<unit-type name="champion"/>
					<unit-type name="crossbowman"/>
					<unit-type name="engineer"/>					
					<unit-type name="horse_archer"/>
					<unit-type name="horseman"/>
					<unit-type name="knight"/>	
					<unit-type name="man_at_arms"/>				
					<unit-type name="militia"/>					
					<unit-type name="paladin"/>					
					<unit-type name="peasant"/>	
					<unit-type name="pikeman"/>					
					<unit-type name="scout"/>					
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>
					<unit-type name="yeoman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>			
		</skill>		
		<skill>
			<type value="stop"/>
			<name value="taunt_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="80"/>
			<animation path="models/hero_richard_idle3.g3d"/>
			<sound enabled="true" start-time="0">			
				<sound-file path="$COMMONDATAPATH/sounds/yell2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/yell3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/yell4.wav"/>				
			</sound>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">				
					<unit-type name="archer"/>
					<unit-type name="champion"/>
					<unit-type name="crossbowman"/>	
					<unit-type name="engineer"/>					
					<unit-type name="horse_archer"/>
					<unit-type name="horseman"/>
					<unit-type name="knight"/>	
					<unit-type name="man_at_arms"/>						
					<unit-type name="militia"/>					
					<unit-type name="paladin"/>					
					<unit-type name="peasant"/>
					<unit-type name="pikeman"/>					
					<unit-type name="scout"/>					
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>
					<unit-type name="yeoman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="30"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>			
		</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"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">				
					<unit-type name="archer"/>
					<unit-type name="champion"/>
					<unit-type name="crossbowman"/>	
					<unit-type name="engineer"/>					
					<unit-type name="horse_archer"/>
					<unit-type name="horseman"/>
					<unit-type name="knight"/>
					<unit-type name="man_at_arms"/>						
					<unit-type name="militia"/>					
					<unit-type name="paladin"/>					
					<unit-type name="peasant"/>
					<unit-type name="pikeman"/>					
					<unit-type name="scout"/>					
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>
					<unit-type name="yeoman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>			
		</skill>		
		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="150"/>
			<animation path="models/hero_richard_walk.g3d"/>
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">				
					<unit-type name="archer"/>
					<unit-type name="champion"/>
					<unit-type name="crossbowman"/>
					<unit-type name="engineer"/>						
					<unit-type name="horse_archer"/>
					<unit-type name="horseman"/>
					<unit-type name="knight"/>	
					<unit-type name="man_at_arms"/>						
					<unit-type name="militia"/>						
					<unit-type name="paladin"/>					
					<unit-type name="peasant"/>
					<unit-type name="pikeman"/>					
					<unit-type name="scout"/>					
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>
					<unit-type name="yeoman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>			
		</skill>		
		<skill>
			<type value="move"/>
			<name value="pmove_skill"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="200"/>
			<animation path="models/hero_richard_walk.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/yell1.wav"/>			
				<sound-file path="$COMMONDATAPATH/sounds/yell2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/yell3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/yell4.wav"/>				
			</sound>
			<particles value="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="$COMMONDATAPATH/soundsmods/sword6.wav"/>
				<sound-file path="$COMMONDATAPATH/soundsmods/a1.wav"/>				
				<sound-file path="$COMMONDATAPATH/soundsmods/sword7.wav"/>
				<sound-file path="$COMMONDATAPATH/soundsmods/a2.wav"/>				
				<sound-file path="$COMMONDATAPATH/soundsmods/sword5.wav"/>
				<sound-file path="$COMMONDATAPATH/soundsmods/sword8.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"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">				
					<unit-type name="archer"/>
					<unit-type name="champion"/>
					<unit-type name="crossbowman"/>	
					<unit-type name="engineer"/>					
					<unit-type name="horse_archer"/>
					<unit-type name="horseman"/>
					<unit-type name="knight"/>	
					<unit-type name="man_at_arms"/>						
					<unit-type name="militia"/>					
					<unit-type name="paladin"/>					
					<unit-type name="peasant"/>
					<unit-type name="pikeman"/>					
					<unit-type name="scout"/>					
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>
					<unit-type name="yeoman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>				
		</skill>
		<skill>
			<type value="attack"/>
			<name value="help_skill"/>		
			<ep-cost value="75"/>
			<speed value="80"/>
			<anim-speed value="80"/>
			<animation path="models/hero_richard_attack.g3d"/>
			<sound enabled="true" start-time="0.6">
				<sound-file path="../pikeman/sounds/swordman_ack1.wav"/>				
			</sound> 
			<sound enabled="true" start-time="0.63">
				<sound-file path="../pikeman/sounds/swordman_ack1.wav"/>				
			</sound> 			
			<unit value="pikeman" amount="4"/>			
			<attack-strenght value="0"/>
			<attack-var value="0"/>
			<attack-range value="10"/>
			<attack-type value="none"/>
			<attack-start-time value="0.5"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>		
		<skill>
			<type value="attack"/>
			<name value="power_skill"/>		
			<ep-cost value="100"/>
			<speed value="200"/>
			<anim-speed value="200"/>
			<animation path="models/hero_richard_power_attack.g3d"/>
			<sound enabled="true" start-time="0.4">
				<sound-file path="$COMMONDATAPATH/sounds/technician_attack.wav"/>
			</sound> 
			<sound enabled="true" start-time="0.6">			
				<sound-file path="$COMMONDATAPATH/soundsmods/sword9.wav"/>
				<sound-file path="$COMMONDATAPATH/soundsmods/sword10.wav"/>			
			</sound> 			
			<attack-strenght value="2500"/>
			<attack-var value="500"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-start-time value="0.6"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<particles value="false"/>
			<!--particles value="true">			
				<particle-file path="power_particles.xml"/>
			</particles-->
			<projectile value="false"/>
			<splash value="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">				
					<unit-type name="archer"/>
					<unit-type name="champion"/>
					<unit-type name="crossbowman"/>	
					<unit-type name="engineer"/>					
					<unit-type name="horse_archer"/>
					<unit-type name="horseman"/>
					<unit-type name="knight"/>
					<unit-type name="man_at_arms"/>					
					<unit-type name="militia"/>					
					<unit-type name="paladin"/>					
					<unit-type name="peasant"/>
					<unit-type name="pikeman"/>						
					<unit-type name="scout"/>
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>
					<unit-type name="yeoman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>				
		</skill>
		<skill>
			<type value="upgrade"/>
			<name value="upgrade_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"/>
			<sound enabled="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="$COMMONDATAPATH/sounds/technician_die2.wav"/>			
				<sound-file path="$COMMONDATAPATH/sounds/guard_die3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_die1.wav"/>				
				<sound-file path="$COMMONDATAPATH/sounds/guard_die4.wav"/>			
				<sound-file path="$COMMONDATAPATH/sounds/technician_die3.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_die4.wav"/>									
			</sound>
			<sound enabled="true" start-time="0.45">
				<sound-file path="$COMMONDATAPATH/sounds/king_die.ogg"/>											
			</sound>			
			<fade value="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="20"/>
				<target value="faction">					
					<unit-type name="archer"/>
					<unit-type name="champion"/>
					<unit-type name="crossbowman"/>
					<unit-type name="engineer"/>						
					<unit-type name="man_at_arms"/>
					<unit-type name="horse_archer"/>
					<unit-type name="horseman"/>
					<unit-type name="knight"/>
					<unit-type name="militia"/>	
					<unit-type name="monk"/>					
					<unit-type name="paladin"/>					
					<unit-type name="peasant"/>
					<unit-type name="pikeman"/>						
					<unit-type name="scout"/>					
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>
					<unit-type name="yeoman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="-20"/>
				<attack-range value="0"/>
				<armor value="-50"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>				
		</skill>						
	</skills>
	
	<commands>
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="../archer/images/order_halt.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>
		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../archer/images/order_move.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>
		<command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="images/lord_attack.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="lordship"/>
			</upgrade-requirements>
			<move-skill value="charge_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		<command>
			<type value="attack"/>
			<name value="power_slash"/>
			<image path="images/lord_special.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="lordship"/>
			</upgrade-requirements>
			<move-skill value="pmove_skill"/>
			<attack-skill value="power_skill"/>
		</command>		
		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="../knight/images/knight_shield.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="lordship"/>
			</upgrade-requirements>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		<command>
			<type value="attack_stopped"/>
			<name value="battle_cry"/>
			<image path="images/lord_taunt.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="honour"/>			
				<upgrade name="lordship"/>
			</upgrade-requirements>
			<stop-skill value="taunt_skill"/>
			<attack-skill value="attack_skill"/>
		</command>		
		<command>
			<type value="attack"/>
			<name value="summon_guards"/>
			<image path="images/guards.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="lordship"/>
			</upgrade-requirements>
			<move-skill value="move_skill"/>
			<attack-skill value="help_skill"/>
		</command>		
        <command>
			<type value="upgrade"/>
			<name value="sign_military_charter"/>
			<image path="../../upgrades/military_charter/images/charter.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="lordship"/>
			</upgrade-requirements>
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="military_charter"/>
		</command>					
	</commands>
</unit>
