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

<unit>
	<parameters>

		<size value="2"/>
		<height value="10"/>
		<max-hp value="2000" regeneration="2"/>
		<max-ep value="0" regeneration="0"/>
		<armor value="50"/>	
		<armor-type value="organic"/>
		<sight value="10"/>
		<time value="80"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="ray" kills="5"/>
			<level name="lazer" kills="10"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>	
		<light enabled="false"/>
		<unit-requirements/>
			<!--unit name="capsule_launcher"/-->
		<!--/unit-requirements-->
		<upgrade-requirements>
			<upgrade name="boiled_eggs"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="300"/>
			<resource name="wood" amount="150"/>
			<resource name="energy" amount="2"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/drake_rider.bmp"/>
		<image-cancel path="images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/dr_select1.wav"/>
			<sound path="sounds/dr_select2.wav"/>
			<sound path="sounds/dr_select3.wav"/>
			<sound path="sounds/dr_select4.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/dr_ack1.wav"/>
			<sound path="sounds/dr_ack2.wav"/>
			<sound path="sounds/dr_ack3.wav"/>
			<sound path="sounds/dr_ack4.wav"/>
		</command-sounds>

	</parameters>

	<skills>

		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="50"/>
			<animation path="models/war_machine_stand.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="540"/>
			<anim-speed value="94"/>
			<animation path="models/war_machine_walk.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/dr_walk1.wav"/>
				<sound-file path="sounds/dr_walk2.wav"/>
			</sound>

		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="80"/>
			<anim-speed value="80"/>
			<animation path="models/war_machine_stand.g3d"/>
			<sound enabled="true" start-time="0.2">
				<sound-file path="sounds/dr_attack.wav"/>
			</sound>
			<attack-strenght value="500"/>
			<attack-var value="50"/>
			<attack-range value="4"/>
			<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="false">
					<!--sound-file path="sounds/summoner_hit1.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="attack"/>
			<name value="attack_air_skill"/>		
			<ep-cost value=""/>
			<speed value="70"/>
			<anim-speed value="70"/>
			<animation path="models/war_machine_stand.g3d"/>
			<sound enabled="false" start-time="0.5">
			</sound>
			<attack-strenght value="140"/>
			<attack-var value="40"/>
			<attack-range value="8"/>
			<attack-type value="energy"/>
			<attack-fields>
				<field value="air"/>
			</attack-fields>
			<attack-start-time value="0.5"/>
			<projectile value="true">
				<particle value="true" path="particle_proj_air.xml"/>
				<sound enabled="false">
				</sound>
			</projectile>
			<splash value="true">
				<radius value="1"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash_air.xml"/>
			</splash>
		</skill>

		<skill>
			<type value="die"/>	
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="50"/>
			<animation path="models/war_machine_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/dr_die1.wav"/>
				<sound-file path="sounds/dr_die2.wav"/>
				<sound-file path="sounds/dr_die3.wav"/>
				<sound-file path="sounds/dr_die4.wav"/>
			</sound> 
			<fade value="false"/>
		</skill>
	</skills>
	
	<commands>
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="images/magic_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

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

		<command>
			<type value="attack"/>
			<name value="lazer_gun_ground"/>
			<image path="images/fire_breath_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

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

		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="images/magic_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		
	</commands>
</unit>
