<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_infantry">
  <Attack>
    <Melee>
      <AttackName context="Name of an attack using a double-edged sword.">Sword</AttackName>
      <Damage>
        <Hack>26</Hack>
      </Damage>
      <MaxRange>3</MaxRange>
      <PrepareTime>375</PrepareTime>
      <RepeatTime>750</RepeatTime>
      <PreferredClasses datatype="tokens">Unit+!Ship</PreferredClasses>
    </Melee>
  </Attack>
  <Cost>
    <Resources>
      <wood op="add">-50</wood>
      <metal op="add">50</metal>
    </Resources>
  </Cost>
  <Identity>
    <VisibleClasses datatype="tokens">Melee Swordsman</VisibleClasses>
    <GenericName>Hero Swordsman</GenericName>
  </Identity>
  <Resistance>
    <Entity>
      <Damage>
        <Hack op="add">4</Hack>
        <Pierce op="add">4</Pierce>
      </Damage>
    </Entity>
  </Resistance>
  <Sound>
    <SoundGroups>
      <attack_melee>attack/weapon/sword_attack.xml</attack_melee>
    </SoundGroups>
  </Sound>
  <UnitAI>
    <Formations datatype="tokens">
      special/formations/testudo
    </Formations>
  </UnitAI>
</Entity>
