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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="400" regeneration="1"/>
		<max-ep value="0"/>
		<armor value="10"/>	
		<armor-type value="metal"/>
		<sight value="11"/>
		<time value="80"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="terrible" kills="5"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
			<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="60"/>
			<resource name="energy" amount="1"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/devil_machine.bmp"/>
		<image-cancel path="../dark_elder/images/dark_magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false"/>
		<command-sounds enabled="false"/>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="40"/>
			<animation path="models/machine_idle.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="275"/>
			<anim-speed value="110"/>
			<animation path="models/machine_move.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="60"/>
			<animation path="models/machine_attack.g3d"/>
			<sound enabled="false"/>
			<attack-strenght value="10"/>
			<attack-var value="0"/>
			<attack-range value="2"/>
			<attack-type value="slashing"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.6"/>
			<projectile value="true">
				<particle value="false" path="particle_proj.xml"/>
				<sound enabled="false"/>
			</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="120"/>
			<anim-speed value="50"/>
			<animation path="models/machine_destroyed.g3d"/>
			<sound enabled="false"/>
			<fade value="false"/>
		</skill>
	</skills>

	<commands>
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="../dark_elder/images/dark_magic_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

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

		<command>
			<type value="attack"/>
			<name value="saw"/>
			<image path="images/saw.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="../dark_elder/images/dark_magic_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
	</commands>
</unit>