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

<unit>
	<parameters>
		<size value="2"/>
		<height value="1"/>
		<max-hp value="1400" regeneration="3"/>
		<max-ep value="0"/>
		<armor value="20"/>	
		<armor-type value="metal"/>
		<sight value="15"/>
		<time value="150"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="fast" kills="10"/>
		</levels>
		<fields>
			<field value="air"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="network_card"/>
			<unit name="cpu"/>
		</unit-requirements> 
		<upgrade-requirements>
			<upgrade name="encryption"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="250"/>
			<resource name="stone" amount="100"/>
			<resource name="wood" amount="100"/>
			<resource name="memory" amount="2"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="images/dragon.bmp"/>
		<image-cancel path="../fibre_optic/images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/dragon_select1.wav"/>
			<sound path="sounds/dragon_select2.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/dragon_ack1.wav"/>
			<sound path="sounds/dragon_ack2.wav"/>
		</command-sounds>

	</parameters>


	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="200"/>
			<animation path="models/fan.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="400"/>
			<anim-speed value="200"/>
			<animation path="models/fan.g3d"/>
			<sound enabled="false"/>
		</skill>

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

		<skill>
			<type value="attack"/>
			<name value="attack_air_skill"/>		
			<ep-cost value="0"/>
			<speed value="40"/>
			<anim-speed value="300"/>
			<animation path="models/fan.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/dragon_attack1.wav"/>
				<sound-file path="sounds/dragon_attack2.wav"/>
				<sound-file path="sounds/dragon_attack3.wav"/>
				<sound-file path="sounds/dragon_attack4.wav"/>
			</sound>
			<attack-strenght value="190"/>
			<attack-var value="30"/>
			<attack-range value="1"/>
			<attack-type value="energy"/>
			<attack-fields>
				<field value="air"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_land_skill"/>		
			<ep-cost value="0"/>
			<speed value="40"/>
			<anim-speed value="300"/>
			<animation path="models/fan.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/dragon_attack1.wav"/>
				<sound-file path="sounds/dragon_attack2.wav"/>
				<sound-file path="sounds/dragon_attack3.wav"/>
				<sound-file path="sounds/dragon_attack4.wav"/>
			</sound>
			<attack-strenght value="230"/>
			<attack-var value="30"/>
			<attack-range value="3"/>
			<attack-type value="energy"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="true">
				<sound-file path="sounds/dragon_hit1.wav"/>
				<sound-file path="sounds/dragon_hit2.wav"/>
				<sound-file path="sounds/dragon_hit3.wav"/>
				<sound-file path="sounds/dragon_hit4.wav"/>
			</sound>
			</projectile>
			<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/fan.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="../cpu/sounds/zap.wav"/>
			</sound>			
			<fade value="true"/>
		</skill>

                <skill>
                        <type value="stop"/>
                        <name value="hold_skill"/>
                        <ep-cost value="0"/>
                        <speed value="100"/>
                        <anim-speed value="200"/>
                        <animation path="models/fan.g3d"/>
                        <sound enabled="false"/>
                </skill>

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

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

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

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

		<command>
                        <type value="attack_stopped"/>
                        <name value="stand_ground"/>
                        <image path="../fibre_optic/images/magic_hold.bmp"/>
                        <unit-requirements/>
                        <upgrade-requirements/>
                        <stop-skill value="hold_skill"/>
                        <attack-skill value="attack_land_skill"/>
		</command> 

	</commands>
</unit>
