#----------------------------------------------------------------------------
#
# Project      : Call To Power 2
# File type    : Text file
# Description  : The data for goals
# Id           : $Id:$
#
#----------------------------------------------------------------------------
#
# Disclaimer
#
# THIS FILE IS NOT GENERATED OR SUPPORTED BY ACTIVISION.
#
# This material has been developed at apolyton.net by the Apolyton CtP2 
# Source Code Project. Contact the authors at ctp2source@apolyton.net.
#
#----------------------------------------------------------------------------
#
# Modifications from the original Activision code:
#
# - Decreased NotVisibleBonus visible bonus for GOAL_ATTACK and
#   GOAL_HARASS. (13-Aug-2008 Martin Gühmann)
# - Added an InVisionRangeBonus for GOAL_ENSLAVE_SETTLER. (06-Sep-2008 Martin Gühmann)
#
#----------------------------------------------------------------------------

# 53

// Any changes made to the order, additions or subractions to this
// file should be reflected in the strategies.txt file!!

## 0 ##########################################################

GOAL_DEFEND {
  ExecuteIncrementally
  UnGroupFirst

  SquadClass:CanAttack
  SquadClass:CanDefend

  TargetType:City
  TargetOwner:Self

  Execute   ORDER_MOVE

  ThreatBonus            2000
  EnemyValueBonus           0
  AlliedValueBonus       1000
  PowerBonus             -100
  DistanceToHomeBonus     100
  DistanceToEnemyBonus    -10
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus      10000
  NotVisibleBonus           0
  ChokePointBonus         250
  UnexploredBonus     -999999
  ObsoleteArmyBonus      -500
  TreaspassingArmyBonus     0
  GarrisonBonus         10000

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

## 1 ##########################################################

GOAL_SEIGE {
  RallyFirst
  NeverSatisfied
  IsGlobalGoal

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc
  SquadClass:CanCaptureCity
  
  TargetType:City
  TargetOwner:HotEnemy

  Execute   ORDER_ATTACK

  ThreatBonus            -500
  EnemyValueBonus        -250
  AlliedValueBonus       1000
  PowerBonus              500
  DistanceToHomeBonus     -20
  DistanceToEnemyBonus     10
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus     -10000
  NotVisibleBonus           0
  ChokePointBonus           0 // Choke points are not well selected, so they are irrelevant
  UnexploredBonus     -999999
  ObsoleteArmyBonus       100
  TreaspassingArmyBonus     0

  ConnectionBoni
  {
    LandToCloseCityConnectionBonus 1000
    CloseCityConnectionBonus        500
    SmallTargetEmpireSize             3
    SmallTargetEmpireBonus          500
    WeakestEnemyBonus              1000
    BarbarianBonus                 1000
  }

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Offensive

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 2 ##########################################################

GOAL_ATTACK {
  RallyFirst

  SquadClass:CanAttack

  TargetType:AttackUnit
  TargetType:SpecialUnit
  TargetOwner:HotEnemy

  Execute   ORDER_ATTACK

  ThreatBonus               100
  EnemyValueBonus          -250
  AlliedValueBonus         1500
  PowerBonus                500
  DistanceToHomeBonus         0
  DistanceToEnemyBonus        0
  InHomeTerritoryBonus    10000
  NoOwnerTerritoryBonus -200000
  InEnemyTerritoryBonus -200000
  WoundedArmyBonus       -10000
  NotVisibleBonus       -500000
  ChokePointBonus           250
  UnexploredBonus       -999999
  ObsoleteArmyBonus         100
  TreaspassingArmyBonus       0
  InVisionRangeBonus     200000

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Offensive

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 3 ##########################################################

GOAL_HARASS {
  RallyFirst

  SquadClass:CanAttack

  TargetType:AttackUnit
  TargetType:SpecialUnit
  TargetOwner:HotEnemy

  Execute   ORDER_ATTACK

  ThreatBonus             100
  EnemyValueBonus        -500
  AlliedValueBonus       1500
  PowerBonus              500
  DistanceToHomeBonus     -10
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus   1000
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus     -10000
  NotVisibleBonus     -500000
  ChokePointBonus          50
  UnexploredBonus     -999999
  ObsoleteArmyBonus       100
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Harass

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 4 ##########################################################

GOAL_SETTLE_LAND {
  NeedsEscort

  SquadClass:Special

  TargetType:SettleLand
  TargetOwner:Self
  TargetOwner:NoContact

  Execute   ORDER_SETTLE

  ThreatBonus            -100
  EnemyValueBonus        -100
  AlliedValueBonus        100
  PowerBonus              100
  DistanceToHomeBonus     -50
  DistanceToEnemyBonus     -2
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus        -100
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 5 ##########################################################

GOAL_SETTLE_SEA {
  NeedsEscort

  SquadClass:Special

  TargetType:SettleSea
  TargetOwner:Self
  TargetOwner:NoContact

  Execute   ORDER_SETTLE

  ThreatBonus            -100
  EnemyValueBonus        -100
  AlliedValueBonus        100
  PowerBonus              100
  DistanceToHomeBonus     -50
  DistanceToEnemyBonus     -2
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus        -100
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 6 ##########################################################

GOAL_SETTLE_IN_CITY {
  NeedsEscort
  HasTransportersOrNoCoastalCities

  SquadClass:Special

  TargetType:City
  TargetOwner:Self

  Execute   ORDER_SETTLE_IN_CITY

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus           0
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0
  SmallCitySizeBonus   100000

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 7 ##########################################################

GOAL_EXPLORE {
  UnGroupFirst

  SquadClass:CanExplore

  TargetType:Unexplored
  TargetOwner:Self
  TargetOwner:Ally
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy
  TargetOwner:NoContact

  Execute   ORDER_MOVE

  // Try to explore away from home, but close
  // to enemies/foreigners.
  ThreatBonus                0
  EnemyValueBonus            0
  AlliedValueBonus           0
  PowerBonus                 0
  DistanceToHomeBonus      -10
  DistanceToEnemyBonus       0
  InHomeTerritoryBonus    1000
  NoOwnerTerritoryBonus    100
  InEnemyTerritoryBonus   -100
  WoundedArmyBonus        -100
  NotVisibleBonus         1000
  ChokePointBonus           10
  UnexploredBonus         1000
  ObsoleteArmyBonus         10
  TreaspassingArmyBonus -10000

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 8 ##########################################################

GOAL_STEALTH_EXPLORE {
  UnGroupFirst
  
  SquadClass:Stealth
  SquadClass:CanExplore
  
  TargetType:Unexplored
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy
  TargetOwner:NoContact
  TargetOwner:Ally
  TargetOwner:Neutral


  Execute   ORDER_MOVE

  // Try to explore away from home, but close
  // to enemies/foreigners.
  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus     100
  DistanceToEnemyBonus     10
  InHomeTerritoryBonus   1000
  NoOwnerTerritoryBonus  1000
  InEnemyTerritoryBonus  1000
  WoundedArmyBonus          0
  NotVisibleBonus        1000
  ChokePointBonus          10
  UnexploredBonus        1000
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus   100

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 9 ##########################################################

GOAL_ENSLAVE_SETTLER {
  UnGroupFirst

  SquadClass:Special
  SquadClass:Stealth

  TargetType:SpecialUnit
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy
  TargetOwner:NoContact

  Execute   ORDER_ENSLAVE_SETTLER

  ThreatBonus               0
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus              100
  DistanceToHomeBonus      -1
  DistanceToEnemyBonus     -1
  InHomeTerritoryBonus  10000
  NoOwnerTerritoryBonus  5000
  InEnemyTerritoryBonus -1000
  WoundedArmyBonus          0
  NotVisibleBonus       -1000
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0
  InVisionRangeBonus   500000

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 10 ##########################################################

GOAL_SLAVE_RAID {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy
  TargetOwner:NoContact

  Execute   ORDER_SLAVE_RAID

  ThreatBonus                 0
  EnemyValueBonus           100
  AlliedValueBonus          100
  PowerBonus                100
  DistanceToHomeBonus         0
  DistanceToEnemyBonus        0
  InHomeTerritoryBonus        0
  NoOwnerTerritoryBonus       0
  InEnemyTerritoryBonus       0
  WoundedArmyBonus            0
  NotVisibleBonus             0
  ChokePointBonus           100
  UnexploredBonus         10000
  ObsoleteArmyBonus           0
  TreaspassingArmyBonus       0
  SlaveryProtectionBonus  -1000

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 11 ##########################################################

GOAL_CHOKEPOINT {
  RallyFirst

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc

  TargetType:ChokePoint
  TargetOwner:Self

  Execute   ORDER_MOVE

  ThreatBonus             100
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus    -100 
  DistanceToEnemyBonus     -1
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus  1000
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus         100
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus       -50
  TreaspassingArmyBonus   500

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

## 12 ##########################################################

GOAL_PATROL {
  NoTransport

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc

  TargetType:Improvement
  TargetType:Border
  TargetOwner:Self

  Execute   ORDER_MOVE

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus             -100
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus   500

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

## 13 ##########################################################

GOAL_CONVERT_CITY {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_CONVERT

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 14 ##########################################################

GOAL_BIOTERROR_CITY {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy
  TargetOwner:NoContact

  Execute   ORDER_BIO_INFECT

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 15 ##########################################################

GOAL_NANOATTACK_CITY {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_NANO_INFECT

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus              100
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 16 ##########################################################

GOAL_HARASS_CITY {
  RallyFirst

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc

  TargetType:City
  TargetOwner:HotEnemy

  Execute   ORDER_ATTACK

  ThreatBonus             500
  EnemyValueBonus        -500
  AlliedValueBonus       1000
  PowerBonus              500
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         500
  UnexploredBonus     -999999
  ObsoleteArmyBonus       100
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Harass 

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 17 ##########################################################

GOAL_BOMBARD {
  SquadClass:CanDefend
  SquadClass:CanAttack
  SquadClass:CanBombard

  TargetType:AttackUnit
  TargetType:SpecialUnit
  TargetType:City
  TargetOwner:HotEnemy

  Execute   ORDER_BOMBARD

  ThreatBonus            -100
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus              150
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus      -10000
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Bombard

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 18 ##########################################################

GOAL_EXPEL {
  SquadClass:CanAttack
  SquadClass:CanDefend

  TargetType:SpecialUnit
  TargetOwner:Neutral
  TargetOwner:ColdEnemy

  Execute   ORDER_EXPEL

  ThreatBonus            -100
  EnemyValueBonus           0
  AlliedValueBonus         50
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus  10000
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus      -10000
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 19 ##########################################################

GOAL_PILLAGE {
  UnGroupFirst
  NoTransport

  SquadClass:CanAttack

  TargetType:Improvement
  TargetOwner:HotEnemy

  Execute   ORDER_PILLAGE

  ThreatBonus             -25
  EnemyValueBonus          25
  AlliedValueBonus          0
  PowerBonus              100
  DistanceToHomeBonus    -100
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus       -1000
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 20 ##########################################################

GOAL_PIRATE {
  UnGroupFirst
  NoTransport

  SquadClass:CanAttack

  TargetType:TradeRoute
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute   ORDER_INTERCEPT_TRADE

  ThreatBonus            -100
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus              100
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus   1000
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus       -1000
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus     0

  ThreatenType:Pirate
  ThreatenBonus 5000

  ForceMatch:Special
}

## 21 ##########################################################

GOAL_COUNTER_STEALTH {
  NoTransport

  SquadClass:CanAttack

  TargetType:SpecialUnit
  TargetOwner:HotEnemy

  Execute   ORDER_MOVE

  ThreatBonus            -100
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus              100
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 22 ##########################################################

GOAL_GOODY_HUT {
  SquadClass:CanExplore

  TargetType:GoodyHut
  TargetOwner:Self
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_MOVE

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus      -5
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus  10000
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus   500
  InVisionRangeBonus   500000
  NoBarbarianBonus     500000  # Only added if InVisionRangeBonus has been added, previously.
  CanAttackBonus       500000  # Only added if InVisionRangeBonus has been added, previously.

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 23 ##########################################################

GOAL_PLANT_NUKE {
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy

  Execute   ORDER_PLANT_NUKE

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus        -30
  PowerBonus              -30
  DistanceToHomeBonus      10
  DistanceToEnemyBonus     -1
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 24 ##########################################################

GOAL_CREATE_PARK {
  UnGroupFirst
  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy

  Execute   ORDER_CREATE_PARK

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus        -30
  PowerBonus              -30
  DistanceToHomeBonus      10
  DistanceToEnemyBonus     -1
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 25 ##########################################################

GOAL_SOOTHSAY {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy

  Execute   ORDER_SOOTHSAY

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 26 ##########################################################

GOAL_ESTABLISH_EMBASSY {

//  Diplomats are now unexpellable, and the escort is a joke
//  if somebody really wants to kill the diplomat. Otherwise
//  the escort would need to be a serious attack force.
//  The diplomat could still be protected from Barbarians.
//  NeedsEscort // Currently not used in the code

  SquadClass:Special
  SquadClass:CanEstablishEmbassy

  TargetType:City
  TargetOwner:Ally
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:NoContact

  Execute   ORDER_ESTABLISH_EMBASSY

  // We just want to establish embassy at the closest city.
  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus      -1
  DistanceToEnemyBonus      1
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus       -1500
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 27 ##########################################################

GOAL_FRANCHISING {
  UnGroupFirst
  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute   ORDER_FRANCHISE

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus               10
  DistanceToHomeBonus     -10
  DistanceToEnemyBonus     10
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 28 ##########################################################

GOAL_STEAL_TECHNOLOGY {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute   ORDER_STEAL_TECHNOLOGY

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus      -1
  DistanceToEnemyBonus      1
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 29 ##########################################################

GOAL_INVESTIGATE_CITY {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_INVESTIGATE_CITY

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 30 ##########################################################

GOAL_INCITE_REVOLUTION {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute   ORDER_INCITE_REVOLUTION

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 31 ##########################################################

GOAL_INJOIN {
  UnGroupFirst
  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute   ORDER_INJOIN

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 32 ##########################################################

GOAL_ASSASSINATE {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute   ORDER_ASSASSINATE

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 33 ##########################################################

GOAL_UNDERGROUND_RAILWAY {
  UnGroupFirst
  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_UNDERGROUND_RAILWAY

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 34 ##########################################################

GOAL_NUKE_CITY {
  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy

  Execute   ORDER_ATTACK

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus        -30
  PowerBonus              -30
  DistanceToHomeBonus      10
  DistanceToEnemyBonus     -1
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:StealthAttack

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 35 ##########################################################

GOAL_WANDER {
  SquadClass:CanExplore

  TargetType:Random
  TargetOwner:Self
  TargetOwner:Ally
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_MOVE

  ThreatBonus               0
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus    -10
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus           0
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 36 ##########################################################

GOAL_SALLY {
  IsSally
  NoTransport

  SquadClass:CanAttack

  TargetType:AttackUnit
  TargetOwner:HotEnemy

  Execute   ORDER_ATTACK

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus              100
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Offensive
}

## 37 ##########################################################

GOAL_REFORM {
  SquadClass:CanAttack

  TargetType:City
  TargetOwner:Self

  Execute   ORDER_REFORM

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus           0
  ObsoleteArmyBonus       100
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 38 ##########################################################

GOAL_SUE_FRANCHISE {
  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:Self

  Execute   ORDER_SUE_FRANCHISE

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 39 ##########################################################

// Cause military units to pullback towards our city
//
GOAL_RETREAT {
  NeedsRoom
  UnGroupFirst
  ExecuteIncrementally
  InField

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc
  SquadClass:CanCaptureCity

  TargetType:City
  TargetOwner:Self

  Execute   ORDER_MOVE

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       1
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus  1000
  WoundedArmyBonus     100000
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus           0
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus 50000

  ThreatenType:None
  ThreatenBonus 0

  // No force matching for retreat
  ForceMatch:Special 
}

## 40 ##########################################################

// Cause special units to pullback if no other goal
//
GOAL_RETREAT_SPECIAL {
  NeedsRoom
  UnGroupFirst
  ExecuteIncrementally
  InField

  SquadClass:Special

  TargetType:City
  TargetOwner:Self

  Execute   ORDER_MOVE

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus  1000
  WoundedArmyBonus     100000
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus           0
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus   100

  ThreatenType:None
  ThreatenBonus 0

  // No force matching for retreat
  ForceMatch:Special 
}

## 41 ##########################################################

// Destroy other endgame terrain improvements
GOAL_DESTROY_ENDGAME
{
  NoTransport

  SquadClass:CanAttack

  TargetType:Endgame
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_PILLAGE

  ThreatBonus            -100
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus              100
  DistanceToHomeBonus    -100
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus        10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Offensive
}

## 42 ##########################################################

// Defend our endgame terrain improvements
GOAL_PROTECT_ENDGAME
{
  ExecuteIncrementally
  NoTransport

  SquadClass:CanAttack
  SquadClass:CanDefend

  TargetType:Endgame
  TargetOwner:Self

  Execute   ORDER_MOVE

  ThreatBonus             100
  EnemyValueBonus           0
  AlliedValueBonus         50
  PowerBonus             -100
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus       -10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

## 43 ##########################################################

GOAL_ADVERTISING {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_ADVERTISE

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus     -10
  DistanceToEnemyBonus    100
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 44 ##########################################################

GOAL_INCITE_UPRISING {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute   ORDER_INCITE_UPRISING

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 45 ##########################################################

GOAL_POISON_CITY {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy
  TargetOwner:NoContact

  Execute   ORDER_PLAGUE

  ThreatBonus             -50
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 46 ##########################################################

GOAL_THROW_PARTY {

//  Diplomats are now unexpellable, and the escort is a joke
//  if somebody really wants to kill the diplomat. Otherwise
//  the escort would need to be a serious attack force.
//  The diplomat could still be protected from Barbarians.
//  NeedsEscort // Currently not used in the code

  SquadClass:Special
  SquadClass:CanThrowParty

  TargetType:City
  TargetOwner:Ally
  TargetOwner:Neutral
  TargetOwner:ColdEnemy  //WW added
  TargetOwner:NoContact

  Execute   ORDER_THROW_PARTY
 
  // We just want to throw a party at the closest city.
  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus      -1
  DistanceToEnemyBonus      1
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus       -1500
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 47 ##########################################################

GOAL_SUE {
  UnGroupFirst
  SquadClass:Special
  SquadClass:Stealth

  TargetType:SpecialUnit
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_SUE

  ThreatBonus            -100
  EnemyValueBonus           0
  AlliedValueBonus         50
  PowerBonus                0
  DistanceToHomeBonus       2
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus  10000
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 5000

  ForceMatch:Special
}

## 48 ##########################################################

GOAL_INDULGENCE {
  UnGroupFirst
  AvoidWatchfulCity

  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute   ORDER_INDULGENCE

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus          0
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 49 ##########################################################

GOAL_FAITH_HEALING {
  UnGroupFirst
  SquadClass:Special
  SquadClass:Stealth

  TargetType:City
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact //MG added

  Execute   ORDER_FAITH_HEALING

  ThreatBonus             100
  EnemyValueBonus         100
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         100
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

## 50 ##########################################################

GOAL_REFUEL {
  SquadClass:Special

  TargetType:City // Needs to be replaced by CanRefuel
  TargetOwner:Self

  Execute   ORDER_REFUEL

  ThreatBonus               0
  EnemyValueBonus           0
  AlliedValueBonus        100
  PowerBonus                0
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus     100000
  NotVisibleBonus           0
  ChokePointBonus           0
  UnexploredBonus     -999999
  ObsoleteArmyBonus         0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

## 51 ##########################################################

GOAL_PARADROP {

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc
  SquadClass:CanCaptureCity

  TargetType:Improvement
  TargetOwner:HotEnemy

  Execute   ORDER_PARADROP

  ThreatBonus             500
  EnemyValueBonus        -500
  AlliedValueBonus       1000
  PowerBonus              500
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus         500
  UnexploredBonus     -999999
  ObsoleteArmyBonus       100
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Harass 

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## 52 ##########################################################

GOAL_RANGED_ATTACK {
  RallyFirst

  SquadClass:CanAttack

  TargetType:AttackUnit
  TargetType:SpecialUnit
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute   ORDER_RANGED_ATTACK

  ThreatBonus             500
  EnemyValueBonus        -250
  AlliedValueBonus       1000
  PowerBonus            15000
  DistanceToHomeBonus       0
  DistanceToEnemyBonus      0
  InHomeTerritoryBonus      0
  NoOwnerTerritoryBonus     0
  InEnemyTerritoryBonus     0
  WoundedArmyBonus          0
  NotVisibleBonus           0
  ChokePointBonus          50
  UnexploredBonus     -999999
  ObsoleteArmyBonus       100
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Offensive

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

## end ##########################################################
