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

//[Cheat]
moneyAmount = 60
moneyDelay = 60

[IdleDispatcher]
ScavIdleSeconds = 10
UnitIdleSeconds = 120   // 6 minutes 60 seconds, so that the ID doesn't pick up the first units that have been built in large 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 = "fvscout"
//attackType1_2 = "fvscout"
targetType2 = "ivscout"
attackType2_1 = "fvtank"
targetType3 = "ivscout"
attackType3_1 = "fvarch"
//attackType3_2 = "fvarch"
targetType4 = "ivscout"
attackType4_1 = "fvsent"
//attackType4_2 = "fvsent"

targetType5 = "ivmbike"
attackType5_1 = "fvscout"
attackType5_2 = "fvscout"
targetType6 = "ivmbike"
attackType6_1 = "fvsent"
attackType6_2 = "fvsent"
targetType7 = "ivmbike"
attackType7_1 = "fvtank"
targetType8 = "fvsent"
attackType8_1 = "fvarch"

targetType9 = "ivmisl"
attackType9_1 = "fvtank"
targetType10 = "ivmisl"
attackType10_1 = "fvscout"
attackType10_2 = "fvscout"
targetType11 = "ivmisl"
attackType11_1 = "fvarch"

targetType12 = "ivtank"
attackType12_1 = "fvscout"
attackType12_2 = "fvscout"
targetType13 = "ivtank"
attackType13_1 = "fvtank"
attackType13_2 = "fvtank"
targetType14 = "ivtank"
attackType14_1 = "fvarch"
attackType14_2 = "fvarch"
targetType15 = "ivtank"
attackType15_1 = "fvsent"
attackType15_2 = "fvsent"
attackType15_3 = "fvsent"

targetType16 = "ivrckt"
attackType16_1 = "fvtank"
attackType16_2 = "fvtank"
targetType17 = "ivrckt"
attackType17_1 = "fvarch"
attackType17_2 = "fvarch"
targetType18 = "ivrckt"
attackType18_1 = "fvatank"

targetType19 = "ivatank"
attackType19_1 = "fvtank"
attackType19_2 = "fvtank"
attackType19_3 = "fvtank"
targetType20 = "ivatank"
attackType20_1 = "fvarch"
attackType20_2 = "fvarch"
targetType21 = "ivatank"
attackType21_1 = "fvatank"
attackType21_2 = "fvatank"
targetType22 = "ivatank"
attackType22_1 = "fvwalk"
attackType22_2 = "fvwalk"

targetType23 = "ivwalk"
attackType23_1 = "fvarch"
attackType23_2 = "fvarch"
targetType24 = "ivwalk"
attackType24_1 = "fvtank"
attackType24_2 = "fvtank"
targetType25 = "ivwalk"
attackType25_1 = "fvwalk"
attackType25_2 = "fvwalk"

targetType26 = "ibgtow"
attackType26_1 = "fvatank"
attackType26_2 = "fvatank"
targetType27 = "ibgtow"
attackType27_1 = "fvarch"
attackType27_2 = "fvarch"
targetType28 = "ibgtow"
attackType28_1 = "fvtank"
attackType28_2 = "fvtank"
attackType28_3 = "fvtank"
targetType29 = "ibgtow"
attackType29_1 = "fvsent"
attackType29_2 = "fvsent"
attackType29_3 = "fvsent"

targetType30 = "ivturr"
attackType30_1 = "fvsent"
attackType30_2 = "fvsent"
targetType31 = "ivturr"
attackType31_1 = "fvtank"
attackType31_2 = "fvtank"
targetType32 = "ivturr"
attackType32_1 = "fvarch"
attackType32_2 = "fvarch"
targetType33 = "ivturr"
attackType33_1 = "fvscout"
attackType33_2 = "fvscout"

targetType34 = "ivscav"
attackType34_1 = "fvarch"
attackType34_2 = "fvarch"
targetType35 = "ivscav"
attackType35_1 = "fvscout"
attackType35_2 = "fvscout"
targetType36 = "ivscav"
attackType36_1 = "fvtank"
targetType37 = "ivscav"
attackType37_1 = "fvarch"

targetType38 = "ibscav"
attackType38_1 = "fvarch"
targetType39 = "ibscav"
attackType39_1 = "fvtank"
targetType40 = "ibscav"
attackType40_1 = "fvsent"
attackType40_2 = "fvsent"
targetType41 = "ibscav"
attackType41_1 = "fvscout"
attackType41_2 = "fvscout"

targetType42 = "ibscup"
attackType42_1 = "fvarch"
targetType43 = "ibscup"
attackType43_1 = "fvtank"
targetType44 = "ibscup"
attackType44_1 = "fvsent"
attackType44_2 = "fvsent"
targetType45 = "ibscup"
attackType45_1 = "fvscout"
attackType45_2 = "fvscout"

targetType46 = "ivcons"
attackType46_1 = "fvarch"
attackType46_2 = "fvarch"
targetType47 = "ivcons"
attackType47_1 = "fvtank"
targetType48 = "ivcons"
attackType48_1 = "fvsent"
attackType48_2 = "fvsent"
targetType49 = "ivcons"
attackType49_1 = "fvscout"
attackType49_2 = "fvscout"




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


[Plan10]
planPriority = 5000
planType = "BuildMinimums"
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
buildType1 = "fvscav"  // cost = 20
buildCount1 = 2
doNextOnFail = 0


//  <<<<<<<<<<<<  Start of Drone Build/Attack  >>>>>>>>>>>>>>

Requirements: Matriarch (fbrecycpu)


[Plan20]
planPriority = 4090
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCondition2 = "NotExists"
planConditionClass2 = "fbscup"
planConditionCount2 = 1
buildType1 = "fvscout"  // cost = 50
buildCount1 = 4
ContinueEvenIfFail = true

[Plan22]
planPriority = 4080
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbscup"
planConditionCount2 = 1
buildType1 = "fvscout"  // cost = 50
buildCount1 = 6
ContinueEvenIfFail = true

[Plan24]
planPriority = 4070
planType = "BuildMinimums"
MinTtlScrap = 45
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "hbport"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbrecycpu"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbscup"
planConditionCount3 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "fvpuscout"
buildCount1 = 2
ContinueEvenIfFail = true


[Plan26]
planPriority = 4060
planType = "CollectPool"
//MaxTtlScrap = 40
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
defendType1 = "fvscout"
defendCount1 = 2
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999


[Plan28]
planPriority = 4050
planType = "CollectPool"
//MaxTtlScrap = 40
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
defendType1 = "fvscout"
defendCount1 = 2
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan30]
planPriority = 4040
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbrecycpu"
planConditionCount2 = 1
targetType = "ibscav"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
//attackType4 = "fvscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan32]
planPriority = 4030
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbrecycpu"
planConditionCount2 = 1
targetType = "ibscup"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
attackType4 = "fvscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan34]
planPriority = 4020
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbrecycpu"
planConditionCount2 = 1
targetType = "ivcons"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
attackType4 = "fvscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan36]
planPriority = 4010
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "powergen"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbrecycpu"
planConditionCount2 = 1
targetType = "powergen"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
attackType4 = "fvscout"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true


[Plan38]
planPriority = 4000
planType = "CollectPool"
MaxTtlScrap = 40
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

//  <<<<<<<<<<<<  End of Drone Build/Attack  >>>>>>>>>>>>>>


//  <<<<<<<<<<<<  Start of Sentry Build/Attack  >>>>>>>>>>>>>>

Requirements: Kiln (fbkiln)

[Plan40]
planPriority = 3090
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbkiln"
planConditionCount = 1
planCondition4 = "Exists"
planConditionClass4 = "fbscup"
planConditionCount4 = 1
buildType1 = "fvsent"  // cost = 50
buildCount1 = 6
ContinueEvenIfFail = true

[Plan42]
planPriority = 3080
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbkiln"
planConditionCount = 1
planCondition4 = "Exists"
planConditionClass4 = "fbscup"
planConditionCount4 = 1
buildType1 = "fvsent"  // cost = 50
buildCount1 = 3
ContinueEvenIfFail = true

[Plan44]
planPriority = 3070
planType = "CollectPool"
MinTtlScrap = 60
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan46]
planPriority = 3060
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
targetType = "ibscav"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan48]
planPriority = 3050
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
targetType = "ibscup"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan50]
planPriority = 3040
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "powergen"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
targetType = "powergen"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

//  <<<<<<<<<<<<  End of Sentry Build/Attack  >>>>>>>>>>>>>>

[Plan70]
planPriority = 3000
planType = "CollectPool"
MaxTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan75]
planPriority = 2070
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
buildType1 = "fvcons"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan70]
planPriority = 2060
planType = "Upgrade"
MinTtlScrap = 80
//MaxTtlScrap = 161
planCondition = "Exists"
planConditionClass = "fbscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fvcons"
planConditionCount2 = 1
unitType = "fbscav"
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

[Plan75]
planPriority = 2050
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
buildType1 = "fvcons"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan80]
planPriority = 2000
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//mincurrPower = 0
planCondition = "Exists"
planConditionClass = "fvcons"
planConditionCount = 1
planCondition = "NotExists"
planConditionClass = "fbforg"
planConditionCount = 1
buildHeading = 3
buildType1 = "fbkiln"
buildloc1 = "fact"
buildCount1 = 1
ContinueEvenIfFail = true


[Plan85]
planPriority = 1980
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//mincurrPower = 0
planCondition = "Exists"
planConditionClass = "fvcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
planCondition3 = "NotExists"
planConditionClass3 = "fbantm"
planConditionCount3 = 1
buildCount1 = 1
buildType1 = "fbantm"
buildloc1 = "antm"
buildCount1 = 1
ContinueEvenIfFail = true

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

[Plan95]
planPriority = 1960
MinTtlScrap = 100
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan110]
planPriority = 1940
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fvcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
planCondition3 = "NotExists"
planConditionClass3 = "fbdowe"
planConditionCount3 = 1
buildHeading = 1
buildType1 = "fbdowe"
buildLoc1 = "sbay"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan115]
planPriority = 1930
planType = "Service"
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fvservcpu"
planConditionCount = 1
serviceUnit = "fvservcpu"
unitType1 = "fbrecycpu"
unitType2 = "fbspir"
unitType3 = "fbkiln"
unitType4 = "fbforg"
unitType5 = "fbdowe"
unitType6 = "fbstro"
unitType7 = "fbantm"
unitType8 = "fbover"
unitType9 = "fbscav"
unitType10 = "fbscup"
unitType11 = "fvservcpu"
unitType12 = "fvcons"
unitType13 = "fvwalk"
unitType14 = "fvatank"
unitType15 = "fvtank"
unitType16 = "fvartl"
unitType17 = "fvscout"
unitType18 = "fvsent"
unitType19 = "fvarch"
unitType20 = "fvturr"
unitType21 = "fvrbomb"
unitType22 = "fblung"
ContinueEvenIfFail = true

[Plan120]
planPriority = 1920
planType = "Recover"
//mincurrPower = 0
planCondition = "Exists"
planConditionClass = "fbdowe"
serviceUnit = "fbdowe"
unitType1 = "fvservcpu"
unitType2 = "fvcons"
unitType3 = "fvwalk"
unitType4 = "fvatank"
unitType5 = "fvartl"
unitType6 = "fvscout"
unitType7 = "fvsent"
unitType8 = "fvarch"
unitType9 = "fvturr"
unitType10 = "fvwalk"
unitType11 = "fvrbomb"
unitType12 = "fvscav"
//unitType13 = "fvtug"
ContinueEvenIfFail = true

[Plan130]
planPriority = 1900
MinTtlScrap = 120
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan140]
planPriority = 1880
planType = "Upgrade"
MinTtlScrap = 80
//MaxTtlScrap = 161
planCondition = "Exists"
planConditionClass = "fbkiln"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fvcons"
planConditionCount2 = 1
planCondition3 = "NotExists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
unitType = "fbkiln"
ContinueEvenIfFail = true

[Plan150]
planPriority = 1870
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fvcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbdowe"
planConditionCount3 = 1
buildType1 = "fbstro"
buildloc1 = "stro"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan170]
planPriority = 1850
MinTtlScrap = 140
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan180]
planPriority = 1840
planType = "Upgrade"
MinTtlScrap = 80
//MaxTtlScrap = 161
planCondition = "Exists"
planConditionClass = "fbantm"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fvcons"
planConditionCount3 = 1
planCondition4 = "NotExists"
planConditionClass4 = "fbover"
planConditionCount4 = 1
unitType = "fbantm"
ContinueEvenIfFail = true

[Plan190]
planPriority = 1830
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
buildType1 = "fvcons"
buildCount1 = 3
ContinueEvenIfFail = true

//[Plan210]
//planPriority = 1810
//MinTtlScrap = 80
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "fvcons"
//planConditionCount = 1
//buildType1 = "fbspir"
//buildloc1 = "spike1"
//buildCount1 = 1
//ContinueEvenIfFail = true

//[Plan220]
//planPriority = 1800
//MinTtlScrap = 80
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "fvcons"
//planConditionCount = 1
//buildType1 = "fbspir"
//buildLoc1 = "spike2"
//buildCount1 = 1
//ContinueEvenIfFail = true

//[Plan230]
//planPriority = 1790
//MinTtlScrap = 80
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "fvcons"
//planConditionCount = 1
//buildType1 = "fbspir"
//buildLoc1 = "spike3"
//buildCount1 = 1
//ContinueEvenIfFail = true

[Plan250]
planPriority = 1775
planType = "Upgrade"
MinTtlScrap = 80
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "fbscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fvcons"
planConditionCount2 = 3
unitType = "fbscav"
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

//[Plan240]
//planPriority = 1770
//planType = "DefendArea"
//targetType = "fbscav"
//defendType1 = "fvturr"
//defendCount1 = 3
//defendType2 = "fvscout"
//defendCount2 = 2
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan250]
//planPriority = 1765
//planType = "DefendArea"
//targetType = "ibscup"
//defendType1 = "fvturr"
//defendCount1 = 3
//defendType2 = "fvscout"
//defendCount2 = 2
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

[Plan260]
planPriority = 1760
planType = "BuildMinimums"
MinTtlScrap = 50
//mincurrPower = 0
planCondition = "Exists"
planConditionClass = "fbdowe"
planConditionCount = 1
buildType1 = "fvservcpu"
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



//  <<<<<<<<<<<<  Start of Titan Build/Attack  >>>>>>>>>>>>>>

Requirements: Forge (fbforg), Overseer (fbover), and Stronghold (fbstro)

//planCompare Settings

// 0: equals. 
// 1: not equals 
// 2: < 
// 3: <= 
// 4: > 
// 5: >=


[Plan300]

// 45 seconds for 90 scrap = 3 Titans in 2 minutes 15 seconds

planPriority = 1760
planType = "BuildMinimums"
MinTtlScrap = 100
//MaxTtlScrap = 199
//mincurrPower = 0
planCondition = "Exists"
planConditionClass = "fbscup"
planConditionCount = 5
//planCompare = 5
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbstro"
planConditionCount4 = 1
buildType1 = "fvatank"		// cost = 90
buildCount1 = 6	
ContinueEvenIfFail = true


[Plan325]

// 100 seconds for 90 scrap = 3 Titans in 5 minutes

planPriority = 1735
planType = "BuildMinimums"
MinTtlScrap = 100
//MaxTtlScrap = 199
//mincurrPower = 0
planCondition = "Exists"
planConditionClass = "fbscup"
planConditionCount = 0	
//planCompare = 0
planCondition2 = "Exists"
planConditionClass2 = "fbscav"
planConditionCount2 = 5
//planCompare2 = 5
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbover"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbstro"
planConditionCount5 = 1
buildType1 = "fvatank"		// cost = 90
buildCount1 = 3
ContinueEvenIfFail = true


[Plan420]
planPriority = 1730
planType = "BuildMinimums"
MinTtlScrap = 100
//MaxTtlScrap = 179
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "hbport"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbstro"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbscup"
planConditionCount5 = 1
 Sent to portal by DLL (hold/attack)
buildType1 = "fvpuatank"
buildCount1 = 2
 Sent to portal by DLL (hold/attack)
buildType2 = "fvputank"
buildCount2 = 2
ContinueEvenIfFail = true

[Plan425]
planPriority = 1725
planType = "CollectPool"
MinTtlScrap = 160
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan430]
planPriority = 1720
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
//mincurrPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbstro"
planConditionCount4 = 1
targetType = "ibscav"
attackType1 = "fvatank"
attackType2 = "fvatank"
attackType3 = "fvatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan435]
planPriority = 1715
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbstro"
planConditionCount4 = 1
targetType = "ibscup"
attackType1 = "fvatank"
attackType2 = "fvatank"
attackType3 = "fvatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan440]
planPriority = 1710
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbstro"
planConditionCount4 = 1
targetType = "ibgtow"
attackType1 = "fvatank"
attackType2 = "fvatank"
attackType3 = "fvatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan450]
planPriority = 1700
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 179
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "powergen"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbstro"
planConditionCount4 = 1
targetType = "powergen"
attackType1 = "fvatank"
attackType2 = "fvatank"
attackType3 = "fvatank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

//  <<<<<<<<<<<<  End of Titan Build/Attack  >>>>>>>>>>>>>>>




//  <<<<<<<<<<<<  Start of Brawler Build/Attack  >>>>>>>>>>>>>>

Requirements: Forge (fbforg), Overseer (fbover)


[Plan470]
planPriority = 1680
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbscup"
planConditionCount = 1
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbover"
planConditionCount4 = 1
buildType1 = "fvrbomb"  // cost = 75
buildCount1 = 6
ContinueEvenIfFail = true

[Plan475]
planPriority = 1670
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "NotExists"
planConditionClass = "fbscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
buildType1 = "fvrbomb"  // cost = 75
buildCount1 = 3
ContinueEvenIfFail = true

[Plan480]
//planPriority = 1660
planPriority = 60
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "hbport"
planConditionCount = 1
planCondition2 = "NotExists"
planConditionClass2 = "fbscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbover"
planConditionCount4 = 1
buildType1 = "fvpurbomb"  // cost = 75
buildCount1 = 2
ContinueEvenIfFail = true

[Plan482]
planPriority = 1655
planType = "CollectPool"
MinTtlScrap = 120
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan485]
planPriority = 1650
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
targetType = "ibscav"
attackType1 = "fvrbomb"
attackType2 = "fvrbomb"
attackType3 = "fvrbomb"
//attackType4 = "fvrbomb"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan490]
planPriority = 1640
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 2281
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "fbscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
targetType = "ibscup"
attackType1 = "fvrbomb"
attackType2 = "fvrbomb"
attackType3 = "fvrbomb"
//attackType4 = "fvrbomb"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan495]
planPriority = 1630
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
targetType = "ibgtow"
attackType1 = "fvrbomb"
attackType2 = "fvrbomb"
attackType3 = "fvrbomb"
//attackType4 = "fvrbomb"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

//  ^^^^^^^^^^^^  End of Brawler Build/Attack  ^^^^^^^^^^^^^^^



//  vvvvvvvvvvvv  Start of Mauler Build/Attack  vvvvvvvvvvvvvv

Requirements: Forge (fbforg), Dower (fbdowe), and Stronghold (fbstro)


[Plan500]
planPriority = 1610
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//mincurPower = 0
planCondition2 = "Exists"
planConditionClass2 = "fbscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbdowe"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbstro"
planConditionCount5 = 1
buildType1 = "fvwalk"  // cost = 70
buildCount1 = 6
ContinueEvenIfFail = true

[Plan510]
planPriority = 1600
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//mincurPower = 0
planCondition2 = "NotExists"
planConditionClass2 = "fbscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbdowe"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbstro"
planConditionCount5 = 1
buildType1 = "fvwalk"  // cost = 70
buildCount1 = 3
ContinueEvenIfFail = true


[Plan520]
//planPriority = 1590
planPriority = 50
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "hbport"
planConditionCount = 1
planCondition2 = "NotExists"
planConditionClass2 = "fbscup"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbdowe"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbstro"
planConditionCount5 = 1
buildType1 = "fvpuwalk"  // cost = 70
buildCount1 = 2
ContinueEvenIfFail = true

[Plan525]
planPriority = 1585
planType = "CollectPool"
MinTtlScrap = 120
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan530]
planPriority = 1580
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fvwalk"
planConditionCount2 = 3
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbdowe"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbstro"
planConditionCount5 = 1
targetType = "ibscav"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvwalk"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan540]
planPriority = 1570
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fvwalk"
planConditionCount2 = 3
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbdowe"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbstro"
planConditionCount5 = 1
targetType = "ibscup"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvwalk"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=99


[Plan550]
planPriority = 1560
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fvwalk"
planConditionCount2 = 3
planCondition3 = "Exists"
planConditionClass3 = "fbforg"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbdowe"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "fbstro"
planConditionCount5 = 1
targetType = "ibgtow"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvwalk"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

//  <<<<<<<<<<<<  End of Mauler Build/Attack  >>>>>>>>>>>>>>



//  vvvvvvvvvvvv  Start of Archer Build/Attack  vvvvvvvvvvvvvvv

Requirements: Forge (fbforg), Overseer (fbover)

[Plan590]
planPriority = 1430
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 119
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbforg"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbover"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbscup"
planConditionCount3 = 1
buildType1 = "fvartl"  // cost = 65
buildCount1 = 6
ContinueEvenIfFail = true

[Plan600]
planPriority = 1420
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 119
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbforg"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbover"
planConditionCount2 = 1
planCondition3 = "NotExists"
planConditionClass3 = "fbscup"
planConditionCount3 = 1
buildType1 = "fvartl"  // cost = 65
buildCount1 = 3
ContinueEvenIfFail = true

[Plan605]
planPriority = 1415
planType = "CollectPool"
MinTtlScrap = 140
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan610]
planPriority = 1410
planType = "Attacker"
//MinTtlScrap = 100
//MaxTtlScrap = 119
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planConditio2 = "Exists"
planConditionClas2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
targetType = "ibscav"
attackType1 = "fvartl"
attackType2 = "fvartl"
attackType3 = "fvartl"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan620]
planPriority = 1405
planType = "Attacker"
//MinTtlScrap = 100
//MaxTtlScrap = 119
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
targetType = "ibscup"
attackType1 = "fvartl"
attackType2 = "fvartl"
attackType3 = "fvartl"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan630]
planPriority = 1400
planType = "Attacker"
//MinTtlScrap = 100
//MaxTtlScrap = 119
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbover"
planConditionCount3 = 1
targetType = "ibfact"
attackType1 = "fvartl"
attackType2 = "fvartl"
attackType3 = "fvartl"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

//  <<<<<<<<<<<<  End of Archer Build/Attack  >>>>>>>>>>>>>>


//  <<<<<<<<<<<<  Start of Warrior Build/Attack  >>>>>>>>>>>>>>

Requirements: Forge (fbforg)

[Plan635]
planPriority = 1390
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbforg"
planConditionCount = 1
planCondition4 = "Exists"
planConditionClass4 = "fbscup"
planConditionCount4 = 1
buildType1 = "fvtank"  // cost = 55
buildCount1 = 6
ContinueEvenIfFail = true

[Plan640]
planPriority = 1385
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbforg"
planConditionCount = 1
planCondition4 = "NotExists"
planConditionClass4 = "fbscup"
planConditionCount4 = 1
buildType1 = "fvtank"  // cost = 55
buildCount1 = 3
ContinueEvenIfFail = true

[Plan650]
//planPriority = 1380
planPriority = 30
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 99
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "hbport"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbforg"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbscup"
planConditionCount3 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "fvputank"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan655]
planPriority = 1375
planType = "CollectPool"
MinTtlScrap = 120
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan660]
planPriority = 1370
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition = "Exists"
planConditionClass = "fbforg"
planConditionCount = 1
targetType = "ibscav"
attackType1 = "fvtank"
attackType2 = "fvtank"
attackType3 = "fvtank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan670]
planPriority = 1360
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition = "Exists"
planConditionClass = "fbforg"
planConditionCount = 1
targetType = "ibscup"
attackType1 = "fvtank"
attackType2 = "fvtank"
attackType3 = "fvtank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan680]
planPriority = 1350
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition = "Exists"
planConditionClass = "fbforg"
planConditionCount = 1
targetType = "ibfact"
attackType1 = "fvtank"
attackType2 = "fvtank"
attackType3 = "fvtank"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

//  ^^^^^^^^^^^^  End of Warrior Build/Attack  ^^^^^^^^^^^^^^


//  <<<<<<<<<<<<  Start of Lancer Build/Attack  >>>>>>>>>>>>>>

Requirements: Kiln (fbkiln)


[Plan700]
planPriority = 1160
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 79
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbkiln"
planConditionCount = 1
planCondition3 = "Exists"
planConditionClass3 = "fbantm"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbscup"
planConditionCount4 = 1
buildType1 = "fvarch"  // cost = 55
buildCount1 = 6
ContinueEvenIfFail = true

[Plan710]
planPriority = 1150
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 79
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "fbkiln"
planConditionCount = 1
planCondition4 = "NotExists"
planConditionClass4 = "fbscup"
planConditionCount4 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbantm"
planConditionCount3 = 1
buildType1 = "fvarch"  // cost = 55
buildCount1 = 3
ContinueEvenIfFail = true

[Plan720]
//planPriority = 1140
planPriority = 40
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 79
//mincurPower = 0
planCondition = "Exists"
planConditionClass = "hbport"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbantm"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "fbscup"
planConditionCount4 = 1
buildType1 = "fvpuarch"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan725]
planPriority = 1135
planType = "CollectPool"
MinTtlScrap = 140
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan730]
planPriority = 1130
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbantm"
planConditionCount3 = 1
targetType = "ibscav"
attackType1 = "fvarch"
attackType2 = "fvarch"
attackType3 = "fvarch"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan800]
planPriority = 550
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition3 = "Exists"
planConditionClass3 = "fbantm"
planConditionCount3 = 1
targetType = "ibscup"
attackType1 = "fvarch"
attackType2 = "fvarch"
attackType3 = "fvarch"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan805]
planPriority = 500
planType = "Attacker"
//MinTtlScrap = 45
////MaxTtlScrap = 59
//mincurPower = 0
planCondition = "HisExists"
planConditionClass = "powergen"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fbkiln"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "fbantm"
planConditionCount3 = 1
targetType = "powergen"
attackType1 = "fvarch"
attackType2 = "fvarch"
attackType3 = "fvarch"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

//  <<<<<<<<<<<<<<<<<<<< End Lancer Build/Attack  >>>>>>>>>>>>>>>>>>>>>>


[Plan920]
planPriority = 200
planType = "CollectPool"
MinTtlScrap = 140
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan930]
planPriority = 190
planType = "CollectField"
//MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 2
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 10

[Plan940]
planPriority = 180
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
buildType1 = "fvcons"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan950]
planPriority = 170
planType = "CollectPool"
MinTtlScrap = 160
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan960]
planPriority = 160
planType = "CollectField"
MinTtlScrap = 100
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

//[Plan970]
//planPriority = 150
//MinTtlScrap = 80
//planType = "BaseBuildMinimums"
//buildType1 = "fbspir"
//buildloc1 = "def1"
//buildCount1 = 1
//buildType2 = "fbspir"
//buildloc2 = "def2"
//buildCount2 = 1
//buildType3 = "fbspir"
//buildloc3 = "def3"
//buildCount3 = 1
//ContinueEvenIfFail = true

//[Plan975]
//planPriority = 140
//MinTtlScrap = 80
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "fvcons"
//planConditionCount = 1
//buildType1 = "fbspir"
//buildLoc1 = "gt5"
//buildCount1 = 1
//ContinueEvenIfFail = true

//[Plan910]
//planPriority = 130
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "fvcons"
//planConditionCount = 1
//buildType1 = "fbpgen"
//buildLoc1 = "ipgen9"
//buildCount1 = 1
//buildType2 = "fbcbun"
//buildLoc2 = "pgen6"
//buildCount2 = 1
//buildType3 = "ibgtow"
//buildLoc3 = "gt6"
//buildCount3 = 1
//ContinueEvenIfFail = true

[Plan980]
planPriority = 120
planType = "CollectPool"
MinTtlScrap = 160
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan990]
planPriority = 110
planType = "CollectField"
MinTtlScrap = 160
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
scavClass = "fvscav"
//defendType1 = "fvscout"
//defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan1000]
planPriority = 100
planType = "Upgrade"
MinTtlScrap = 80
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "fbscav"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "fvcons"
planConditionCount2 = 3
unitType = "fbscav"
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

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

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

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

//[Plan980]
//planPriority = 60
//planType = "Defender"
//targetType = "fbscav"
//defendType1 = "fvscout"
//defendCount1 = 3
//defendType2 = "fvtank"
//defendCount2 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan990]
//planPriority = 50
//planType = "DefendArea"
//targetType = "fbscav"
//defendType1 = "fvturr"
//defendCount1 = 3
//defendType2 = "fvscout"
//defendCount2 = 2
//defendType3 = "fvtank"
//defendCount3 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

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

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