<?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_04 - Marked of Kane - Basics -->
  
 <AIStrategicStateDefinition
	id="KC_04_MOK_UnitCap"
	UnitBuilderSimpleUnitCap="32">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>
   
  <AIBudgetStateDefinition
    id="KC_04_MOK_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_04_MOK_UntPref"
	UnitUpgradeMultiplier="0.0">
   <Heuristic>
      <ConstantHeuristic Weight="999.0"/>
    </Heuristic>
    
	<UnitModifierByName UnitName="MarkedOfKaneTiberiumTrooperSquad" UnitPreferenceOffensiveModifier="50%" UnitPreferenceDefensiveModifier="50%"/>
    <UnitModifierByName UnitName="MOKCyborgInfantrySquad" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="150%"/>
    <UnitModifierByName UnitName="MarkedOfKaneImprovedCyborgInfantrySquad" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="150%"/>
    
    <UnitModifierByName UnitName="MarkedOfKaneVenom" UnitPreferenceOffensiveModifier="10%" UnitPreferenceDefensiveModifier="10%"/>
    
    <UnitModifierByName UnitName="MarkedOfKaneScorpionBuggy" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="MarkedOfKaneAttackBike" UnitPreferenceOffensiveModifier="175%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="MarkedOfKaneRaiderTank" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="MarkedOfKaneStealthTank" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="500%"/>
    <UnitModifierByName UnitName="MarkedOfKaneBeamCannon" UnitPreferenceOffensiveModifier="250%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="MarkedOfKaneMobileArtillery" UnitPreferenceOffensiveModifier="250%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="MarkedOfKaneAvatar" UnitPreferenceOffensiveModifier="300%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="MarkedOfKaneMetaUnit" UnitPreferenceOffensiveModifier="300%" UnitPreferenceDefensiveModifier="100%"/>

    <UnitModifierByName UnitName="MarkedOfKaneShredderTurretHub" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="50%"/>
    <UnitModifierByName UnitName="MarkedOfKaneLaserCannon" UnitPreferenceOffensiveModifier="150%" UnitPreferenceDefensiveModifier="100%"/>
    <UnitModifierByName UnitName="MarkedOfKaneRocketBunker" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="50%"/>
    <UnitModifierByName UnitName="MarkedOfKaneObelisk" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>

  </AIStrategicStateDefinition>
  
  <!-- KC_04 - MARKED OF KANE - Attack States -->
  
<AIStrategicStateDefinition
		id="KC_04_MOK_AttackState_Resources"
		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="MarkedOfKaneRaiderTank" UnitPreferenceOffensiveModifier="125%" UnitPreferenceDefensiveModifier="100%"/>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
		id="KC_04_MOK_AttackState_Production"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <ProductionHaltHeuristic
        BalanceOfPowerWeight="0.75"
        PenetrabilityWeight="0.25">
        <PenetrabilityHeuristic/>
        <BalanceOfPowerHeuristic/>
      </ProductionHaltHeuristic>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="ProductionKillHeuristic" TargetType="PrimaryTarget"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="PrimaryTarget">
      <TeamTemplate MinUnits="3" MaxUnits="5" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
    <UnitModifierByName UnitName="MarkedOfKaneRaiderTank" UnitPreferenceOffensiveModifier="125" UnitPreferenceDefensiveModifier="100%"/>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
		id="KC_04_MOK_AttackState_PowerCut"
		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_04_MOK_AttackState_MiniSiege"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <LateGameHeuristic/>
      <SiegeThresholdHeuristic SiegeMode="true" Threshold="1.5"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="ClosestStructureHeuristic" TargetType="PrimaryTarget"/>
    <Tactic Tactic="SimpleSiege" TargetType="PrimaryTarget">
      <TeamTemplate MinUnits="1" MaxUnits="1" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false">
        <CreateUnits UnitName="MarkedOfKaneBeamCannon"/>
      </TeamTemplate>
      <TeamTemplate MinUnits="3" MaxUnits="3" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
		id="KC_04_MOK_AttackState_Engineer"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <ConstantHeuristic Weight="1.0"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="EngineerHeuristic" TargetType="Engineer"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="Engineer">
      <TeamTemplate MinUnits="2" MaxUnits="8" IncludeKindOf="" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false">
        <CreateUnits UnitName="MarkedOfKaneSaboteur"/>
      </TeamTemplate>
    </Tactic>
  </AIStrategicStateDefinition>
  
  <AIStrategicStateDefinition
		id="KC_04_MOK_AttackState_AirHarass"
		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_04_MOK_AttackState_BombingRun"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <LateGameHeuristic/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="SafestToAirStructureHeuristic" TargetType="BombingAirstrike"/>
    <Tactic Tactic="SimpleAttack" TargetType="BombingAirstrike">
      <TeamTemplate MinUnits="1" IncludeKindOf="CAN_ATTACK AIRCRAFT BOMBER_AIRCRAFT" ExcludeKindOf="" AlwaysRelease="false" AlwaysRecruit="false">
        <CreateUnits UnitName="MarkedOfKaneVertigo"/>
      </TeamTemplate>
    </Tactic>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
		id="KC_04_MOK_AttackState_StealthTank"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <LateGameHeuristic/>
      <IntervalHeuristic IntervalTime="130s" ActiveTime="60s"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="SafestToGroundStructureHeuristic" TargetType="Diversion"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="Diversion">
      <TeamTemplate MinUnits="4" MaxUnits="4" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="" AlwaysRelease="false" AlwaysRecruit="false">
        <CreateUnits UnitName="MarkedOfKaneAvatar"/>
        <CreateUnits UnitName="MarkedOfKaneAvatar"/>
        <CreateUnits UnitName="MarkedOfKaneAvatar"/>
        <CreateUnits UnitName="MarkedOfKaneStealthTank"/>
      </TeamTemplate>
    </Tactic>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
    id="KC_04_MOK_AttackState_FanaticS"
    UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <MiddleGameHeuristic/>
      <IntervalHeuristic IntervalTime="50s" ActiveTime="60s"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="SafestToGroundVehicleHeuristic" TargetType="Diversion"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="Diversion">
      <TeamTemplate MinUnits="3" MaxUnits="3" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="" AlwaysRelease="false" AlwaysRecruit="false">
        <CreateUnits UnitName="MarkedOfKaneFanaticSquad"/>
        <CreateUnits UnitName="MarkedOfKaneFanaticSquad"/>
        <CreateUnits UnitName="MarkedOfKaneFanaticSquad"/>
      </TeamTemplate>
    </Tactic>
  </AIStrategicStateDefinition>

  <AIStrategicStateDefinition
		id="KC_04_MOK_AttackState_Diversion"
		UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <ConstantHeuristic Weight="0.5"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="SafestToGroundStructureHeuristic" TargetType="Diversion"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="Diversion">
      <TeamTemplate MinUnits="2" MaxUnits="2" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
  </AIStrategicStateDefinition>
  
</AssetDeclaration>