<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_infantry_melee_pikeman">
  <Attack>
    <Melee>
      <AttackName>Ji</AttackName>
      <Damage>
        <Hack op="add">6</Hack>
        <Pierce op="add">-4</Pierce>
      </Damage>
    </Melee>
  </Attack>
  <Builder>
    <Entities datatype="tokens">
      -structures/wallset_palisade
    </Entities>
  </Builder>
  <Identity>
    <Civ>han</Civ>
    <SelectionGroupName>units/han/infantry_pikeman_b</SelectionGroupName>
    <GenericName>Halberdier</GenericName>
    <SpecificName>Jǐ Bīng</SpecificName>
    <Icon>units/han/infantry_halberdman.png</Icon>
    <Requirements>
      <Techs datatype="tokens">phase_town</Techs>
    </Requirements>
  </Identity>
  <Promotion>
    <Entity>units/han/infantry_pikeman_a</Entity>
  </Promotion>
  <Resistance>
    <Entity>
      <Damage>
        <Hack op="add">-2</Hack>
        <Pierce op="add">-2</Pierce>
      </Damage>
    </Entity>
  </Resistance>
  <UnitAI>
    <Formations datatype="tokens">
      special/formations/anti_cavalry
    </Formations>
  </UnitAI>
  <VisualActor>
    <Actor>units/han/infantry_halberdman_b.xml</Actor>
  </VisualActor>
</Entity>
