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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="900" regeneration="2"/>
		<max-ep value="0"/>
		<armor value="30"/>
		<armor-type value="metal"/>
		<sight value="11"/>
		<time value="75"/>
		<multi-selection value="true"/>
		<cellmap value="false"/>
		<levels>
			<level name="ancient" kills="5"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>
		<properties/>
		<light enabled="false"/>
		<unit-requirements />
		<upgrade-requirements>
			<upgrade name="ancient_summoning"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="150"/>
			<resource name="energy" amount="1"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/ghost_armor.bmp"/>
		<image-cancel path="../archmage/images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/ghost_armor_select1.wav"/>
			<sound path="sounds/ghost_armor_select2.wav"/>
			<sound path="sounds/ghost_armor_select3.wav"/>
			<sound path="sounds/ghost_armor_select4.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/ghost_armor_ack1.wav"/>
			<sound path="sounds/ghost_armor_ack2.wav"/>
			<sound path="sounds/ghost_armor_ack3.wav"/>
			<sound path="sounds/ghost_armor_ack4.wav"/>
			<sound path="sounds/ghost_armor_ack5.wav"/>
			<sound path="sounds/ghost_armor_ack6.wav"/>
			<sound path="sounds/ghost_armor_ack7.wav"/>
		</command-sounds>

	</parameters>

	<skills>

		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="40"/>
			<animation path="models/ghost_armor_standing.g3d"/>
			<sound enabled="false"/>
		</skill>

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

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/ghost_armor_attacking.g3d"/>
			<sound enabled="true" start-time="0.4">
				<sound-file path="sounds/ghost_armor_attack1.wav"/>
				<sound-file path="sounds/ghost_armor_attack2.wav"/>
				<sound-file path="sounds/ghost_armor_attack3.wav"/>
				<sound-file path="sounds/ghost_armor_attack4.wav"/>
				<sound-file path="sounds/ghost_armor_attack5.wav"/>
				<sound-file path="sounds/ghost_armor_attack6.wav"/>
				<sound-file path="sounds/ghost_armor_attack7.wav"/>
				<sound-file path="sounds/ghost_armor_attack8.wav"/>
				<sound-file path="sounds/ghost_armor_attack9.wav"/>
				<sound-file path="sounds/ghost_armor_attack10.wav"/>
			</sound>
			<attack-strenght value="150"/>
			<attack-var value="40"/>
			<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="false"/>
		</skill>

		<skill>
			<type value="die"/>
			<name value="die_skill"/>
			<ep-cost value="0"/>
			<speed value="120"/>
			<anim-speed value="120"/>
			<animation path="models/ghost_armor_dying.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/ghost_armor_die1.wav"/>
				<sound-file path="sounds/ghost_armor_die2.wav"/>
				<sound-file path="sounds/ghost_armor_die3.wav"/>
				<sound-file path="sounds/ghost_armor_die4.wav"/>
				<sound-file path="sounds/ghost_armor_die5.wav"/>
			</sound>
			<fade value="false"/>
		</skill>

	</skills>

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

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

		<command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="images/ghost_armor_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="../archmage/images/magic_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

	</commands>
</unit>
