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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="1000" regeneration="5"/>
		<max-ep value="0"/>
		<armor value="10"/>	
		<armor-type value="drm"/>
		<sight value="8"/>
		<time value="1"/>	
		<multi-selection value="false"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
			<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements>
			<upgrade name="drm"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="200"/>
			<resource name="memory" amount="2"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="images/daemon.bmp"/>
		<image-cancel path="../fibre_optic/images/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/drm.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<!--skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="160"/>
			<anim-speed value="120"/>
			<animation path="models/drm.g3d"/>
			<sound enabled="false"/>
		</skill-->


		<skill>
			<type value="be_built"/>
			<name value="be_built_skill"/>		
			<ep-cost value="0"/>
			<speed value="2000"/>
			<anim-speed value="2000"/>
			<animation path="models/drm.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="1000"/>
			<animation path="models/drm.g3d"/>
			<sound enabled="false"/> 
			<attack-strenght value="1"/>
			<attack-var value="0"/>
			<attack-range value="8"/>
			<attack-type value="slashing"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_off"/>		
			<ep-cost value="1"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/drm.g3d"/>
			<sound enabled="false"/>
			<attack-strenght value="0"/>
			<attack-var value="0"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>
	
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="120"/>
			<anim-speed value="80"/>
			<animation path="models/drm.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="../cpu/sounds/zap.wav"/>
			</sound>			
			<fade value="true"/>
		</skill>
	</skills>
	
	<commands>

		<command>
			<type value= "attack_stopped"/>
			<name value="drm_off"/>
			<image path="../fibre_optic/images/magic_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<attack-skill value="attack_off"/>
                        <stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value= "attack_stopped"/>
			<name value="drm_on"/>
			<image path="images/daemon_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<attack-skill value="attack_skill"/>
                        <stop-skill value="stop_skill"/>
		</command>

	</commands>
</unit>
