<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="3" />
		<height value="2" />
		<max-hp value="6000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="stone"/>
		<sight value="6" />
		<time value="100" />
		<multi-selection value="false" />
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false" />
		<unit-requirements>
		</unit-requirements> 
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="100" />
			<resource name="stone" amount="150" />
			<resource name="wood" amount="50" />
		</resource-requirements>
		<resources-stored />
		<image path="images/portal.bmp" />
		<image-cancel path="../dark_elder/images/dark_magic_cancel.bmp"/>
		<meeting-point value="true" image-path="../dark_castle/images/meeting_point.bmp"/>
		<selection-sounds enabled="true">
			<sound path="../poisen_morel/sounds/dark_magic_click.wav"/>
		</selection-sounds>
		<command-sounds enabled="false"/>
	</parameters>
	
	<skills>
		<skill>
			<type value="stop"/>	
			<name value="stop_skill"/>
			<ep-cost value="0" />
			<speed value="50" />
			<anim-speed value="100" />
			<animation path="models/portal.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/portal_construction.g3d" />
			<sound enabled="false" />
		</skill>
		
		<skill>
			<type value="produce"/>
			<name value="produce_skill"/>	
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/portal.g3d" />
			<particles value="true">
				<particle-file path="produce_particles.xml"/>
			</particles>
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="die" />	
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/portal_destruction.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="../poisen_morel/sounds/dark_magic_building_fall6.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>
	</skills>
	
	<commands>
		<command>
			<type value="produce"/>
			<name value="teleport_dark_mage" />
			<image path="../dark_mage/images/dark_mage.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="dark_mage"/>
		</command>
		
		<command>
			<type value="produce"/>
			<name value="teleport_dragon" />
			<image path="../dragon/images/dragon.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<produce-skill value="produce_skill"/>
			<produced-unit name="dragon"/>
		</command>


		<!--command>
			<type value="produce"/>
			<name value="teleport_shade" />
			<image path="../shade/images/alliyp.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="shade"/>
		</command-->
	</commands>
</unit>
