//////////////////////////////////////////////////////////
// Forgotten Enemies AIP, revised by Red Devil  2/7/07  //
//////////////////////////////////////////////////////////
[Start]
//scrapCount = 20
consClass = "ivcons"
scavClass = "ivscav"
DLLCanSwitch = false // true = default. If false, DLL orders to switch are ignored.

//[Cheat]
//moneyAmount = 20
//moneyDelay = 60

[IdleDispatcher]
ScavIdleSeconds = 10
UnitIdleSeconds = 420   //6 minutes 40 seconds, so that the ID doesn't pick up the first units that have been built in groups.
MinAttackForce = 3      // min # of idle units before dispatch
MaxAttackForce = 99     // max # of idle units before dispatch
MinMissionSeconds = 90
MaxTargets = 99
MaxBomberTargets = 99 // was 4 from 67g..67j
BomberIdleSeconds = 180 // # of seconds before a bomber is sent out.

[Match]
targetType1 = "ivscout"
attackType1_1 = "ivscout"
//attackType1_2 = "ivscout"
targetType2 = "ivscout"
attackType2_1 = "ivtank"
targetType3 = "ivscout"
attackType3_1 = "ivmisl"
//attackType3_2 = "ivmisl"
targetType4 = "ivscout"
attackType4_1 = "ivmbike"
//attackType4_2 = "ivmbike"

targetType5 = "ivmbike"
attackType5_1 = "ivscout"
attackType5_2 = "ivscout"
targetType6 = "ivmbike"
attackType6_1 = "ivmbike"
attackType6_2 = "ivmbike"
targetType7 = "ivmbike"
attackType7_1 = "ivtank"
targetType8 = "ivmbike"
attackType8_1 = "ivmisl"

targetType9 = "ivmisl"
attackType9_1 = "ivtank"
targetType10 = "ivmisl"
attackType10_1 = "ivscout"
attackType10_2 = "ivscout"
targetType11 = "ivmisl"
attackType11_1 = "ivrckt"

targetType12 = "ivtank"
attackType12_1 = "ivscout"
attackType12_2 = "ivscout"
targetType13 = "ivtank"
attackType13_1 = "ivtank"
attackType13_2 = "ivtank"
targetType14 = "ivtank"
attackType14_1 = "ivmisl"
attackType14_2 = "ivmisl"
targetType15 = "ivtank"
attackType15_1 = "ivmbike"
attackType15_2 = "ivmbike"
attackType15_3 = "ivmbike"

targetType16 = "ivrckt"
attackType16_1 = "ivtank"
attackType16_2 = "ivtank"
targetType17 = "ivrckt"
attackType17_1 = "ivrckt"
attackType17_2 = "ivrckt"
targetType18 = "ivrckt"
attackType18_1 = "ivatank"

targetType19 = "ivatank"
attackType19_1 = "ivtank"
attackType19_2 = "ivtank"
attackType19_3 = "ivtank"
targetType20 = "ivatank"
attackType20_1 = "ivrckt"
attackType20_2 = "ivrckt"
targetType21 = "ivatank"
attackType21_1 = "ivatank"
attackType21_2 = "ivatank"
targetType22 = "ivatank"
attackType22_1 = "ivwalk"
attackType22_2 = "ivwalk"

targetType23 = "ivwalk"
attackType23_1 = "ivrckt"
attackType23_2 = "ivrckt"
targetType24 = "ivwalk"
attackType24_1 = "ivtank"
attackType24_2 = "ivtank"
targetType25 = "ivwalk"
attackType25_1 = "ivwalk"
attackType25_2 = "ivwalk"

targetType26 = "ibgtow"
attackType26_1 = "ivatank"
attackType26_2 = "ivatank"
targetType27 = "ibgtow"
attackType27_1 = "ivrckt"
attackType27_2 = "ivrckt"
targetType28 = "ibgtow"
attackType28_1 = "ivtank"
attackType28_2 = "ivtank"
attackType28_3 = "ivtank"
targetType29 = "ibgtow"
attackType29_1 = "ivmbike"
attackType29_2 = "ivmbike"
attackType29_3 = "ivmbike"

targetType30 = "ivturr"
attackType30_1 = "ivmbike"
attackType30_2 = "ivmbike"
targetType31 = "ivturr"
attackType31_1 = "ivtank"
attackType31_2 = "ivtank"
targetType32 = "ivturr"
attackType32_1 = "ivmisl"
attackType32_2 = "ivmisl"
targetType33 = "ivturr"
attackType33_1 = "ivscout"
attackType33_2 = "ivscout"

targetType34 = "ivscav"
attackType34_1 = "ivmisl"
attackType34_2 = "ivmisl"
targetType35 = "ivscav"
attackType35_1 = "ivscout"
attackType35_2 = "ivscout"
targetType36 = "ivscav"
attackType36_1 = "ivtank"
targetType37 = "ivscav"
attackType37_1 = "ivrckt"

targetType38 = "ibscav"
attackType38_1 = "ivrckt"
targetType39 = "ibscav"
attackType39_1 = "ivtank"
targetType40 = "ibscav"
attackType40_1 = "ivmbike"
attackType40_2 = "ivmbike"
targetType41 = "ibscav"
attackType41_1 = "ivscout"
attackType41_2 = "ivscout"

targetType42 = "ibscup"
attackType42_1 = "ivrckt"
targetType43 = "ibscup"
attackType43_1 = "ivtank"
targetType44 = "ibscup"
attackType44_1 = "ivmbike"
attackType44_2 = "ivmbike"
targetType45 = "ibscup"
attackType45_1 = "ivscout"
attackType45_2 = "ivscout"

targetType46 = "ivcons"
attackType46_1 = "ivmisl"
attackType46_2 = "ivmisl"
targetType47 = "ivcons"
attackType47_1 = "ivtank"
targetType48 = "ivcons"
attackType48_1 = "ivmbike"
attackType48_2 = "ivmbike"
targetType49 = "ivcons"
attackType49_1 = "ivscout"
attackType49_2 = "ivscout"




//===================================== Begin Base Building  ====================================
//===================================== Begin Base Building  ====================================
//===================================== Begin Base Building  ====================================
//===================================== Begin Base Building  ====================================
//===================================== Begin Base Building  ====================================
//===================================== Begin Base Building  ====================================




[Plan1]
planPriority = 3030
planType = "CollectPool"
MaxTtlScrap = 121
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999


[Plan20]
planPriority = 2000
planType = "CollectPool"
MaxTtlScrap = 121
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan25]
planPriority = 1996
planType = "CollectPool"
MaxTtlScrap = 121
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan30]
planPriority = 1994
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan35]
planPriority = 1992
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan40]
planPriority = 1990
planType = "CollectPool"
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan45]
planPriority = 1980
planType = "CollectPool"
MaxTtlScrap = 281
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan50]
planPriority = 1970
planType = "BuildMinimums"
MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildType1 = "ivcons"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan55]
planPriority = 1960
planType = "Upgrade"
MinTtlScrap = 60
//MaxTtlScrap = 161
planCondition = "Exists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ivcons"
planConditionCount2 = 1
buildType = "ibscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

[Plan60]
planPriority = 1950
planType = "BuildMinimums"
MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildType1 = "ivcons"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan65]
planPriority = 1930
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildloc1 = "ipgen1"
buildCount1 = 1
buildType2 = "ibcbun"
buildloc2 = "pgen1"
buildCount2 = 1
buildType3 = "ibgtow"
buildloc3 = "spike1"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan70]
planPriority = 1920
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildloc1 = "ipgen2"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan75]
planPriority = 1910
planType = "BaseBuildMinimums"
MinTtlScrap = 55
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibfact"
buildloc1 = "fact"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan80]
planPriority = 1900
planType = "BaseBuildMinimums"
MinTtlScrap = 50
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibcbun"
buildloc1 = "cbun"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan85]
planPriority = 1890
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen3"
buildCount1 = 1
buildType2 = "ibcbun"
buildLoc2 = "pgen2"
buildCount2 = 1
buildType3 = "ibgtow"
buildLoc3 = "spike2"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan90]
planPriority = 1880
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen4"
buildCount1 = 1
buildType2 = "ibcbun"
buildLoc2 = "pgen3"
buildCount2 = 1
buildType3 = "ibgtow"
buildLoc3 = "spike3"
buildCount3 = 1
ContinueEvenIfFail = true

//[Plan80]
//planPriority = 1870
//planType = "BaseBuildMinimums"
//buildType1 = "ibcbun"
//buildLoc1 = "pgen4"
//buildCount1 = 1
//buildType2 = "ibgtow"
//buildLoc2 = "gt4"
//buildCount2 = 1
//buildType3 = "ibgtow"
//buildLoc3 = "gt4a"
//buildCount3 = 1
//ContinueEvenIfFail = true

[Plan95]
planPriority = 1860
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan110]
planPriority = 1840
planType = "BaseBuildMinimums"
MinTtlScrap = 60
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
buildHeading = 1
buildType1 = "ibsbay"
buildLoc1 = "sbay"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan115]
planPriority = 1830
planType = "Service"
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ivservcpu"
planConditionCount = 1
serviceUnit = "ivservcpu"
unitType1 = "ibrecycpu"
unitType2 = "ibpgen"
unitType3 = "ibgtow"
unitType4 = "ibcbun"
unitType5 = "ibsbay"
unitType6 = "ibarmo"
unitType7 = "ibfact"
unitType8 = "ibtrain"
unitType9 = "ibtcen"
unitType10 = "ibbomb"
unitType11 = "ivbomb"
unitType12 = "ibscav"
unitType13 = "ibscup"
unitType14 = "ivservcpu"
unitType15 = "ivcons"
unitType16 = "ivwalk"
unitType17 = "ivatank"
unitType18 = "ivrckt"
unitType19 = "ivtank"
unitType20 = "ivapc"
unitType21 = "ivscout"
unitType22 = "ivmbike"
unitType23 = "ivmisl"
unitType24 = "ivturr"
//unitType25 = "ivtug"
ContinueEvenIfFail = true

[Plan120]
planPriority = 1820
planType = "Recover"
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibsbay"
serviceUnit = "ibsbay"
unitType1 = "ivservcpu"
unitType2 = "ivcons"
unitType3 = "ivwalk"
unitType4 = "ivatank"
unitType5 = "ivrckt"
unitType6 = "ivtank"
unitType7 = "ivapc"
unitType8 = "ivscout"
unitType9 = "ivmbike"
unitType10 = "ivmisl"
unitType11 = "ivturr"
unitType12 = "ivscout"
unitType13 = "ivrckt"
unitType14 = "ivtank"
unitType15 = "ivatank"
unitType16 = "ivwalk"
unitType17 = "ivrbomb"
//unitType12 = "ivtug"
ContinueEvenIfFail = true

[Plan130]
planPriority = 1800
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan135]
planPriority = 1790
planType = "BaseBuildMinimums"
MinTtlScrap = 50
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
buildType1 = "ibarmo"
buildLoc1 = "armo"
buildCount1 = 1
ContinueEvenIfFail = true

//[Plan120]
//planPriority = 1780
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibpgen"
//buildloc1 = "ipgen7"
//buildCount1 = 1
//ContinueEvenIfFail = true

[Plan140]
planPriority = 1770
planType = "BaseBuildMinimums"
MinTtlScrap = 70
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibarmo"
planConditionCount3 = 1
buildCount1 = 1
buildType1 = "ibtrain"
buildloc1 = "train"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan145]
planPriority = 1760
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan150]
planPriority = 1750
planType = "BaseBuildMinimums"
MinTtlScrap = 80
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibarmo"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibsbay"
planConditionCount3 = 1
buildType1 = "ibtcen"
buildLoc1 = "tcen"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan155]
planPriority = 1740
planType = "BaseBuildMinimums"
MinTtlScrap = 100
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibtrain"
planConditionCount2 = 1
buildType1 = "ibbomb"
buildLoc1 = "bbay"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan160]
planPriority = 1730
planType = "BuildMinimums"
MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildType1 = "ivcons"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan165]
planPriority = 1720
planType = "Upgrade"
MinTtlScrap = 60
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ivcons"
planConditionCount2 = 2
unitType = "ibscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

//[Plan136]
//planPriority = 1710
//planType = "DefendArea"
//targetType = "ibscav"
//defendType1 = "ivturr"
//defendCount1 = 3
//defendType2 = "ivscout"
//defendCount2 = 2
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan138]
//planPriority = 1700
//planType = "DefendArea"
//targetType = "ibscup"
//defendType1 = "ivturr"
//defendCount1 = 3
//defendType2 = "ivscout"
//defendCount2 = 2
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

[Plan170]
planPriority = 1650
planType = "BuildMinimums"
MinTtlScrap = 50
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibsbay"
planConditionCount = 1
buildType1 = "ivservcpu"
buildCount1 = 4
ContinueEvenIfFail = true

/// <<<<<<<<<<<<<<<<<<<<  End Of Base Section  >>>>>>>>>>>>>>>>>>>>>>
/// <<<<<<<<<<<<<<<<<<<<  End Of Base Section  >>>>>>>>>>>>>>>>>>>>>>
/// <<<<<<<<<<<<<<<<<<<<  End Of Base Section  >>>>>>>>>>>>>>>>>>>>>>




// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv
// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv
// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv
// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv


[Plan250]
planPriority = 1640
planType = "Attacker"
MinTtlScrap = 200
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibbomb"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibbomb"
planConditionCount3 = 1
targetType = "ibbomb"
attackType1 = "ivbomb"
buildCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan270]
planPriority = 1620
planType = "Attacker"
MinTtlScrap = 200
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibcbun"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibbomb"
planConditionCount3 = 1
targetType = "ibcbun"
attackType1 = "ivbomb"
buildCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

//  <<<<<<<<<<<<  End of Bomber Build/Attack  >>>>>>>>>>>>>>



[Plan300]
planPriority = 1600
planType = "BuildMinimums"
MinTtlScrap = 160
//MaxTtlScrap = 281
MinCurPower = 0
planCondition2 = "Exists"
planConditionClass2 = "ibscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibfact"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibtcen"
planConditionCount4 = 1
buildType1 = "ivwalk"  // cost = 100
buildCount1 = 6
//doNextOnFail = 0
//loopDelay = 30
//maxLoops = 99

[Plan310]
planPriority = 1596
planType = "BuildMinimums"
MinTtlScrap = 160
//MaxTtlScrap = 281
MinCurPower = 0
planCondition2 = "NotExists"
planConditionClass2 = "ibscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibfact"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibtcen"
planConditionCount4 = 1
buildType1 = "ivwalk"  // cost = 100
buildCount1 = 3
//loopDelay = 30
//maxLoops = 99
//doNextOnFail = 0


[Plan324]
planPriority = 1594
planType = "BuildMinimums"
MinTtlScrap = 140
//MaxTtlScrap = 281
MinCurPower = 0
planCondition2 = "Exists"
planConditionClass2 = "ibscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibfact"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibtcen"
planConditionCount4 = 1
buildType1 = "ivrbomb"  // cost = 75
buildCount1 = 6
//doNextOnFail = 0
//loopDelay = 30
//maxLoops = 99

[Plan322]
planPriority = 1592
planType = "BuildMinimums"
MinTtlScrap = 140
//MaxTtlScrap = 281
MinCurPower = 0
planCondition2 = "NotExists"
planConditionClass2 = "ibscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibfact"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibtcen"
planConditionCount4 = 1
buildType1 = "ivwalk"  // cost = 100
buildCount1 = 3
buildType2 = "ivrbomb"  // cost = 75
buildCount2 = 3
//loopDelay = 30
//maxLoops = 99
//doNextOnFail = 0

[Plan320]
planPriority = 1590
planType = "BuildMinimums"
MinTtlScrap = 140
//MaxTtlScrap = 281
MinCurPower = 0
planCondition2 = "NotExists"
planConditionClass2 = "ibscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibfact"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibtcen"
planConditionCount4 = 1
buildType1 = "ivpuwalk"  // cost = 100
buildCount1 = 2
buildType2 = "ivrbomb"  // cost = 75
buildCount2 = 2
//loopDelay = 30
//maxLoops = 99
//doNextOnFail = 0


[Plan330]
planPriority = 1580
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ivwalk"
planConditionCount2 = 3
planCondition3 = "Exists"
planConditionClass3 = "ibfact"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibtcen"
planConditionCount4 = 1
targetType = "ibgtow"
attackType1 = "ivwalk"
attackType2 = "ivwalk"
attackType3 = "ivwalk"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan340]
planPriority = 1570
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibtcen"
planConditionCount3 = 1
targetType = "ibscup"
attackType1 = "ivwalk"
attackType2 = "ivwalk"
attackType3 = "ivwalk"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=99


[Plan350]
planPriority = 1560
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibtcen"
planConditionCount3 = 1
targetType = "ibscav"
attackType1 = "ivwalk"
attackType2 = "ivwalk"
attackType3 = "ivwalk"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan360]
planPriority = 1550
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibtcen"
planConditionCount3 = 1
targetType = "ibgtow"
attackType1 = "ivrbomb"
//attackCount1 = 4
attackType2 = "ivrbomb"
attackType3 = "ivrbomb"
//attackType4 = "ivrbomb"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan370]
planPriority = 1540
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 2281
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibtcen"
planConditionCount3 = 1
targetType = "ibscup"
attackType1 = "ivrbomb"
//attackCount1 = 4
attackType2 = "ivrbomb"
attackType3 = "ivrbomb"
//attackType4 = "ivrbomb"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan380]
planPriority = 1530
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibtcen"
planConditionCount3 = 1
targetType = "ibscav"
attackType1 = "ivrbomb"
//attackCount1 = 4
attackType2 = "ivrbomb"
attackType3 = "ivrbomb"
//attackType4 = "ivrbomb"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999



//  <<<<<<<<<<<<  End of Walker/Hammer Build/Attack  >>>>>>>>>>>>>>


[Plan400]
planPriority = 1520
planType = "BuildMinimums"
MinTtlScrap = 120
MaxTtlScrap = 199
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibsbay"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivatank"  // cost = 70
buildCount1 = 6
//loopDelay = 30
//maxLoops = 99
//doNextOnFail = 0

[Plan410]
planPriority = 1510
planType = "BuildMinimums"
MinTtlScrap = 120
MaxTtlScrap = 199
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibsbay"
planConditionCount3 = 1
planCondition4 = "NotExists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivatank"  // cost = 70
buildCount1 = 3
//loopDelay = 30
//maxLoops = 99
//doNextOnFail = 0

[Plan420]
planPriority = 1500
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibsbay"
planConditionCount4 = 1
targetType = "ibgtow"
attackType1 = "ivatank"
//attackCount1 = 3
attackType2 = "ivatank"
attackType3 = "ivatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan430]
planPriority = 1490
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibsbay"
planConditionCount4 = 1
targetType = "ibscup"
attackType1 = "ivatank"
//attackCount1 = 3
attackType2 = "ivatank"
attackType3 = "ivatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan440]
planPriority = 1480
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibsbay"
planConditionCount4 = 1
targetType = "ibscav"
attackType1 = "ivatank"
//attackCount1 = 3
attackType2 = "ivatank"
attackType3 = "ivatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan450]
planPriority = 1470
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 179
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibpgen"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibsbay"
planConditionCount4 = 1
targetType = "powergen"
attackType1 = "ivatank"
//attackCount1 = 3
attackType2 = "ivatank"
attackType3 = "ivatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan460]
planPriority = 1460
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 179
MinCurPower = 0
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibsbay"
planConditionCount4 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "ivpuatank"
buildCount1 = 2
// Sent to portal by DLL (hold/attack)
buildType2 = "ivputank"
buildCount2 = 2
//loopDelay = 30
//maxLoops = 99
//doNextOnFail = 0



//  <<<<<<<<<<<<  End of Assault Tank Build/Attack  >>>>>>>>>>>>>>>



[Plan470]
planPriority = 1450
planType = "BuildMinimums"
MinTtlScrap = 100
MaxTtlScrap = 159
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibarmo"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivrckt"  // cost = 65
buildCount1 = 6
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan480]
planPriority = 1440
planType = "BuildMinimums"
MinTtlScrap = 100
MaxTtlScrap = 159
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibarmo"
planConditionCount3 = 1
planCondition4 = "NotExists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivrckt"  // cost = 65
buildCount1 = 3
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan490]
planPriority = 1430
planType = "BuildMinimums"
MinTtlScrap = 100
MaxTtlScrap = 159
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibarmo"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "ivpurckt"
buildCount1 = 2
// Sent to portal by DLL (hold/attack)
buildType2 = "ivputank"
buildCount2 = 2
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan500]
planPriority = 1420
planType = "Attacker"
//MinTtlScrap = 140
//MaxTtlScrap = 159
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibarmo"
planConditionCount4 = 1
targetType = "ibgtow"
attackType1 = "ivrckt"  // cost = 65
//attackCount1 = 3
attackType2 = "ivrckt"
attackType3 = "ivrckt"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan510]
planPriority = 1410
planType = "Attacker"
//MinTtlScrap = 140
//MaxTtlScrap = 159
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibarmo"
planConditionCount4 = 1
targetType = "ibscup"
attackType1 = "ivrckt"  // cost = 65
//attackCount1 = 3
attackType2 = "ivrckt"
attackType3 = "ivrckt"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan520]
planPriority = 1400
planType = "Attacker"
//MinTtlScrap = 140
//MaxTtlScrap = 159
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibarmo"
planConditionCount4 = 1
targetType = "ibscav"
attackType1 = "ivrckt"  // cost = 65
//attackCount1 = 3 
attackType2 = "ivrckt"
attackType3 = "ivrckt"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true



//  <<<<<<<<<<<< End of Rocket Tank Build/Attack  >>>>>>>>>>>>>>>>>



[Plan530]
planPriority = 1390
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 139
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivtank"  // cost = 55
buildCount1 = 6
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan540]
planPriority = 1380
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 139
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition4 = "NotExists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivtank"  // cost = 55
buildCount1 = 3
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan550]
planPriority = 1340
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 139
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "ivputank"
buildCount1 = 3
//maxLoops = 99
//loopDelay = 30
doNextOnFail = 0


[Plan560]
planPriority = 1370
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
targetType = "ibscav"
attackType1 = "ivtank"
//attackCount1 = 3
attackType2 = "ivtank"
attackType3 = "ivtank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan570]
planPriority = 1360
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
targetType = "ibscup"
attackType1 = "ivtank"
//attackCount1 = 3
attackType2 = "ivtank"
attackType3 = "ivtank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan580]
planPriority = 1350
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibcbun"
planConditionCount3 = 1
targetType = "ibfact"
attackType1 = "ivtank"
//attackCount1 = 3
attackType2 = "ivtank"
attackType3 = "ivtank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true



//  <<<<<<<<<<<<  End of Sabre Tank Build/Attack  >>>>>>>>>>>>>>



[Plan590]
planPriority = 1330
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 119
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibtrain"
planConditionCount2 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivapc"  // cost = 50
buildCount1 = 6
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan600]
planPriority = 1320
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 119
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibtrain"
planConditionCount2 = 1
planCondition4 = "NotExists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivapc"  // cost = 50
buildCount1 = 3
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan610]
planPriority = 1310
planType = "Attacker"
//MinTtlScrap = 100
//MaxTtlScrap = 119
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
targetType = "ibscav"
attackType1 = "ivapc"
//attackCount1 = 3
attackType2 = "ivapc"
attackType3 = "ivapc"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan620]
planPriority = 1300
planType = "Attacker"
//MinTtlScrap = 100
//MaxTtlScrap = 119
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
targetType = "ibscup"
attackType1 = "ivapc"
//attackcount1 = 3
attackType2 = "ivapc"
attackType3 = "ivapc"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan630]
planPriority = 1290
planType = "Attacker"
//MinTtlScrap = 100
//MaxTtlScrap = 119
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
targetType = "ibfact"
attackType1 = "ivapc"
//attackcount1 = 3
attackType2 = "ivapc"
attackType3 = "ivapc"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true



//  <<<<<<<<<<<<  End of APC Build/Attack  >>>>>>>>>>>>>>


[Plan640]
planPriority = 1280
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 99
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivscout"  // cost = 50
buildCount1 = 6
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan650]
planPriority = 1270
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 99
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
planCondition4 = "NotExists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivscout"  // cost = 50
buildCount1 = 4
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan660]
planPriority = 1260
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 99
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "ivpuscout"
buildCount1 = 4
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan670]
planPriority = 1250
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
targetType = "ibscav"
attackType1 = "ivscout"
//attackcount1 = 4
attackType2 = "ivscout"
attackType3 = "ivscout"
//attackType4 = "ivscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan680]
planPriority = 1240
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
targetType = "ibscup"
attackType1 = "ivscout"
//attackcount1 = 4
attackType2 = "ivscout"
attackType3 = "ivscout"
//attackType4 = "ivscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan690]
planPriority = 1230
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ivcons"
planConditionCount = 1
targetType = "ivcons"
attackType1 = "ivscout"
//attackcount1 = 4
attackType2 = "ivscout"
attackType3 = "ivscout"
//attackType4 = "ivscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan700]
planPriority = 1220
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
targetType = "ibscav"
attackType1 = "ivscout"
//attackcount1 = 4
attackType2 = "ivscout"
attackType3 = "ivscout"
//attackType4 = "ivscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true


//  <<<<<<<<<<<<  End of Scout Build/Attack  >>>>>>>>>>>>>>



[Plan710]
planPriority = 1210
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 99
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibarmo"
planConditionCount2 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivmbike"  // cost = 45
buildCount1 = 6
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan720]
planPriority = 1200
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 99
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibarmo"
planConditionCount2 = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivmbike"  // cost = 45
buildCount1 = 3
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan730]
planPriority = 1190
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
targetType = "ibscav"
attackType1 = "ivmbike"
//attackcount1 = 3
attackType2 = "ivmbike"
attackType3 = "ivmbike"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan740]
planPriority = 1180
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
targetType = "ibscup"
attackType1 = "ivmbike"
//attackcount1 = 3
attackType2 = "ivmbike"
attackType3 = "ivmbike"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan750]
planPriority = 1170
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibpgen"
planConditionCount = 1
targetType = "powergen"
attackType1 = "ivmbike"
//attackcount1 = 3
attackType2 = "ivmbike"
attackType3 = "ivmbike"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true


//  <<<<<<<<<<<<  End of Mortar Bike Build/Attack  >>>>>>>>>>>>>>


[Plan760]
planPriority = 1160
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 59
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivmisl"  // cost = 45
buildCount1 = 6
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan770]
planPriority = 1150
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 59
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition4 = "NotExists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivmisl"  // cost = 45
buildCount1 = 3
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan780]
planPriority = 1140
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 59
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition4 = "Exists"
planConditionClass4 = "ibscup"
planConditionCount4 = 1
buildType1 = "ivpumisl"
buildCount1 = 4
//loopDelay = 30
//maxLoops = 99
doNextOnFail = 0

[Plan790]
planPriority = 1130
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
targetType = "ibscav"
attackType1 = "ivmisl"
//attackcount1 = 3
attackType2 = "ivmisl"
attackType3 = "ivmisl"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan800]
planPriority = 1120
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
targetType = "ibscup"
attackType1 = "ivmisl"
//attackcount1 = 3
attackType2 = "ivmisl"
attackType3 = "ivmisl"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan810]
planPriority = 1110
planType = "Attacker"
//MinTtlScrap = 45
////MaxTtlScrap = 59
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibpgen"
planConditionCount = 1
targetType = "powergen"
attackType1 = "ivmisl"
//attackcount1 = 3
attackType2 = "ivmisl"
attackType3 = "ivmisl"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true



//  <<<<<<<<<<<<<<<<<<<< End Missile Scout Build/Attack  >>>>>>>>>>>>>>>>>>>>>>


[Plan820]
planPriority = 900
planType = "CollectPool"
//MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
defendType1 = "ivscout"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan830]
planPriority = 850
planType = "CollectField"
//MaxTtlScrap = 81
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
defendType1 = "ivscout"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 10

[Plan840]
planPriority = 800
planType = "BuildMinimums"
MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildType1 = "ivcons"
buildCount1 = 3
ContinueEvenIfFail = true

//[Plan850]
//planPriority = 750
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibpgen"
//buildLoc1 = "ipgen8"
//buildCount1 = 1
//ContinueEvenIfFail = true

[Plan860]
planPriority = 700
planType = "CollectPool"
//MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan870]
planPriority = 650
planType = "CollectField"
//MaxTtlScrap = 81
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan880]
planPriority = 600
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen5"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan890]
planPriority = 550
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen6"
buildCount1 = 1
buildType2 = "ibgtow"
buildLoc2 = "def1"
buildCount2 = 1
buildType3 = "ibgtow"
buildLoc3 = "def2"
buildCount3 = 1
buildType4 = "ibgtow"
buildLoc4 = "def3"
buildCount4 = 1
ContinueEvenIfFail = true

//[Plan900]
//planPriority = 500
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibcbun"
//buildLoc1 = "pgen5"
//buildCount1 = 1
//buildType2 = "ibgtow"
//buildLoc2 = "gt5"
//buildCount2 = 1
//ContinueEvenIfFail = true

//[Plan910]
//planPriority = 450
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibpgen"
//buildLoc1 = "ipgen9"
//buildCount1 = 1
//buildType2 = "ibcbun"
//buildLoc2 = "pgen6"
//buildCount2 = 1
//buildType3 = "ibgtow"
//buildLoc3 = "gt6"
//buildCount3 = 1
//ContinueEvenIfFail = true

[Plan920]
planPriority = 400
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan930]
planPriority = 350
planType = "CollectField"
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan940]
planPriority = 300
planType = "Upgrade"
MinTtlScrap = 60
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ivcons"
planConditionCount2 = 3
buildType = "ibscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

//[Plan950]
//planPriority = 250
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibcbun"
//buildLoc1 = "pgen7"
//buildCount1 = 1
//buildType2 = "ibgtow"
//buildLoc2 = "gt7"
//buildCount2 = 1
//ContinueEvenIfFail = true

//[Plan960]
//planPriority = 200
//planType = "ClearArea"
//targetType = "ibscav"
//maxUnits = 3
//sendWhenBuilt = 1
//ContinueEvenIfFail = true

//[Plan970]
//planPriority = 150
//planType = "ClearArea"
//targetType = "ibscup"
//maxUnits = 3
//sendWhenBuilt = 1
//ContinueEvenIfFail = true

//[Plan980]
//planPriority = 100
//planType = "Defender"
//targetType = "ibscav"
//defendType1 = "ivscout"
//defendCount1 = 3
//defendType2 = "ivtank"
//defendCount2 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan990]
//planPriority = 50
//planType = "DefendArea"
//targetType = "ibscav"
//defendType1 = "ivturr"
//defendCount1 = 3
//defendType2 = "ivscout"
//defendCount2 = 2
//defendType3 = "ivtank"
//defendCount3 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan995]
//planPriority = 40
//planType = "DefendArea"
//targetType = "ibscup"
//defendType1 = "ivturr"
//defendCount1 = 3
//defendType2 = "ivscout"
//defendCount2 = 2
//defendType3 = "ivtank"
//defendCount3 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan1000]
//planPriority = 30
//planType = "DistributeUnits"
//ContinueEvenIfFail = true
