<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_infantry_melee">
  <Attack>
    <Melee>
      <AttackName context="Name of an attack using a double-edged sword.">Sword</AttackName>
      <Damage>
        <Hack>11</Hack>
        <Pierce>5</Pierce>
      </Damage>
      <MaxRange>2.75</MaxRange>
      <PrepareTime>400</PrepareTime>
      <RepeatTime>1000</RepeatTime>
      <Bonuses>
        <BonusMelee>
          <Classes>Ranged Infantry</Classes>
          <Multiplier>1.5</Multiplier>
        </BonusMelee>
      </Bonuses>
      <PreferredClasses datatype="tokens">Unit+!Ship</PreferredClasses>
      <Bonuses>
        <BonusMelee>
          <Classes>Ranged Infantry</Classes>
          <Multiplier>1.5</Multiplier>
        </BonusMelee>
      </Bonuses>
    </Melee>
  </Attack>
  <Cost>
    <Resources>
      <wood>35</wood>
      <metal>15</metal>
    </Resources>
  </Cost>
  <Identity>
    <VisibleClasses datatype="tokens">Swordsman</VisibleClasses>
    <Tooltip>Counters: 1.5× vs Ranged Infantry.</Tooltip>
    <GenericName>Swordsman</GenericName>
  </Identity>
  <Loot>
    <wood>4</wood>
    <metal>1</metal>
  </Loot>
  <Sound>
    <SoundGroups>
      <attack_melee>attack/weapon/sword_attack.xml</attack_melee>
    </SoundGroups>
  </Sound>
</Entity>
