<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_infantry_melee_pikeman">
  <Attack>
    <Melee>
      <AttackName>Ji</AttackName>
      <Damage>
        <Hack op="add">2</Hack>
        <Pierce op="add">1</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>
  </Identity>
  <Promotion>
    <Entity>units/han/infantry_pikeman_a</Entity>
  </Promotion>
  <Resistance>
    <Entity>
      <Damage>
        <Hack op="add">-1.5</Hack>
        <Pierce op="add">-1</Pierce>
      </Damage>
    </Entity>
  </Resistance>
  <UnitAI>
    <Formations datatype="tokens">
      special/formations/anti_cavalry
    </Formations>
  </UnitAI>
    <UnitMotion>
    <WalkSpeed op="mul">1.02</WalkSpeed>
    <Acceleration op="mul">1.04</Acceleration>
  </UnitMotion>
  <VisualActor>
    <Actor>units/han/infantry_halberdman_b.xml</Actor>
  </VisualActor>
</Entity>
