<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_cavalry">
  <Attack>
    <Melee>
      <AttackName>Spear</AttackName>
      <Damage>
        <Hack>9</Hack>
        <Pierce>19</Pierce>
      </Damage>
      <MaxRange>5</MaxRange>
      <Bonuses>
        <BonusCavMelee>
          <Classes>Cavalry</Classes>
          <Multiplier>1.75</Multiplier>
        </BonusCavMelee>
      </Bonuses>
      <PrepareTime>450</PrepareTime>
      <RepeatTime>1300</RepeatTime>
      <PreferredClasses datatype="tokens">Unit+!Ship</PreferredClasses>
    </Melee>
  </Attack>
  <Identity>
    <GenericName>Champion Cavalry Spearman</GenericName>
    <Tooltip>Counters: 1.75× vs Cavalry.</Tooltip>
    <VisibleClasses datatype="tokens">Melee Spearman</VisibleClasses>
  </Identity>
  <Resistance>
    <Entity>
      <Damage>
        <Hack op="add">3.5</Hack>
        <Pierce op="add">4</Pierce>
      </Damage>
    </Entity>
  </Resistance>
  <UnitMotion>
    <Acceleration op="mul">1.10</Acceleration>
  </UnitMotion>
  <Sound>
    <SoundGroups>
      <attack_melee>attack/weapon/spear_attack.xml</attack_melee>
    </SoundGroups>
  </Sound>
</Entity>
