<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_cavalry">
  <Attack>
    <Melee>
      <AttackName>Spear</AttackName>
      <Damage>
        <Hack>18</Hack>
        <Pierce>38</Pierce>
      </Damage>
      <MaxRange>5.5</MaxRange>
      <Bonuses>
        <BonusCavMelee>
          <Classes>Cavalry</Classes>
          <Multiplier>2</Multiplier>
        </BonusCavMelee>
      </Bonuses>
      <PrepareTime>350</PrepareTime>
      <RepeatTime>1300</RepeatTime>
      <PreferredClasses datatype="tokens">Unit+!Ship</PreferredClasses>
    </Melee>
  </Attack>
  <Identity>
    <GenericName>Hero Cavalry Spearman</GenericName>
    <Tooltip>Counters:2× vs Cavalry.</Tooltip>
    <VisibleClasses datatype="tokens">Melee Spearman</VisibleClasses>
  </Identity>
  <Resistance>
    <Entity>
      <Damage>
        <Hack op="add">4</Hack>
        <Pierce op="add">4.5</Pierce>
      </Damage>
    </Entity>
  </Resistance>
  <Sound>
    <SoundGroups>
      <attack_melee>attack/weapon/spear_attack.xml</attack_melee>
    </SoundGroups>
  </Sound>
</Entity>
