<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_tower">
  <Attack>
    <Ranged>
      <AttackName>Stone</AttackName>
      <Damage>
        <Crush>90</Crush>
        <Pierce>0</Pierce>
      </Damage>
      <MaxRange>80</MaxRange>
      <MinRange>40</MinRange>
      <Origin>
        <X>0</X>
        <Y>15</Y>
        <Z>0</Z>
      </Origin>
      <PrepareTime>4500</PrepareTime>
      <RepeatTime>5000</RepeatTime>
      <Projectile>
        <Speed>40</Speed>
        <Spread>6</Spread>
        <Gravity>9.81</Gravity>
        <FriendlyFire>false</FriendlyFire>
        <LaunchPoint y="3"/>
        <ActorName>props/units/weapons/tower_artillery_projectile.xml</ActorName>
        <ImpactActorName>props/units/weapons/tower_artillery_projectile_impact.xml</ImpactActorName>
        <ImpactAnimationLifetime>0.3</ImpactAnimationLifetime>
      </Projectile>
      <PreferredClasses datatype="tokens">-Human !Organic</PreferredClasses>
    </Ranged>
  </Attack>
  <BuildingAI>
    <DefaultArrowCount>1</DefaultArrowCount>
    <GarrisonArrowMultiplier>0</GarrisonArrowMultiplier>
  </BuildingAI>
  <Cost>
    <BuildTime>200</BuildTime>
    <Resources>
      <wood>200</wood>
      <stone>200</stone>
    </Resources>
  </Cost>
  <Footprint>
    <Square width="10.0" depth="10.0"/>
    <Height>15.0</Height>
  </Footprint>
  <GarrisonHolder>
    <Max>5</Max>
  </GarrisonHolder>
  <Health>
    <Max>1400</Max>
  </Health>
  <Identity>
    <GenericName>Artillery Tower</GenericName>
    <SelectionGroupName>template_structure_defensive_tower_artillery</SelectionGroupName>
    <VisibleClasses datatype="tokens">ArtilleryTower</VisibleClasses>
    <Icon>structures/tower_artillery.png</Icon>
    <Requirements>
      <Techs datatype="tokens">phase_city</Techs>
    </Requirements>
  </Identity>
  <Loot>
    <wood>40</wood>
    <stone>40</stone>
  </Loot>
  <Obstruction>
    <Static width="7.0" depth="7.0"/>
  </Obstruction>
  <ProductionQueue/>
  <Researcher>
    <Technologies datatype="tokens">
      tower_health
    </Technologies>
  </Researcher>
  <Sound>
    <SoundGroups>
      <attack_impact_ranged>attack/impact/siegeprojectilehit.xml</attack_impact_ranged>
      <attack_ranged>attack/siege/ballist_attack.xml</attack_ranged>
    </SoundGroups>
  </Sound>
  <TerritoryInfluence>
    <Root>false</Root>
    <Radius>32</Radius>
    <Weight>30000</Weight>
  </TerritoryInfluence>
</Entity>
