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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="4000" regeneration="10"/>
		<max-ep value="3000" regeneration="20"/>
		<armor value="100"/>	
		<armor-type value="wood"/>
		<sight value="12"/>
		<time value="5"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
		</levels>

		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements />
		<upgrade-requirements/>
		<resource-requirements>
		<resource name= "gold" amount="0"/>
		</resource-requirements>
		<resources-stored />		
		<image path="images/wood_guard1.bmp"/>
		<image-cancel path="images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/archmage_select1.wav"/>
			<sound path="sounds/archmage_select2.wav"/>
			<sound path="sounds/archmage_select3.wav"/>
			<sound path="sounds/archmage_select4.wav"/>
			<sound path="sounds/archmage_select5.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/archmage_ack1.wav"/>
			<sound path="sounds/archmage_ack2.wav"/>
			<sound path="sounds/archmage_ack3.wav"/>
			<sound path="sounds/archmage_ack4.wav"/>
			<sound path="sounds/archmage_ack5.wav"/>
			<sound path="sounds/archmage_ack6.wav"/>
			<sound path="sounds/archmage_ack7.wav"/>
		</command-sounds>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>
			<ep-cost value="-10"/>
			<speed value="1000"/>
			<anim-speed value="20"/>
			<animation path="models/wood_guard_idle.g3d"/>
			<sound enabled="false"/>
		</skill>
		<skill>
			<type value="be_built" />
			<name value="be_built_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/tree1.g3d" />
			<sound enabled="false" />
		</skill>
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="999999"/>
			<speed value="220"/>
			<anim-speed value="75"/>
			<animation path="models/wood_guard_turn.g3d"/>
			<sound enabled="false"/>
		</skill>
				
		<skill>
			<type value="attack"/>
			<name value="ice_nova_skill"/>		
			<ep-cost value="100"/>
			<speed value="75"/>
			<anim-speed value="75"/>
			<animation path="models/wood_guard_attacking.g3d"/>
			<sound enabled="false" start-time="0">
				<sound-file path="sounds/archmage_attack1.wav"/>
			</sound>
			<attack-strenght value="700"/>
			<attack-var value="200"/>
			<attack-range value="9"/>
			<attack-type value="physical"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.6"/>
			<projectile value="true">
				<particle value="true" path="particle_proj_baum.xml"/>
				<sound enabled="false">
					<sound-file path="sounds/archmage_hit1.wav"/>
				</sound>
			</projectile>
			<splash value="true">
				<radius value="3"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>

		
		
		<skill>
			<type value="morph"/>
			<name value="morph_tree"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="200"/>
			<animation path="models/wood_guard_turn.g3d"/>
			<sound enabled="false"/>
		
		</skill>
		<skill>
			<type value="die"/>
			<name value="die_skill"/>	
			<ep-cost value="0"/>
			<speed value="120"/>
			<anim-speed value="120"/>
			<animation path="../arbol_alma/models/archmage_dying.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/archmage_die1.wav"/>
				<sound-file path="sounds/archmage_die2.wav"/>
			</sound>
			<fade value="true"/>
		</skill>

	</skills>

	<!-- *** commands *** -->
	
	<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="attack_stopped"/>
			<name value="angriff"/>
			<image path="images/archmage_ice_nova.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="ice_nova_skill"/>
		</command>

			
		<command>
			<type value="morph"/>
			<name value="zu_seele"/>
			<image path="images/archmage.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="morph_tree"/>
			<morph-unit name= "arbol_alma"/>
			<discount value="100"/>
		</command>
	</commands>
</unit>