<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_siege">
  <Attack>
    <Melee>
      <AttackName>Ram</AttackName>
      <Damage>
        <Crush>70</Crush>
      </Damage>
      <MaxRange>6.5</MaxRange>
      <PrepareTime>1000</PrepareTime>
      <RepeatTime>2000</RepeatTime>
      <PreferredClasses datatype="tokens">Structure</PreferredClasses>
      <RestrictedClasses datatype="tokens">Field Organic</RestrictedClasses>
    </Melee>
  </Attack>
  <Cost>
    <BuildTime>24</BuildTime>
    <Population>2</Population>
    <Resources>
      <wood>250</wood>
      <metal>100</metal>
    </Resources>
  </Cost>
  <Footprint replace="">
    <Square width="8.0" depth="12.0"/>
    <Height>5.0</Height>
  </Footprint>
  <GarrisonHolder>
    <Max>6</Max>
    <EjectHealth>0.1</EjectHealth>
    <EjectClassesOnDestroy datatype="tokens">Unit</EjectClassesOnDestroy>
    <List datatype="tokens">Support Infantry</List>
    <BuffHeal>0</BuffHeal>
    <LoadingRange>2</LoadingRange>
  </GarrisonHolder>
  <Health>
    <Max>200</Max>
  </Health>
  <Identity>
    <GenericName>Battering Ram</GenericName>
    <Tooltip>Cannot attack Fields or Organic Units.</Tooltip>
    <VisibleClasses datatype="tokens">Melee Ram</VisibleClasses>
     <Requirements>
      <Techs datatype="tokens">-phase_city phase_town</Techs>
    </Requirements>
  </Identity>
  <Loot>
    <xp>200</xp>
    <wood>60</wood>
    <metal>30</metal>
  </Loot>
  <Resistance>
    <Entity>
      <Damage>
        <Hack>5</Hack>
        <Pierce>25</Pierce>
	      <Crush>5</Crush>
      </Damage>
    </Entity>
  </Resistance>
  <Sound>
    <SoundGroups>
      <select>attack/siege/siege_select.xml</select>
      <order_walk>attack/siege/ram_move.xml</order_walk>
      <order_attack>attack/siege/ram_attack_order.xml</order_attack>
      <trained>attack/siege/ram_trained.xml</trained>
      <attack_melee>attack/siege/ram_attack.xml</attack_melee>
    </SoundGroups>
  </Sound>
  <UnitMotion>
    <WalkSpeed op="mul">0.55</WalkSpeed>
    <Acceleration op="mul">0.55</Acceleration>
  </UnitMotion>
  <Vision>
    <Range>80</Range>
  </Vision>
</Entity>
