<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_infantry">
  <Attack>
    <Ranged>
      <AttackName>Javelin</AttackName>
      <Damage>
        <Pierce>62</Pierce>
      </Damage>
      <MaxRange>30</MaxRange>
      <PrepareTime>400</PrepareTime>
      <RepeatTime>1500</RepeatTime>
      <Projectile>
        <Speed>70</Speed>
        <Spread>0.8</Spread>
        <Gravity>35</Gravity>
        <FriendlyFire>false</FriendlyFire>
        <LaunchPoint y="3"/>
      </Projectile>
      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    </Ranged>
  </Attack>
  <Identity>
    <GenericName>Hero Infantry Javelineer</GenericName>
    <VisibleClasses datatype="tokens">Ranged Javelineer</VisibleClasses>
  </Identity>
  <Resistance>
    <Entity>
      <Damage>
        <Hack op="add">-2</Hack>
        <Pierce op="add">-2</Pierce>
      </Damage>
    </Entity>
  </Resistance>
  <Sound>
    <SoundGroups>
      <attack_ranged>attack/weapon/javelin_attack.xml</attack_ranged>
      <attack_impact_ranged>attack/impact/javelin_impact.xml</attack_impact_ranged>
    </SoundGroups>
  </Sound>
  <Turretable/>
  <UnitAI>
    <Formations datatype="tokens">
      special/formations/skirmish
    </Formations>
  </UnitAI>
</Entity>
