<tower template="ini/units/templates/creepbase.xml"
	   name="helocopter_medic"
	   velocity="60"
	   health="100"
	   radius="150"
  
     unitlayer="sky"
     exp="3"
       >
	  
  <effects>
    <positive damage="1.5" armor="0"/>
  </effects>

  <extraproperties
    electro_pos="0x30"
    electro_size="big"
    electro_scale="1"
    fire_pos="0x0"
    fire_scale="3"
    freezing_scale="0.4"
    freezing_pos="0x50"
    />

  <skills>
    <medic radius="500" health="25" frequence="3.5" duration="0.3" maxtargets="5"
           units="soldier,soldier2,bigman,flamethrower"
           effect_description="type:medic,animation:red" />
  </skills>

  <children>
    <node type="sprite" name="skin" visible="yes" center="0.5x0.0"/>
    <node type="sprite" name="death" visible="no" center="0.5x0.0"/>
    <node type="sprite" name="shadow" image="images/creeps/helicopter_shadow.png" center="0.5x0.5"/>
    <node name="health_indicator" pos="-18x110" z="1"/>
  </children>

  
  
  <actions>
      <action name="animate_left" value="RepeatForever[Animate[0.2,[folder:helicopter2.left::,frames:
      helicopter2_left_0001.png,
      helicopter2_left_0002.png,
      helicopter2_left_0003.png,
      ]]]"/>
      <action name="animate_up" value="RepeatForever[Animate[0.2,[folder:helicopter2.left::,frames:
      helicopter2_left_0001.png,
      helicopter2_left_0002.png,
      helicopter2_left_0003.png,
      ]]]"/>
      <action name="animate_down" value="RepeatForever[Animate[0.2,[folder:helicopter2.left::,frames:
      helicopter2_left_0001.png,
      helicopter2_left_0002.png,
      helicopter2_left_0003.png,
      ]]]"/>
    
    
    <action name="animate_fire" value="RepeatForever[Animate[0.2,[folder:helicopter2.left::,frames:
    helicopter2_left_0001.png,
    helicopter2_left_0002.png,
    helicopter2_left_0003.png,
    ]]]"/>
    
    <action name="animate_die" value="Animate[0.35,[folder:helicopter.death::,frames:
            helicopter_death_0001.png,
            helicopter_death_0002.png,
            helicopter_death_0003.png,
            helicopter_death_0004.png,
            helicopter_death_0005.png,
            helicopter_death_0006.png,
            helicopter_death_0007.png,
            helicopter_death_0008.png,
            helicopter_death_0009.png,
            helicopter_death_0010.png,
            ]]"/>
  
  
  
  
  
  

  <events>

    <eventlist name="on_healing">
      <stopallaction target="skin"/>
      <action action="animate_fire" target="skin" state="run"/>
    </eventlist>

    <eventlist name="on_die">
    </eventlist>

    <eventlist name="on_shoot">
    </eventlist>
  </events>

</tower>
