<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_infantry_melee">
  <Attack>
    <Melee>
      <AttackName context="Name of an attack using a double-edged sword.">Sword</AttackName>
      <Damage>
        <Hack>16.5</Hack>
        <Pierce>7.5</Pierce>
      </Damage>
      <MaxRange>2.75</MaxRange>
      <PrepareTime>390</PrepareTime>
      <RepeatTime>1000</RepeatTime>
      <Bonuses>
        <BonusMelee>
          <Classes>Ranged Infantry</Classes>
          <Multiplier>1.5</Multiplier>
        </BonusMelee>
      </Bonuses>
      <PreferredClasses datatype="tokens">Unit+!Ship</PreferredClasses>
    </Melee>
  </Attack>
  <Resistance>
    <Entity>
      <Damage>
        <Hack op="add">-2.5</Hack>
        <Pierce op="add">-1.5</Pierce>
      
      </Damage>
    </Entity>
  </Resistance>
  <Identity>
    <VisibleClasses datatype="tokens">Melee Swordsman</VisibleClasses>
    <GenericName>Champion Swordsman</GenericName>
  </Identity>
  <Sound>
    <SoundGroups>
      <attack_melee>attack/weapon/sword_attack.xml</attack_melee>
    </SoundGroups>
  </Sound>
  <UnitAI>
    <Formations datatype="tokens">
      special/formations/testudo
    </Formations>
  </UnitAI>
  <UnitMotion>
    <WalkSpeed op="mul">1.08</WalkSpeed>
    <RunMultiplier>1.5</RunMultiplier>
    <Acceleration op="mul">1.08</Acceleration>
  </UnitMotion>
</Entity>
