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

<unit>
	<parameters>
		<size value="2"/>
		<height value="1"/>
		<max-hp value="1700" regeneration="3"/>
		<max-ep value="1000" regeneration="200"/>
		<armor value="20"/>
		<armor-type value="organic"/>
		<sight value="15"/>
		<time value="50"/>
		<multi-selection value="true"/>
		<cellmap value="false"/>
		<levels>
			<level name="expert" kills="8"/>
		</levels>
		<fields>
			<field value="air"/>
		</fields>
		<properties/>
                <light enabled="false" red="1.0" green="0.0" blue="0.0" alpha="1"/>
		<unit-requirements>
			<unit name="energy_source"/>
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="100"/>
			<resource name="stone" amount="200"/>
			<resource name="energy" amount="2"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/evil_dragon.bmp"/>
		<image-cancel path="../archmage/images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/evil_dragon_select1.wav"/>
			<sound path="sounds/evil_dragon_select2.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/evil_dragon_ack1.wav"/>
			<sound path="sounds/evil_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="75"/>
			<animation path="models/dragon_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="350"/>
			<anim-speed value="75"/>
			<animation path="models/dragon_walking.g3d"/>
			<particles value="true">
				<particle-file path="glow_particles.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
			<sound-file path="sounds/evil_dragon_fly.wav"/>
			</sound>
		</skill>
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>
			<ep-cost value="1000"/>
			<speed value="40"/>
			<anim-speed value="40"/>
			<animation path="models/dragon_attacking.g3d"/>
			<particles value="true">
				<particle-file path="glow_particles.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/evil_dragon_attack1.wav"/>
				<sound-file path="sounds/evil_dragon_attack2.wav"/>
				<sound-file path="sounds/evil_dragon_attack3.wav"/>
				<sound-file path="sounds/evil_dragon_attack4.wav"/>
			</sound>
			<attack-strenght value="450"/>
			<attack-var value="40"/>
			<attack-range value="10"/>
			<attack-type value="magic"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</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/evil_dragon_hit1.wav"/>
				<sound-file path="sounds/evil_dragon_hit2.wav"/>
				<sound-file path="sounds/evil_dragon_hit3.wav"/>
				<sound-file path="sounds/evil_dragon_hit4.wav"/>
			</sound>
			</projectile>
			<splash value="true">
				<radius value="1"/>
				<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="120"/>
			<anim-speed value="120"/>
			<animation path="models/dragon_dying.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/evil_dragon_die1.wav"/>
				<sound-file path="sounds/evil_dragon_die2.wav"/>
			</sound>
			<fade value="true"/>
		</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="breath"/>
			<image path="images/evil_dragon_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>
