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

<unit>
	<parameters>
		<size value="2"/>
		<height value="2"/>
		<max-hp value="2000" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="50"/>	
		<armor-type value="stone"/>
		<sight value="10"/>
		<time value="150"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="ancient" kills="10"/>
			<level name="expert" kills="25"/>
			<level name="master" kills="50"/>
		</levels>
		<fields>
			<field value="land"/>
		<field value="air"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="cage"/>
		<unit name="hut"/>
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="stone" amount="250"/>
			<resource name="gold" amount="250"/>
			<resource name="food" amount="2"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/golem.bmp"/>
		<image-cancel path="images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="/sounds/golem_select1.wav"/>
			<sound path="/sounds/golem_select2.wav"/>
			<sound path="/sounds/golem_select3.wav"/>
			<sound path="/sounds/golem_select4.wav"/>
			<sound path="/sounds/golem_select5.wav"/>
			<sound path="/sounds/golem_select6.wav"/>
			<sound path="/sounds/golem_select7.wav"/>
			<sound path="/sounds/golem_select8.wav"/>
			<sound path="/sounds/golem_select9.wav"/>
			<sound path="/sounds/golem_select10.wav"/>
			<sound path="/sounds/golem_select11.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
		        <sound path="/sounds/golem_ack1.wav"/>
			<sound path="/sounds/golem_ack2.wav"/>
			<sound path="/sounds/golem_ack3.wav"/>
			<sound path="/sounds/golem_ack4.wav"/>
			<sound path="/sounds/golem_ack5.wav"/>
			<sound path="/sounds/golem_ack6.wav"/>
			<sound path="/sounds/golem_ack7.wav"/>
			<sound path="/sounds/golem_ack8.wav"/>
			<sound path="/sounds/golem_ack9.wav"/>
			<sound path="/sounds/golem_ack10.wav"/>
			<sound path="/sounds/golem_ack11.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/lizzard_sit.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="125"/>
			<anim-speed value="120"/>
			<animation path="models/lizzard_walk.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/golem_walk1.wav"/>
				<sound-file path="sounds/golem_walk2.wav"/>
			</sound> 

		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="60"/>
			<animation path="models/lizzard_attack.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="/sounds/golem_attack1.wav"/>
			</sound>
			<attack-strenght value="200"/>
			<attack-var value="150"/>
			<attack-range value="10"/>
			<attack-type value="impact"/>
			<attack-start-time value="0.4"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="true">
					<sound-file path="/sounds/golem_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="die"/>	
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/lizzard_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/golem_die1.wav"/>
				<sound-file path="sounds/golem_die2.wav"/>
				<sound-file path="sounds/golem_die3.wav"/>
			</sound> 
                        <fade value="false"/>
		</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="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="attack"/>
			<image path="images/golem_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_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>
