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

<unit>

	<!-- *** parameters *** -->

	<parameters>
		<size value="3"/>
		<height value="2"/>
		<max-hp value="1350" regeneration="3"/>
		<max-ep value="650" regeneration="5"/>
		<armor value="10"/>
		<armor-type value="leder"/>					
		<sight value="15"/>
		<time value="300"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="veteran" kills="8"/>
			<level name="experte" kills="15"/>
			<level name="champion" kills="30"/>
			<level name="meister" kills="50"/>
			<level name="grossmeister" kills="80"/>
		</levels>
		<fields>
			<field value="air"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="hexer"/>
			<unit name="drachenturm"/>
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="drachenruf"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="300"/>
			<resource name="stone" amount="100"/>
			<resource name="wood" amount="150"/>
			<resource name="food" amount="3"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/drache.png"/>
		<image-cancel path="../arbeiter/images/abbrechen.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false">
		
		</selection-sounds>
		<command-sounds enabled="false">
			
		</command-sounds>

	</parameters>


	<!-- *** skills *** -->

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="150"/>		
			<animation path="models/wyvern.g3d" />
			<sound enabled="false" start-time="0">
			</sound>
			
		</skill>
		
		<skill>
			<type value="attack" />
			<name value="atem_des_todes" />		
			<ep-cost value="10" />
			<speed value="100" />
			<anim-speed value="150" />			
			<animation path="models/wyvern_breath.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav" />
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack2.wav" />
			</sound>
			<attack-strenght value="210" />
			<attack-var value="50" />
			<attack-range value="8" />
			<attack-type value="magie" />
			<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="$COMMONDATAPATH/sounds/archmage_hit1.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit2.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit3.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit4.wav"/>	
				</sound>
			</projectile>		
			<splash value="true">
				<radius value="0"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>

		<skill>
			<type value="attack" />
			<name value="ramme_des_todes" />		
			<ep-cost value="0" />
			<speed value="100" />
			<anim-speed value="150" />
			<animation path="models/wyvern_ram.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav" />
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack2.wav" />
			</sound>
			<attack-strenght value="650" />
			<attack-var value="50" />
			<attack-range value="2" />
			<attack-type value="magie" />
			<attack-start-time value="0.3" />
			<attack-fields>
				<field value="air" />
			</attack-fields>
			<projectile value="false">
				<particle value="false" path="fledermaus_particle.xml"/>
				<sound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit1.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit2.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit3.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit4.wav"/>	
				</sound>
			</projectile>		
			<splash value="true">
				<radius value="0"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>
		
		<skill>
			<type value="attack" />
			<name value="stachel_des_todes" />		
			<ep-cost value="20" />
			<speed value="100" />
			<anim-speed value="150" />			
			<animation path="models/wyvern_sting.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav" />
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack2.wav" />
			</sound>
			<attack-strenght value="350" />
			<attack-var value="50" />
			<attack-range value="5" />
			<attack-type value="einschlag" />
			<attack-start-time value="0.3" />
			<attack-fields>
				<field value="land" />
				<field value="air" />
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="fledermaus_particle.xml"/>
				<sound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit1.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit2.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit3.wav"/>
					<sound-file path="$COMMONDATAPATH/sounds/archmage_hit4.wav"/>	
				</sound>
			</projectile>		
			<splash value="true">
				<radius value="0"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="250"/>
			<anim-speed value="65"/>			
			<animation path="models/wyvern_fly.g3d" />
			<sound enabled="false"/>
		</skill>	
                
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="40"/>
			<animation path="models/wyvern_die.g3d"/>
			<sound enabled="false" start-time="0">				
			</sound>			
			<fade value="false"/>
		</skill>						

	</skills>

	<!-- *** commands *** -->
	
	<commands>
		
		<command>
			<type value= "stop"/>
			<name value="anhalten"/>
			<image path="../arbeiter/images/stop.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value= "move"/>
			<name value="bewegen"/>
			<image path="../arbeiter/images/bewegen.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>

		<command>
			<type value="attack"/>
			<name value="angreifen"/>
			<image path="images/drache.png"/>
			<unit-requirements/>	
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="atem_des_todes"/>
		</command>

		<command>
			<type value="attack"/>
			<name value="luftziel_angreifen"/>
			<image path="images/drache_angriff.png"/>
			<unit-requirements/>	
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="ramme_des_todes"/>
		</command>

	<!--	<command>
			<type value="attack"/>
			<name value="angreifen"/>
			<image path="images/drache_angriff_2.png"/>
			<unit-requirements/>	
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="stachel_des_todes"/>
		</command>   --> 
           
		<command>
			<type value="attack_stopped"/>
			<name value="position_halten"/>
			<image path="images/drache_defense.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="stachel_des_todes"/>
		</command>

	</commands>
</unit>
