<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero">
  <Attack>
    <Capture disable=""/>
    <Melee>
      <AttackName>Trunk</AttackName>
      <Damage>
        <Hack>60</Hack>
        <Crush>90</Crush>
      </Damage>
      <Splash>
        <Shape>Circular</Shape>
        <Range>2</Range>
        <FriendlyFire>false</FriendlyFire>
        <Damage>
          <Hack>45</Hack>
        </Damage>
      </Splash>
      <MaxRange>5</MaxRange>
      <PrepareTime>750</PrepareTime>
      <RepeatTime>1500</RepeatTime>
     <PreferredClasses datatype="tokens">!Ship</PreferredClasses>
    </Melee>
  </Attack>
  <Cost>
    <Resources>
      <food>600</food>
      <metal>400</metal>
    </Resources>
  </Cost>
  <Footprint replace="">
    <Square width="4.5" depth="9.0"/>
    <Height>9.0</Height>
  </Footprint>
  <Health>
    <Max>1000</Max>
  </Health>
  <Identity>
    <GenericName>Hero Elephant</GenericName>
    <VisibleClasses datatype="tokens">Elephant Melee</VisibleClasses>
  </Identity>
  <Loot>
    <food>60</food>
    <metal>40</metal>
  </Loot>
  <Position>
    <TurnRate>4</TurnRate>
  </Position>
  <Resistance>
    <Entity>
      <Damage>
        <Hack>10</Hack>
        <Pierce>10</Pierce>
        <Crush>25</Crush>
      </Damage>
    </Entity>
  </Resistance>
  <Selectable>
    <Overlay>
      <Shape>
        <Circle radius="5.0"/>
      </Shape>
    </Overlay>
  </Selectable>
  <Sound>
    <SoundGroups>
      <select>actor/fauna/animal/elephant_select.xml</select>
      <order_walk>actor/fauna/animal/elephant_order.xml</order_walk>
      <order_attack>actor/fauna/animal/elephant_attack_order.xml</order_attack>
      <order_attack_move>actor/fauna/animal/elephant_attack_order.xml</order_attack_move>
      <order_gather>actor/fauna/animal/elephant_order.xml</order_gather>
      <order_garrison>actor/fauna/animal/elephant_order.xml</order_garrison>
      <attack_melee>actor/fauna/animal/elephant_attack.xml</attack_melee>
      <walk>actor/mounted/movement/walk.xml</walk>
      <run>actor/mounted/movement/walk.xml</run>
      <death>actor/fauna/animal/elephant_death.xml</death>
      <trained>actor/fauna/animal/elephant_trained.xml</trained>
    </SoundGroups>
  </Sound>
  <StatusBars>
    <HeightOffset>10.0</HeightOffset>
  </StatusBars>
  <UnitMotion>
    <PassabilityClass>large</PassabilityClass>
    <Acceleration op="mul">0.5</Acceleration>
    <Weight op="mul">5.0</Weight>
  </UnitMotion>
</Entity>
