//////////////////////////////
// ARTILLERY
//////////////////////////////
[Start]
//scrapCount = 40
consClass = "evconsB"
scavClass = "evscav"
DLLCanSwitch = false // true = default. If false, DLL orders to switch are ignored.
IdleAllCraft = true

[Cheat]
moneyAmount = 20
moneyDelay = 10

[IdleDispatcher]
ScavIdleSeconds = 60
UnitIdleSeconds = 600
MinAttackForce = 1 // min # of idle units before dispatch
MaxAttackForce = 99 // min # of idle units before dispatch
MinMissionSeconds = 300
MaxTargets = 99
//MaxBomberTargets = 99 // was 4 from 67g..67j
//BomberIdleSeconds = 120 // # of seconds before a bomber is sent out.

sendAllUnitsOnStartup = true


[Match]
targetType1 = "ivscout"
attackType1_1 = "evscoutcpu"
attackType1_2 = "evscoutcpu"
targetType2 = "ivscout"
attackType2_1 = "evtankucpu"
targetType3 = "ivscout"
attackType3_1 = "evmislucpu"
targetType4 = "ivscout"
attackType4_1 = "evmortcpu"
attackType4_2 = "evmortcpu"

targetType5 = "ivmbike"
attackType5_1 = "evscoutcpu"
attackType5_2 = "evscoutcpu"
targetType6 = "ivmbike"
attackType6_1 = "evmortcpu"
attackType6_2 = "evmortcpu"
targetType7 = "ivmbike"
attackType7_1 = "evtankucpu"
targetType8 = "ivmbike"
attackType8_1 = "evmislucpu"

targetType9 = "ivmisl"
attackType9_1 = "evscoutcpu"
attackType9_2 = "evscoutcpu"
targetType10 = "ivmisl"
attackType10_1 = "evtankucpu"
attackType10_2 = "evtankucpu"
targetType11 = "ivmisl"
attackType11_1 = "evmislucpu"

targetType12 = "ivtank"
attackType12_1 = "evscoutcpu"
attackType12_2 = "evscoutcpu"
targetType13 = "ivtank"
attackType13_1 = "evtankucpu"
attackType13_2 = "evtankucpu"
targetType14 = "ivtank"
attackType14_1 = "evmislucpu"
targetType15 = "ivtank"
attackType15_1 = "evmortcpu"
attackType15_2 = "evmortcpu"
attackType15_3 = "evmortcpu"

targetType16 = "ivrckt"
attackType16_1 = "evtankucpu"
attackType16_2 = "evtankucpu"
targetType17 = "ivrckt"
attackType17_1 = "evmislucpu"
attackType17_2 = "evmislucpu"
targetType18 = "ivrckt"
attackType18_1 = "evatankucpu"

targetType19 = "ivatank"
attackType19_1 = "evtankucpu"
attackType19_2 = "evtankucpu"
attackType19_3 = "evtankucpu"
targetType20 = "ivatank"
attackType20_1 = "evmislucpu"
attackType20_2 = "evmislucpu"
targetType21 = "ivatank"
attackType21_1 = "evatankucpu"
attackType21_2 = "evatankucpu"
targetType22 = "ivatank"
attackType22_1 = "evwalkcpu"
attackType22_2 = "evwalkcpu"

targetType23 = "ivwalk"
attackType23_1 = "evmislucpu"
attackType23_2 = "evmislucpu"
targetType24 = "ivwalk"
attackType24_1 = "evtankucpu"
attackType24_2 = "evtankucpu"
targetType25 = "ivwalk"
attackType25_1 = "evwalkcpu"
attackType25_2 = "evwalkcpu"

targetType26 = "ibgtow"
attackType26_1 = "evatankucpu"
attackType26_2 = "evatankucpu"
targetType27 = "ibgtow"
attackType27_1 = "evmislucpu"
attackType27_2 = "evmislucpu"
targetType28 = "ibgtow"
attackType28_1 = "evtankucpu"
attackType28_2 = "evtankucpu"
attackType28_3 = "evtankucpu"
targetType29 = "ibgtow"
attackType29_1 = "evmortcpu"
attackType29_2 = "evmortcpu"
attackType29_3 = "evmortcpu"

targetType30 = "ivturr"
attackType30_1 = "evmortcpu"
attackType30_2 = "evmortcpu"
attackType30_3 = "evmortcpu"
targetType31 = "ivturr"
attackType31_1 = "evtankucpu"
attackType31_2 = "evtankucpu"
targetType32 = "ivturr"
attackType32_1 = "evmislucpu"
targetType33 = "ivturr"
attackType33_1 = "evscoutcpu"
attackType33_2 = "evscoutcpu"

targetType34 = "ivscav"
attackType34_1 = "evmortcpu"
targetType35 = "ivscav"
attackType35_1 = "evscoutcpu"
targetType36 = "ivscav"
attackType36_1 = "evtankucpu"
targetType37 = "ivscav"
attackType37_1 = "evmislucpu"

targetType38 = "ibscav"
attackType38_1 = "evmislucpu"
targetType39 = "ibscav"
attackType39_1 = "evtankucpu"
targetType40 = "ibscav"
attackType40_1 = "evmortcpu"
targetType41 = "ibscav"
attackType41_1 = "evscoutcpu"

targetType42 = "ibscup"
attackType42_1 = "evmislucpu"
targetType43 = "ibscup"
attackType43_1 = "evtankucpu"
targetType44 = "ibscup"
attackType44_1 = "evmortcpu"
targetType45 = "ibscup"
attackType45_1 = "evscoutcpu"

targetType46 = "ivcons"
attackType46_1 = "evmislucpu"
targetType47 = "ivcons"
attackType47_1 = "evtankucpu"
targetType48 = "ivcons"
attackType48_1 = "evmortcpu"
targetType49 = "ivcons"
attackType49_1 = "evscoutcpu"


[Plan1]
planType = "Attacker"
planPriority = 1220
CheckProvides = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebtcen"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "ebtrain"
planConditionCount4 = 1
planCompare4 = ">="
planConditionClassProvided4 = true
targetType1 = "ibgtow"
targetType2 = "ibpgen"
targetType3 = "ibfact"
targetType4 = "ibrecy"
attackType1 = "evkami"
attackType2 = "evkami"
attackType3 = "evkami"
attackType4 = "evkami"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true


[Plan2]
planType = "Attacker"
planPriority = 1210
CheckProvides = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebtcen"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "ebtrain"
planConditionCount4 = 1
planCompare4 = ">="
planConditionClassProvided4 = true
targetType1 = "ibscav"
targetType2 = "ibscup"
targetType3 = "ibcbun"
targetType4 = "ivscav"
attackType1 = "evkami"
attackType2 = "evkami"
attackType3 = "evkami"
attackType4 = "evkami"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true



[Plan4]
planType = "Attacker"
planPriority = 1200
CheckProvides = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebtcen"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "ebtrain"
planConditionCount4 = 1
planCompare4 = ">="
planConditionClassProvided4 = true
targetType1 = "powergen"
targetType2 = "ibfact"
targetType3 = "ivcons"
targetType4 = "ivscout"
attackType1 = "evkami"
attackType2 = "evkami"
attackType3 = "evkami"
attackType4 = "evkami"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true


[Plan6]
planType = "Attacker"
planPriority = 1190
CheckProvides = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebtcen"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "ebtrain"
planConditionCount4 = 1
planCompare4 = ">="
planConditionClassProvided4 = true
targetType1 = "ivatank"
targetType2 = "ivtank"
targetType3 = "ivrckt"
targetType4 = "ivmisl"
attackType1 = "evkami"
attackType2 = "evkami"
attackType3 = "evkami"
attackType4 = "evkami"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true


[Plan8]
planPriority = 890
planType = "Service"
planCondition = "Exists"
planConditionClass = "evserv"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
serviceUnit = "evserv"

MinWreckAmmo = 0.1
MinWreckHealth = 0.95
MaxWreckAmmo = 0.99
MaxWreckHealth = 0.
RepairTime = 60.0 // Max time a servicer will spend on a unit
MaxWreckDist = 250.0 // Distance from service truck to unit to begin servicing

unitType1 = "ebrecycpu"
unitType2 = "ebgt2g"
unitType3 = "ebgt4g"
unitType4 = "ebfact"
unitType5 = "ebfact2"
unitType6 = "ebpgen"
unitType7 = "ebsbay"
unitType8 = "ebarmo"
unitType9 = "ebtrain"
unitType10 = "ebtcen"
unitType11 = "ebcbun"
ContinueEvenIfFail = true


[Plan9]
planPriority = 880
planType = "Service"
planCondition = "Exists"
planConditionClass = "evserv"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
serviceUnit = "evserv"

MinWreckAmmo = 0.1
MinWreckHealth = 0.95
MaxWreckAmmo = 0.8
MaxWreckHealth = 0.99
RepairTime = 60.0 // Max time a servicer will spend on a unit
MaxWreckDist = 250.0 // Distance from service truck to unit to begin servicing

unitType1 = "ebrecycpu"
unitType2 = "ebgt2g"
unitType3 = "ebgt4g"
unitType4 = "ebfact"
unitType5 = "ebfact2"
unitType6 = "ebpgen"
unitType7 = "ebsbay"
unitType8 = "ebarmo"
unitType9 = "ebtrain"
unitType10 = "ebtcen"
unitType11 = "ebcbun"
ContinueEvenIfFail = true


[Plan10]
planPriority = 870
planType = "Service"
planCondition = "Exists"
planConditionClass = "evserv"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
serviceUnit = "evserv"

MinWreckAmmo = 0.1
MinWreckHealth = 0.95
MaxWreckAmmo = 0.8
MaxWreckHealth = 0.99
RepairTime = 60.0 // Max time a servicer will spend on a unit
MaxWreckDist = 250.0 // Distance from service truck to unit to begin servicing

unitType1 = "ebrecycpu"
unitType2 = "ebgt2g"
unitType3 = "ebgt4g"
unitType4 = "ebfact"
unitType5 = "ebfact2"
unitType6 = "ebpgen"
unitType7 = "ebsbay"
unitType8 = "ebarmo"
unitType9 = "ebtrain"
unitType10 = "ebtcen"
unitType11 = "ebcbun"
ContinueEvenIfFail = true


[Plan11]
planPriority = 860
planType = "Service"
planCondition = "Exists"
planConditionClass = "evserv"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
serviceUnit = "evserv"

MinWreckAmmo = 0.1
MinWreckHealth = 0.95
MaxWreckAmmo = 0.8
MaxWreckHealth = 0.99
RepairTime = 60.0 // Max time a servicer will spend on a unit
MaxWreckDist = 250.0 // Distance from service truck to unit to begin servicing

unitType1 = "ebrecycpu"
unitType2 = "ebgt2g"
unitType3 = "ebgt4g"
unitType4 = "ebfact"
unitType5 = "ebfact2"
unitType6 = "ebpgen"
unitType7 = "ebsbay"
unitType8 = "ebarmo"
unitType9 = "ebtrain"
unitType10 = "ebtcen"
unitType11 = "ebcbun"
ContinueEvenIfFail = true


[Plan18]
planType = "Attacker"
planPriority = 1180
planCondition = "NotExists"
planConditionClass = "ebfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
targetType = "ibrecy"
attackType1 = "evscoutcpu"
attackType2 = "evscoutcpu"
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true


[Plan20]
planType = "CollectPool"
planPriority = 848
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = "<="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscav"
planConditionCount2 = 5
planCompare2 = ">"
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan22]
planType = "CollectPool"
planPriority = 846
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = "<="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscav"
planConditionCount2 = 5
planCompare2 = ">"
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan24]
planType = "CollectField"
planPriority = 844
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan26]
planType = "CollectField"
planPriority = 842
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan40]
planType = "Attacker"
planPriority = 1170
planCondition = "Exists"
planConditionClass = "ebrecycpu"
planConditionCount = 1
targetType = "ivscav"
attackType1 = "evscoutcpu"
attackType2 = "evscoutcpu"
attackType3 = "evscoutcpu"
maxAttacks=3
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan50]
planType = "CollectField"
planPriority = 540
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan60]
planType = "CollectPool"
planPriority = 530
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = "<="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan70]
planType = "BuildMinimums"
planPriority = 1520
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
buildType1 = "evconsB"
buildCount1 = 1

[Plan80]
planType = "BaseBuildMinimums"
planPriority = 1510
planCondition3 = "Exists"
planConditionClass3 = "[MagnetMineClass]
evconsB"
planConditionCount3 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
buildType1 = "ebpgen"
buildLoc1 = "pgen1"
buildCount1 = 1
buildType2 = "ebgt2g"
buildLoc2 = "spike1"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan90]
planType = "Attacker"
planPriority = 1160
planCondition = "HisExists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
planConditionClassProvided2 = false
planCondition3 = "NotExists"
planConditionClass3 = "ebfact2"
planConditionCount3 = 1
planConditionClassProvided3 = false
targetType = "ivcons"
attackType1 = "evtankcpu"
attackType2 = "evtankcpu"
attackType3 = "evtankcpu"
maxAttacks=6
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan100]
// Sent to portal by DLL (patrol)
planType = "BuildMinimums"
planPriority = 1490
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "NotHisExists"
planConditionClass3 = "ibgtow"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebrecycpu"
planConditionCount4 = 1
buildType1 = "evpuscout"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan110]
planType = "BaseBuildMinimums"
planPriority = 480
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "ebpgen"
buildLoc1 = "epgen1"
buildCount1 = 2
buildType2 = "ebfact"
buildLoc2 = "fact"
buildCount2 = 1

buildHeading = 0  // South
//buildHeading = 1  // North
//buildHeading = 2  // West
//buildHeading = 3  // East

buildType3 = "ebcbun"
buildLoc3 = "cbun"
buildCount3 = 1

[Plan120]
planType = "Attacker"
planPriority = 1150
planCondition = "HisExists"
planConditionClass = "ivturr"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebfact"
planConditionCount3 = 1
targetType = "ivturr"
attackType1 = "evmortcpu"
attackType2 = "evmortcpu"
attackType3 = "evmortcpu"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan130]
planType = "BaseBuildMinimums"
planPriority = 460
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
buildType1 = "ebpgen"
buildLoc1 = "pgen2"
buildCount1 = 1
buildType2 = "ebgt2g"
buildLoc2 = "spike2"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan140]
planType = "Attacker"
planPriority = 1140
planCondition2 = "Exists"
planConditionClass2 = "ebcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebfact"
planConditionCount3 = 1
targetType = "powergen"
attackType1 = "evmislcpu"
attackType2 = "evmislcpu"
attackType3 = "evmislcpu"
maxAttacks=3
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan150]
planType = "BaseBuildMinimums"
planPriority = 440
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
buildType1 = "ebsbay"
buildLoc1 = "sbay"
buildCount1 = 1

//buildHeading = 0  // South
buildHeading = 1  // North
//buildHeading = 2  // West
//buildHeading = 3  // East


[Plan155]
planType = "BaseBuildMinimums"
planPriority = 430
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebfact"
planConditionCount3 = 1
buildType1 = "ebarmo"
buildLoc1 = "armo"
buildCount1 = 1

[Plan160]
planType = "Attacker"
planPriority = 1130
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebsbay"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebarmo"
planConditionCount4 = 1
targetType = "ibgtow"
attackType1 = "evatankscpu"
attackType2 = "evatankscpu"
attackType3 = "evscoutucpu"
attackType4 = "evscoutucpu"
attackType5 = "evscoutucpu"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan170]
// Sent to portal by DLL (hold/attack)
planType = "BuildMinimums"
planPriority = 410
CheckProvides = 1
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebfact"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "ebarmo"
planConditionCount4 = 1
planCompare4 = ">="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "ebsbay"
planConditionCount5 = 1
planCompare5 = ">="
planConditionClassProvided5 = true
buildType1 = "evpuatanks"
buildCount1 = 2
buildType2 = "evpuatankl"
buildCount2 = 2
ContinueEvenIfFail = true

[Plan180]
planType = "Attacker"
planPriority = 1120
planCondition = "NotExists"
planConditionClass = "ebfact2"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebarmo"
planConditionCount4 = 1
targetType = "powergen"
attackType1 = "evtankscpu"
attackType2 = "evtankscpu"
attackType3 = "evtankscpu"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan190]
planType = "CollectField"
planPriority = 390
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan200]
planType = "CollectPool"
planPriority = 380
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = "<="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan210]
planType = "BaseBuildMinimums"
planPriority = 370
planCondition = "NotExists"
planConditionClass = "ebfact2"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "[MagnetMineClass]
evconsB"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
buildType1 = "ebpgen"
buildLoc1 = "epgen2"
buildCount1 = 4
buildType2 = "ebpgen"
buildLoc2 = "pgen3"
buildCount2 = 5
buildType3 = "ebgt2g"
buildLoc3 = "spike3"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan230]
planType = "Attacker"
planPriority = 1110
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebarmo"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebsbay"
planConditionCount4 = 1
targetType = "powergen"
attackType1 = "evatankscpu"
attackType2 = "evatankscpu"
attackType3 = "evatankscpu"
attackType4 = "evatankscpu"
attackType5 = "evscoutcpu"
attackType6 = "evscoutcpu"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true


[Plan232]
planType = "Attacker"
planPriority = 1108
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition2 = "Exists"
planConditionClass2 = "ebarmo"
planConditionCount2 = 1
targetType = "powergen"
attackType1 = "evmislucpu"
attackType2 = "evmislucpu"
attackType3 = "evmislucpu"
attackType4 = "evmislucpu"
attackType5 = "evscoutcpu"
attackType6 = "evscoutcpu"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true


[Plan234]
// Sent to portal by DLL (patrol)
planType = "BuildMinimums"
planPriority = 340
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebfact2"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
buildType1 = "evputank"
buildCount1 = 4
ContinueEvenIfFail = true


[Plan236]
planType = "BaseBuildMinimums"
planPriority = 426
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
planConditionClassProvided2 = true
planConditionOr2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebfact2"
planConditionCount3 = 1
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "ebcbun"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "ebsbay"
planConditionCount5 = 1
buildType1 = "ebtcen"
buildLoc1 = "tcen"
buildCount1 = 1

[Plan240]
planType = "Upgrade"
planPriority = 424
planCondition = "NotExists"
planConditionClass = "ebfact2"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebcbun"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebarmo"
planConditionCount4 = 1
planCondition5 = "Exists"
planConditionClass5 = "[MagnetMineClass]
evconsB"
planConditionCount5 = 1
planCompare5 = ">="
planConditionClassProvided5 = true
unitType = "ebfact"

[Plan250]
planType = "BaseBuildMinimums"
planPriority = 422
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebcbun"
planConditionCount3 = 1
buildType1 = "ebtrain"
buildLoc1 = "train"
buildCount1 = 1

[Plan260]
// Sent to portal by DLL (hold/attack)
planType = "BuildMinimums"
planPriority = 200
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebsbay"
planConditionCount3 = 1
buildType1 = "evpuserv"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan265]
planType = "Attacker"
planPriority = 1000
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebsbay"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebarmo"
planConditionCount4 = 1
targetType = "ibgtow"
attackType1 = "evartl2cpu"
attackType2 = "evartl2cpu"
attackType3 = "evartl2cpu"
attackType4 = "evmislwcpu"
attackType5 = "evmislwcpu"
attackType5 = "evtankcpu"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan270]
// Sent to portal by DLL (hold/attack)
planType = "BuildMinimums"
planPriority = 310
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebarmo"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebfact2"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebtcen"
planConditionCount4 = 1
buildType1 = "evpuatanku"
buildCount1 = 5
ContinueEvenIfFail = true

[Plan272]
// Sent to portal by DLL (hold/attack)
planType = "BuildMinimums"
planPriority = 302
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebsbay"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebfact2"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebtcen"
planConditionCount4 = 1
buildType1 = "evpuatankf"
buildCount1 = 5
ContinueEvenIfFail = true


[Plan280]
planType = "CollectField"
planPriority = 300
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan290]
planType = "CollectPool"
planPriority = 290
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = "<="
planConditionClassProvided = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan300]
planType = "Attacker"
planPriority = 990
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebtrain"
planConditionCount3 = 1
targetType = "ibfact"
attackType1 = "evkami"
attackType2 = "evkami"
attackType3 = "evkami"
attackType4 = "evkami"
attackType5 = "evkami"
maxAttacks = 999
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan310]
planType = "BuildMinimums"
planPriority = 270
planCondition = "Exists"
planConditionClass = "ebrecycpu"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact"
planConditionCount2 = 1
planConditionClassProvided2 = true
buildType1 = "[MagnetMineClass]
evconsB"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan320]
planType = "BaseBuildMinimums"
planPriority = 260
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "ebgt4g"
buildLoc1 = "def1"
buildCount1 = 1
buildType2 = "ebgt4g"
buildLoc2 = "def2"
buildCount2 = 1
buildType3 = "ebgt4g"
buildLoc3 = "def3"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan330]
planType = "BaseBuildMinimums"
planPriority = 250
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "ebpgen"
buildLoc1 = "pgen3"
buildCount1 = 1
buildType2 = "ebgt4g"
buildLoc2 = "gt4"
buildCount2 = 1
buildType3 = "ebgt4g"
buildLoc3 = "gt4a"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan340]
planType = "Attacker"
planPriority = 980
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebarmo"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebtcen"
planConditionCount4 = 1
targetType = "ibfact"
attackType1 = "evatankucpu"
attackType2 = "evatankucpu"
attackType3 = "evatankucpu"
attackType4 = "evatankucpu"
attackType5 = "evatankucpu"
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true


[Plan342]
planType = "Attacker"
planPriority = 972
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebarmo"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebsbay"
planConditionCount4 = 1
targetType = "ibfact"
attackType1 = "evmislwcpu"
attackType2 = "evmislwcpu"
attackType3 = "evmislwcpu"
attackType4 = "evmislwcpu"
attackType5 = "evmislwcpu"
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true


[Plan350]
planType = "Attacker"
planPriority = 970
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebcbun"
planConditionCount3 = 1
planCondition5 = "Exists"
planConditionClass5 = "ebarmo"
planConditionCount5 = 1
targetType = "powergen"
attackType1 = "evtankucpu"
attackType2 = "evtankucpu"
attackType3 = "evtankucpu"
attackType4 = "evmislucpu"
attackType5 = "evmislucpu"
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan360]
planType = "BaseBuildMinimums"
planPriority = 220
planCondition3 = "Exists"
planConditionClass3 = "[MagnetMineClass]
evconsB"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
buildType1 = "ebpgen"
buildLoc1 = "pgen4"
buildCount1 = 1
buildType2 = "ebgt4g"
buildLoc2 = "gt5"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan370]
planType = "BaseBuildMinimums"
planPriority = 210
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "ebpgen"
buildLoc1 = "pgen5"
buildCount1 = 1
buildType2 = "ebgt4g"
buildLoc2 = "gt6"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan380]
// Sent to portal by DLL (attack)
planType = "BuildMinimums"
planPriority = 200
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebarmo"
planConditionCount3 = 1
buildType1 = "evpumislu"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan390]
planType = "BaseBuildMinimums"
planPriority = 190
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "ebpgen"
buildLoc1 = "pgen6"
buildCount1 = 1
buildType2 = "ebgt2g"
buildLoc2 = "spike2"
buildCount2 = 1
buildType3 = "ebpgen"
buildLoc3 = "pgen3"
buildCount3 = 10
buildType4 = "ebgt2g"
buildLoc4 = "spike3"
buildCount4 = 1
ContinueEvenIfFail = true

[Plan400]
planType = "Attacker"
planPriority = 960
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebtrain"
planConditionCount3 = 1
planCondition5 = "Exists"
planConditionClass5 = "ebarmo"
planConditionCount5 = 1
checkProvides = 1
targetType = "powergen"
attackType1 = "evtankfcpu"
attackType2 = "evtankfcpu"
attackType3 = "evmislucpu"
attackType4 = "evmislucpu"
buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true


[Plan420]
planType = "BuildMinimums"
planPriority = 910
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebtrain"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebtcen"
planConditionCount4 = 1
buildType1 = "evwalkcpu"
buildCount1 = 4
ContinueEvenIfFail = true


[Plan425]
// Sent to portal by DLL (hold/attack)
planType = "BuildMinimums"
planPriority = 900
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ebtcen"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebtrain"
planConditionCount4 = 1
buildType1 = "evpuwalk"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan430]
planType = "Attacker"
planPriority = 950
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
//planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "ebfact2"
//planConditionCount2 = 1
//planCondition3 = "Exists"
//planConditionClass3 = "ebtcen"
//planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "evwalkcpu"
planConditionCount4 = 1
planCompare4 = ">="
targetType = "ibgtow"
attackType1 = "evwalkcpu"
//buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan440]
planType = "Attacker"
planPriority = 940
planCondition = "HisExists"
planConditionClass = "powergen"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "ebfact2"
//planConditionCount2 = 1
//planCondition3 = "Exists"
//planConditionClass3 = "ebtcen"
//planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "evwalkcpu"
planConditionCount4 = 1
planCompare4 = ">="
targetType = "powergen"
attackType1 = "evwalkcpu"
//buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan450]
planType = "Attacker"
planPriority = 930
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "ebfact2"
//planConditionCount2 = 1
//planCondition3 = "Exists"
//planConditionClass3 = "ebtcen"
//planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "evwalkcpu"
planConditionCount4 = 1
planCompare4 = ">="
targetType = "ibfact"
attackType1 = "evwalkcpu"
//buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan460]
planType = "Attacker"
planPriority = 920
planCondition = "HisExists"
planConditionClass = "ibarmo"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "ebfact2"
//planConditionCount2 = 1
//planCondition3 = "Exists"
//planConditionClass3 = "ebtcen"
//planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "evwalkcpu"
planConditionCount4 = 1
planCompare4 = ">="
targetType = "ibarmo"
attackType1 = "evwalkcpu"
//buildIfNoIdle = 1
maxAttacks = 999
ContinueEvenIfFail = true

[Plan470]
planType = "BaseBuildMinimums"
planPriority = 110
planCondition = "Exists"
planConditionClass = "[MagnetMineClass]
evconsB"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "ebpgen"
buildLoc1 = "pgen7"
buildCount1 = 1
buildType2 = "ebgt4g"
buildLoc2 = "gt7"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan480]
planType = "Upgrade"
planPriority = 100
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = "<="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscup"
planConditionCount2 = 5
planCompare2 = ">"
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "[MagnetMineClass]
evconsB"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
unitType = "ebscav"

