<?xml version="1.0" encoding="utf-8" ?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Tags></Tags>
  <Includes></Includes>
  
<!-- KC_01 - Black Hand - Basics -->
  
 <AIStrategicStateDefinition
	id="KC_01_BH_UnitCap"
	UnitBuilderSimpleUnitCap="28">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>
   
  <AIBudgetStateDefinition
    id="KC_01_BH_Budget">
    <Heuristic>
      <ConstantHeuristic Weight="1.0"/>
    </Heuristic>
    <Budget>
      <AccountShare Account="INVESTMENT" Percent="5%"/>
      <AccountShare Account="SPECIAL_OPERATIONS" Percent="5%"/>
      <AccountShare Account="PRODUCTION" Percent="65%"/>
      <AccountShare Account="DEFENSE" Percent="10%"/>
      <AccountShare Account="TECHNOLOGY" Percent="5%"/>
      <AccountShare Account="SLUSH_FUND" Percent="10%"/>
    </Budget>
  </AIBudgetStateDefinition>
  
  <AIStrategicStateDefinition
	id="KC_01_BH_UntPref"
	UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <ConstantHeuristic Weight="999.0"/>
    </Heuristic>
    <UnitModifierByName UnitName="BlackHandBlackHandSquad" UnitPreferenceOffensiveModifier="150%" UnitPreferenceDefensiveModifier="50%"/>
    <UnitModifierByName UnitName="BlackHandConfessorSquad" UnitPreferenceOffensiveModifier="150%" UnitPreferenceDefensiveModifier="100%"/>    

    <UnitModifierByName UnitName="BlackHandVenom" UnitPreferenceOffensiveModifier="10%" UnitPreferenceDefensiveModifier="10%"/>

    <UnitModifierByName UnitName="BlackHandScorpionBuggy" UnitPreferenceOffensiveModifier="150%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandAttackBike" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandRaiderTank" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandFlameTank" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="75%"/>
    <UnitModifierByName UnitName="BlackHandBeamCannon" UnitPreferenceOffensiveModifier="250%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandMobileArtillery" UnitPreferenceOffensiveModifier="250%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandStealthTank" UnitPreferenceOffensiveModifier="125%" UnitPreferenceDefensiveModifier="400%"/>
    <UnitModifierByName UnitName="BlackHandCustomWarmech" UnitPreferenceOffensiveModifier="300%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandMetaUnit" UnitPreferenceOffensiveModifier="150%" UnitPreferenceDefensiveModifier="100%"/>

    <UnitModifierByName UnitName="BlackHandShredderTurretHub" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="50%"/>
    <UnitModifierByName UnitName="BlackHandLaserCannon" UnitPreferenceOffensiveModifier="150%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandRocketBunker" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="50%"/>
    <UnitModifierByName UnitName="BlackHandObelisk" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
  </AIStrategicStateDefinition>


  
  <!-- KC_01 - Black Hand - Attack States -->
  
    <AIStrategicStateDefinition
    id="KC_01_BH_AttackState_Focused"
    UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <IntervalHeuristic IntervalTime="40s" ActiveTime="120s"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="SafestToGroundStructureHeuristic" TargetType="FocusedTarget"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="FocusedTarget">
      <TeamTemplate MinUnits="8" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
  </AIStrategicStateDefinition>
  
  
    <AIStrategicStateDefinition
	id="KC_01_BH_AttackState_Resource"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <ResourceSqueezeHeuristic
        PenetrabilityWeight="0.25"
        OpponentFundsWeight="0.75">
        <PenetrabilityHeuristic/>
        <OpponentFundsHeuristic/>
      </ResourceSqueezeHeuristic>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="EconomyKillHeuristic" TargetType="PrimaryTarget"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="PrimaryTarget">
      <TeamTemplate MinUnits="3" MaxUnits="5" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
    <UnitModifierByName UnitName="BlackHandRaiderTank" UnitPreferenceOffensiveModifier="125%" UnitPreferenceDefensiveModifier="100%"/>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
	id="KC_01_BH_AttackState_Power"
	UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <OpponentPowerThresholdHeuristic/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="PowerKillHeuristic" TargetType="PrimaryTarget"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="PrimaryTarget">
      <TeamTemplate MinUnits="3" MaxUnits="5" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
	id="KC_01_BH_AttackState_AirStrikes"
	UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <ConstantHeuristic Weight="1.0"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="SafestToAirUnitHeuristic" TargetType="AssaultAirstrike"/>
    <TargetHeuristic TargetHeuristic="SafestToAirPowerPlantHeuristic" TargetType="AssaultAirstrike"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="AssaultAirstrike">
      <TeamTemplate MinUnits="1" IncludeKindOf="CAN_ATTACK AIRCRAFT ASSAULT_AIRCRAFT" ExcludeKindOf="" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
  </AIStrategicStateDefinition>
  
    <AIStrategicStateDefinition
		id="KC_01_BH_AttackState_Overrun"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <OverrunMiddleHeuristic>
        <MiddleGameHeuristic/>
        <LateGameHeuristic/>
      </OverrunMiddleHeuristic>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="ClosestStructureHeuristic" TargetType="PrimaryTarget"/>
    <Tactic Tactic="SimpleAttack" TargetType="PrimaryTarget">
      <TeamTemplate MinUnits="10" MaxUnits="16" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
    <UnitModifierByName UnitName="BlackHandFlameTank" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandMilitantRocketSquad" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="BlackHandMobileArtillery" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="0%"/>
  </AIStrategicStateDefinition>
  
</AssetDeclaration>
