<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="1000" regeneration="1"/>
		<!--max-hp value="1500" regeneration="1"/-->		
		<max-ep value="0"/>
		<armor value="80"/>	
		<!--armor value="30"/-->		
		<armor-type value="wood"/>				
		<sight value="10"/>
		<time value="33"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="siege_engineering"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="100"/>
			<resource name="wood" amount="150"/>			
			<resource name="food" amount="1"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/mantlet.png"/>
		<image-cancel path="../archer/images/order_cancel.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/swordman_select1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select7.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/swordman_ack1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack6.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/manlet_stand.g3d"/>
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="4"/>
				<target value="faction">
					<unit-type name="mantlet"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<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="220"/>
			<anim-speed value="90"/>
			<animation path="models/manlet_walk.g3d"/>
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="4"/>
				<target value="faction">
					<unit-type name="mantlet"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<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="220"/>
			<anim-speed value="125"/>
			<animation path="models/manlet_walk.g3d"/>
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="4"/>
				<target value="faction">
					<unit-type name="mantlet"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<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="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="50"/>
			<animation path="models/manlet_stand.g3d"/>
			<sound enabled="false"/>
			<attack-strenght value="0"/>
			<attack-var value="0"/>
			<attack-range value="7"/>
			<attack-type value="none"/>
			<attack-start-time value="0"/>
			<projectile value="false"/>
			<splash value="false"/>			
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="4"/>
				<target value="faction">
					<unit-type name="mantlet"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>				
		</skill>

		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="80"/>
			<animation path="models/manlet_stand.g3d"/>
			<sound enabled="false"/>
		</skill>	

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="80"/>
			<anim-speed value="80"/>
			<animation path="models/manlet_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/catapult_die1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/catapult_die2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/catapult_die3.wav"/>				
			</sound>			
			<fade value="false"/>
		</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="stay_behind"/>
			<image path="images/mantlet_cover.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="charge_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		
		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="images/mantlet_hold.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="training_field"/>
			</upgrade-requirements>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>	

	</commands>
</unit>
