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

<unit>
	<parameters>
		<size value="1"/>
		<height value="3"/>
		<max-hp value="1000" regeneration="3"/>
		<max-ep value="0"/>
		<armor value="0"/>	
		<armor-type value="clothe"/>				
		<sight value="15"/>
		<time value="60"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="elite" kills="5"/>
		</levels>
		<fields>
			<field value="land"/>
			<field value="air"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="280"/>
			<resource name="food" amount="1"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="images/magician.bmp"/>
		<image-cancel path="../camel_archer/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false">
		</selection-sounds>
		<command-sounds enabled="false">
		</command-sounds>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="45"/>
			<animation path="models/magician_ambient.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="85"/>
			<animation path="models/magician_walking.g3d"/>
			<sound enabled="false"/>
		</skill>

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

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="50"/>
			<animation path="models/magician_attacking.g3d"/>
			<sound enabled="false" start-time="0.0">
			</sound>
			<attack-strenght value="1200"/>
			<attack-var value="460"/>
			<attack-range value="10"/>
			<attack-type value="energy"/>
			<attack-start-time value="0.67"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="false">
				</sound>
			</projectile>
			<splash value="true">
				<radius value="0"/>
				<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="60"/>
			<anim-speed value="60"/>
			<animation path="models/magician_dying.g3d"/>
			<sound enabled="false" start-time="0">
			</sound>			
			<fade value="false"/>
		</skill>


	</skills>

	<!-- *** commands *** -->
	
	<commands>
		
		<command>
			<type value= "stop"/>
			<name value="stop"/>
			<image path="../camel_archer/images/tech_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

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

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

		
	</commands>
</unit>
