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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="1000" regeneration="10"/>
		<max-ep value="200" regeneration="10"/>
		<armor value="30"/>	
		<armor-type value="leather"/>
		<sight value="12"/>
		<time value="75"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="expert" kills="3"/>
			<level name="master" kills="10"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
			<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="75"/>
			<resource name="food" amount="1"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="images/battlemage.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="../cow_boy/sounds/slec_1.ogg"/>
			<sound path="../cow_boy/sounds/slec_2.ogg"/>
			<sound path="../cow_boy/sounds/slec_3.ogg"/>
			<sound path="../cow_boy/sounds/slec_4.ogg"/>
			<sound path="../cow_boy/sounds/slec_5.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_1.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_2.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_3.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_4.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_5.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_6.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_7.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_8.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_9.ogg"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="../cow_boy/sounds/act_1.ogg"/>
			<sound path="../cow_boy/sounds/act_2.ogg"/>
			<sound path="../cow_boy/sounds/act_3.ogg"/>
			<sound path="../cow_boy/sounds/act_4.ogg"/>
			<sound path="../cow_boy/sounds/act_5.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_1.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_2.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_3.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_4.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_5.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_6.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_7.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_8.ogg"/>
			<sound path="../cow_boy/sounds/act_slec_9.ogg"/>
		</command-sounds>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="40"/>
			<animation path="models/out_law_stand.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="5"/>
			<speed value="150"/>
			<anim-speed value="80"/>
			<animation path="models/out_law_walk.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="5"/>
			<speed value="250"/>
			<anim-speed value="190"/>
			<animation path="models/out_law_charge.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="5"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/out_law_attack.g3d"/>
			<sound enabled="true" start-time="0.3">
				<sound-file path="sounds/battlemage_attack1.wav"/>
			</sound>
			<attack-strenght value="500"/>
			<attack-var value="200"/>
			<attack-range value="1"/>
			<attack-type value="energy"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.6"/>
			<projectile value="true">
				<particle value="false"/>
				<sound enabled="true">
					<sound-file path="sounds/battlemage_hit1.wav"/>
					<sound-file path="sounds/battlemage_hit2.wav"/>
					<sound-file path="sounds/battlemage_hit3.wav"/>
					<sound-file path="sounds/battlemage_hit4.wav"/>
				</sound>
			</projectile>
			<splash value="true">
				<radius value="0"/>
				<damage-all value="true"/>
				<particle value="false"/>
			</splash>
		</skill>

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

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="120"/>
			<anim-speed value="90"/>
			<animation path="models/out_law_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/battlemage_die1.wav"/>
				<sound-file path="sounds/battlemage_die2.wav"/>
				<sound-file path="sounds/battlemage_die3.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

	</skills>

	<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="swing_led_ball"/>
			<image path="images/battlemage_fire_bolt.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/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command-->

	</commands>
</unit>
