<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_infantry_ranged">
  <Attack>
    <Ranged>
      <AttackName>Sling</AttackName>
      <Damage>
        <Pierce>12.5</Pierce>
        <Crush>1.1</Crush>
      </Damage>
      <MaxRange>50</MaxRange>
      <PrepareTime>500</PrepareTime>
      <RepeatTime>1500</RepeatTime>
      <Projectile>
        <Speed>750</Speed>
        <Spread>2.5</Spread>
        <Gravity>45</Gravity>
        <FriendlyFire>false</FriendlyFire>
        <LaunchPoint y="3"/>
      </Projectile>
      <PreferredClasses datatype="tokens">Human</PreferredClasses>
    </Ranged>
  </Attack>
  <Cost>
    <Resources>
      <stone>20</stone>
      <wood>30</wood>
    </Resources>
  </Cost>
  <Identity>
    <VisibleClasses datatype="tokens">Slinger</VisibleClasses>
    <GenericName>Slinger</GenericName>
  </Identity>
  <Loot>
    <stone>3</stone>
    <wood>2</wood>
  </Loot>
  <Sound>
    <SoundGroups>
      <attack_ranged>attack/weapon/sling_attack.xml</attack_ranged>
    </SoundGroups>
  </Sound>
  <UnitMotion>
    <WalkSpeed op="add">0.5</WalkSpeed>
    <Acceleration op="add">3.0</Acceleration>
  </UnitMotion>
</Entity>
