<?xml version="1.0" standalone="no"?>
<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="700" regeneration="1"/>
		<max-ep value="0"/>
		<armor value="20"/>
		<armor-type value="leather"/>
		<sight value="15"/>
		<time value="45"/>
		<multi-selection value="true"/>
		<cellmap value="false"/>
		<levels>
			<level name="elite" kills="5"/>
		</levels>
		<fields>
			<field value="land"/>
			<field value="air"/>
		</fields>
		<properties/>
                <light enabled="false" red="0.0" green="1.0" blue="0.3"/>
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="100"/>
			<resource name="stone" amount="30"/>
			<resource name="food" amount="1"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/genie.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/genie_select1.wav"/>
			<sound path="sounds/genie_select2.wav"/>
			<sound path="sounds/genie_select3.wav"/>
			<sound path="sounds/genie_select4.wav"/>
			<sound path="sounds/genie_select5.wav"/>
			<sound path="sounds/genie_select6.wav"/>
			<sound path="sounds/genie_select7.wav"/>
			<sound path="sounds/genie_select8.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/genie_ack1.wav"/>
			<sound path="sounds/genie_ack2.wav"/>
			<sound path="sounds/genie_ack3.wav"/>
			<sound path="sounds/genie_ack4.wav"/>
			<sound path="sounds/genie_ack5.wav"/>
			<sound path="sounds/genie_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/genie_standing.g3d"/>
			<particles value="true">
				<particle-file path="glow_particles.xml"/>
			</particles>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="125"/>
			<animation path="models/genie_walking.g3d"/>
			<particles value="true">
				<particle-file path="glow_particles.xml"/>
			</particles>
                        <sound enabled="false" start-time="0"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="charge_skill"/>
			<ep-cost value="0"/>
			<speed value="250"/>
			<anim-speed value="125"/>
			<animation path="models/genie_charging.g3d"/>
			<particles value="true">
				<particle-file path="glow_particles.xml"/>
			</particles>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="50"/>
			<animation path="models/genie_attacking.g3d"/>
			<particles value="true">
				<particle-file path="glow_particles.xml"/>
			</particles>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/genie_attack1.wav"/>
				<sound-file path="sounds/genie_attack2.wav"/>
			</sound>
			<attack-strenght value="100"/>
			<attack-var value="40"/>
			<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="sounds/arrow_hit1.wav"/>
					<sound-file path="sounds/arrow_hit2.wav"/>
					<sound-file path="sounds/arrow_hit3.wav"/>
					<sound-file path="sounds/arrow_hit4.wav"/>
					<sound-file path="sounds/arrow_hit5.wav"/>
				</sound>
			</projectile>
			<splash value="true">
				<radius value="0"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>

		<skill>
			<type value="die"/>
			<name value="die_skill"/>
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/genie_dying.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/genie_die1.wav"/>
				<sound-file path="sounds/genie_die2.wav"/>
				<sound-file path="sounds/genie_die3.wav"/>
				<sound-file path="sounds/genie_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/fire.bmp"/>
			<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/tech_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements>
			</upgrade-requirements>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

	</commands>
</unit>
