<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="2" />
		<height value="3" />
		<max-hp value="5000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="wood"/>		
		<sight value="19" />
		<time value="50" />
		<multi-selection value="false" />
		<cellmap value="false" />
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties/>
		<light enabled="false" />
		<unit-requirements>
			<unit name="temple" />
			<unit name="buzau" />
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="150" />
			<resource name="wood" amount="200" />
		</resource-requirements>
		<resources-stored/>
		<image path="images/mistletree.bmp"/>
		<image-cancel path="../spear_thrower/images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="../spear_thrower/sounds/magic_click.wav" />
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="../spear_thrower/sounds/magic_click.wav" />
		</command-sounds>
	</parameters>
	
	<!-- *** skills *** -->
	<skills>

		<skill>
			<name value="be_built_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="300"/>
			<animation path="models/torch.g3d"/>
			<sound enabled="false"/>
			<type value="be_built"/>
		</skill>
		
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="30"/>
			<animation path="models/torch.g3d"/>
			<particles value="true">
				<particle-file path="fire_particle1.xml"/>
			</particles>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="produce"/>
			<name value="produce_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="30"/>
			<animation path="models/torch.g3d"/>
			<particles value="true">
				<particle-file path="fire_particle1.xml"/>
				<particle-file path="up_pru.xml"/>
			</particles>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_air_skill"/>		
			<ep-cost value="0"/>
			<speed value="80"/>
			<anim-speed value="80"/>
			<animation path="models/torch.g3d"/>
			<particles value="true">
				<particle-file path="fire_particle1.xml"/>
			</particles>
			<sound enabled="false" start-time="0">
				<sound-file path="/sounds/tower_attack1.wav"/>
				<sound-file path="/sounds/tower_attack2.wav"/>
				<sound-file path="/sounds/tower_attack3.wav"/>
				<sound-file path="/sounds/tower_attack4.wav"/>
                        	<sound-file path="/sounds/tower_attack5.wav"/>
				<sound-file path="/sounds/tower_attack6.wav"/>
			</sound>
			<attack-strenght value="150"/>
			<attack-var value="50"/>
			<attack-range value="15"/>
			<attack-type value="magic"/>
			<attack-start-time value="0.3"/>
			<attack-fields>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="false" start-time="0">
				<sound-file path="/sounds/tower_hit1.wav"/>
				<sound-file path="/sounds/tower_hit2.wav"/>
				<sound-file path="/sounds/tower_hit3.wav"/>
                                </sound>
			</projectile>
			<splash value="true">
				<radius value="3"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
                </skill>
		<!-- *** Skill 4 *** -->
		<skill>
			<type value="upgrade"/>
			<name value="upgrade_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="30"/>
			<animation path="models/torch.g3d"/>
			<particles value="true">
				<particle-file path="fire_particle1.xml"/>
				<particle-file path="up_pru.xml"/>
			</particles>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="300"/>
			<anim-speed value="100" />
			<animation path="models/torch_die.g3d"/>
			<particles value="true">
				<particle-file path="smoke_particles.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="../spear_thrower/sounds/magic_building_fall5.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

	</skills>

	<!-- *** commands *** -->
	<commands>
	
		<command>
			<type value="attack_stopped"/>
			<name value="air_on"/>
			<image path="images/mistletree_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_air_skill"/>
		</command>

		<command>
			<type value= "stop"/>
			<name value="attack_off"/>
			<name value="hold_position"/>
			<image path="../spear_thrower/images/magic_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value="upgrade"/>
			<name value="research_flame"/>
			<image path="../../upgrades/flame/images/flame.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="flame"/>
		</command>
		
    		<!--command>
    		    <type value="produce"/>
    		    <name value="resurrect_wild_sow" />
    		    <image path="../wild_sow/images/wild_sow.bmp"/>
    		    <unit-requirements/>
    		    <upgrade-requirements/>
    		    <produce-skill value="produce_skill"/>
     		   <produced-unit name="wild_sow"/>
     		</command-->
	</commands>
</unit>
