<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_cavalry_ranged">
  <Attack>
    <Ranged>
      <AttackName>Crossbow</AttackName>
      <Damage>
        <Pierce>34</Pierce>
      </Damage>
      <MaxRange>39</MaxRange>
      <PrepareTime>7500</PrepareTime>
      <RepeatTime>3000</RepeatTime>
      <Projectile>
        <Speed>900</Speed>
        <Spread>1.5</Spread>
        <Gravity>30</Gravity>
        <FriendlyFire>false</FriendlyFire>
        <LaunchPoint y="5"/>
      </Projectile>
      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    </Ranged>
  </Attack>
  <Cost>
    <Resources>
      <wood>50</wood>
    </Resources>
  </Cost>
  <Identity>
    <GenericName>Cavalry Crossbowman</GenericName>
    <VisibleClasses datatype="tokens">Crossbowman</VisibleClasses>
  </Identity>
  <Loot>
    <wood>5</wood>
  </Loot>
  <Sound>
    <SoundGroups>
      <attack_impact_ranged>attack/impact/arrow_impact.xml</attack_impact_ranged>
      <attack_ranged>attack/weapon/bow_attack.xml</attack_ranged>
    </SoundGroups>
  </Sound>
  <UnitMotion>
    <WalkSpeed op="mul">0.9</WalkSpeed>
    <Acceleration op="mul">0.9</Acceleration>
  </UnitMotion>
</Entity>
