<tower
      maxlevel="3"
      unittype="base"
      name="towerE"
      maxtargets="0"
      level="1"
      additionalZorder="10"
      >
  <paramcollection>
    <showmenu_sell>no</showmenu_sell>
    <levelhealth>10</levelhealth>
    <menutowerradiusactivete>150</menutowerradiusactivete>
  </paramcollection>
  
  <children>
    <node type="sprite" name="skin" z="0" image="images/maps/fortTowerStone_dr.png"  center="0.5x0.32"/>
    <node type="sprite" name="heart" z="1" image="images::gamescene/icon_lifes.png" center="0.5x0.5" scale="1x1" opacity="0" z="10"/>
    <node name="text" type="text" font="fonts/mdefensefont2.fnt" text="+5" pos="45x0" scale="0.75x0.75" center="0.5x0.5" textwidth="20" textalign="left" opacity="0" z="10"/>

	<node type="sprite" name="smoke1" z="1" image="images/units/fort-2.png" pos="20x-55" animation="RepeatForever[Animate[1.5..2,[folder:fx::Smoke,indexes:.png,50:59]]]" visible="yes" opacity="255" center="0.5x0" scale="0.8x0.8"/>
	<node type="sprite" name="smoke2" z="1" image="images/units/fort-2.png" pos="-40x-25" animation="RepeatForever[Animate[1.5..2,[folder:fx::Smoke,indexes:.png,50:59]]]" visible="yes" opacity="255" center="0.5x0" scale="0.8x0.8"/>
	<node type="sprite" name="smoke3" z="1" image="images/units/fort-2.png" pos="60x-25" animation="RepeatForever[Animate[1.5..2,[folder:fx::Smoke,indexes:.png,50:59]]]" visible="yes" opacity="255" center="0.5x0" scale="0.8x0.8"/>

     </children>

	<actions>
		<action name="appearance" value="Sequence[ScaleTo[0.25,1.5,1.5],ScaleTo[0.25,1.1,1.1],ScaleTo[0.25,1.5,1.5],ScaleTo[0.25,1.1,1.1],ScaleTo[0.25,1.5,1.5],ScaleTo[0.25,1.1,1.1],ScaleTo[0.25,1,1]]]"/>
		<action name="lives" value="Sequence[Spawn[FadeTo[1,255],MoveBy[1,0,100]],Spawn[FadeTo[1,0],MoveBy[1,0,100]]]"/>

		<action name="fadein" value="Sequence[Show[],FadeTo[0.5,255]]"/>
		<action name="fadeout" value="Sequence[FadeTo[0.5,0],Hide[]]"/>
	</actions>

   <events>
    <eventlist name="on_leveldamage">
      <createnode target=".." additionalzorder="1500" posinfo_offset="0x0" scale="0.75x0.75">
        <path file="ini/units/explow3.xml"/>
      </createnode>
    </eventlist>
	<eventlist name="on_leveldamage_2">
      <runaction action="fadein" target="smoke1"/>
      <runaction action="fadein" target="smoke2"/>
      <runaction action="fadein" target="smoke3"/>
      <!-- <setproperty target="skin" property="image" value="images/maps/fortTower01.png"/> -->
      <killtarget target="archer"/>
    </eventlist>
    <eventlist name="on_leveldamage_3">
      <runaction action="fadein" target="smoke1"/>
      <runaction action="fadein" target="smoke2"/>
      <!-- <setproperty target="skin" property="image" value="images/maps/fortTower01.png"/> -->
    </eventlist>
    <eventlist name="on_leveldamage_5">
      <runaction action="fadein" target="smoke2"/>
      <!-- <setproperty target="skin" property="image" value="images/maps/fortTower01.png"/> -->
    </eventlist>
	
  </events>


</tower>
