# AIAddToStockArmy
Flags —
Native
# Arguments
int
— playerstring
— dataint
— change
Returns — void
native void AIAddToStockArmy(
int player,
string data,
int change,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:212
int roll = RandomInt(1,2);
if (roll == 1) {
AIAddToStockArmy(player, a, anum);
} else {
AIAddToStockArmy(player, b, bnum);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:214
AIAddToStockArmy(player, a, anum);
} else {
AIAddToStockArmy(player, b, bnum);
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:224
int roll = RandomInt(1,3);
if (roll == 1) {
AIAddToStockArmy(player, a, anum);
} else if (roll == 2) {
AIAddToStockArmy(player, b, bnum);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:226
AIAddToStockArmy(player, a, anum);
} else if (roll == 2) {
AIAddToStockArmy(player, b, bnum);
} else {
AIAddToStockArmy(player, c, cnum);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:228
AIAddToStockArmy(player, b, bnum);
} else {
AIAddToStockArmy(player, c, cnum);
}
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:81
if (buildType == e_buildType_Rush) {
// next attack should be around 5 foodCost and 300 resCost after about 400 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:82
// next attack should be around 5 foodCost and 300 resCost after about 400 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 3 units above with average cost 6 food and 412 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:83
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 3 units above with average cost 6 food and 412 resources
duration = 433 + RandomInt(-14, 21);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:89
else if (buildType == e_buildType_Timing) {
// next attack should be around 7 foodCost and 400 resCost after about 460 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:90
// next attack should be around 7 foodCost and 400 resCost after about 460 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
// validation: 4 units above with average cost 8 food and 550 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:91
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
// validation: 4 units above with average cost 8 food and 550 resources
duration = 498 + RandomInt(-16, 24);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:97
else if (buildType == e_buildType_Power) {
// next attack should be around 9 foodCost and 540 resCost after about 580 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 2);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:98
// next attack should be around 9 foodCost and 540 resCost after about 580 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 2);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
// validation: 5 units above with average cost 10 food and 725 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:99
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 2);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
// validation: 5 units above with average cost 10 food and 725 resources
duration = 622 + RandomInt(-20, 31);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:105
else if (buildType == e_buildType_Macro) {
// next attack should be around 5 foodCost and 300 resCost after about 240 seconds
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 3 units above with average cost 6 food and 375 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:135
armyRoll = RandomInt(1,5);
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:136
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 6 units above with average cost 12 food and 862 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:137
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 6 units above with average cost 12 food and 862 resources
duration = 368 + RandomInt(-12, 18);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:142
}
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 4);
// validation: 6 units above with average cost 12 food and 900 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:143
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 4);
// validation: 6 units above with average cost 12 food and 900 resources
duration = 376 + RandomInt(-12, 18);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:148
}
else if (armyRoll <= 5) {
AIAddToStockArmy(player, c_PU_Zealot, 5);
AIAddToStockArmy(player, c_PU_Stalker, 2);
// validation: 7 units above with average cost 14 food and 850 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:149
else if (armyRoll <= 5) {
AIAddToStockArmy(player, c_PU_Zealot, 5);
AIAddToStockArmy(player, c_PU_Stalker, 2);
// validation: 7 units above with average cost 14 food and 850 resources
duration = 373 + RandomInt(-12, 18);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:158
armyRoll = RandomInt(1,5);
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:159
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:160
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 2);
// validation: 9 units above with average cost 18 food and 1237 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:129
armyRoll = RandomInt(1,3);
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:130
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 5 units above with average cost 10 food and 762 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:131
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 3);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 5 units above with average cost 10 food and 762 resources
duration = 372 + RandomInt(-12, 18);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:136
}
else if (armyRoll <= 3) {
AIAddToStockArmy(player, c_PU_Zealot, 4);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:137
else if (armyRoll <= 3) {
AIAddToStockArmy(player, c_PU_Zealot, 4);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 6 units above with average cost 12 food and 712 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:138
AIAddToStockArmy(player, c_PU_Zealot, 4);
AIAddToStockArmy(player, c_PU_Stalker, 1);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 6 units above with average cost 12 food and 712 resources
duration = 376 + RandomInt(-12, 18);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:147
armyRoll = RandomInt(1,3);
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 5);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:148
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 5);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 8 units above with average cost 16 food and 1212 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:149
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 5);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 8 units above with average cost 16 food and 1212 resources
duration = 448 + RandomInt(-14, 22);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:154
}
else if (armyRoll <= 3) {
AIAddToStockArmy(player, c_PU_Zealot, 5);
AIAddToStockArmy(player, c_PU_Stalker, 2);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:103
armyRoll = RandomInt(1,3);
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 3);
// validation: 4 units above with average cost 8 food and 625 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:104
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 3);
// validation: 4 units above with average cost 8 food and 625 resources
duration = 406 + RandomInt(-13, 20);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:109
}
else if (armyRoll <= 3) {
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 4 units above with average cost 8 food and 475 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:110
else if (armyRoll <= 3) {
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 4 units above with average cost 8 food and 475 resources
duration = 360 + RandomInt(-12, 18);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:119
armyRoll = RandomInt(1,3);
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 4);
// validation: 6 units above with average cost 12 food and 900 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:120
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 4);
// validation: 6 units above with average cost 12 food and 900 resources
duration = 475 + RandomInt(-15, 23);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:125
}
else if (armyRoll <= 3) {
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 2);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:126
else if (armyRoll <= 3) {
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 2);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 6 units above with average cost 12 food and 787 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:127
AIAddToStockArmy(player, c_PU_Zealot, 3);
AIAddToStockArmy(player, c_PU_Stalker, 2);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
// validation: 6 units above with average cost 12 food and 787 resources
duration = 447 + RandomInt(-14, 22);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:136
armyRoll = RandomInt(1,3);
if (armyRoll <= 2) {
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 5);
AIAddToStockArmy(player, AIPickFrom2(c_PU_Zealot, c_PU_Stalker), 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:69
if (buildType == e_buildType_Rush) {
// next attack should be around 2 foodCost and 160 resCost after about 420 seconds
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 1 units above with average cost 2 food and 175 resources
duration = 436 + RandomInt(-14, 21);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:75
else if (buildType == e_buildType_Timing) {
// next attack should be around 2 foodCost and 170 resCost after about 480 seconds
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 1 units above with average cost 2 food and 175 resources
duration = 485 + RandomInt(-16, 24);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:81
else if (buildType == e_buildType_Power) {
// next attack should be around 4 foodCost and 240 resCost after about 600 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 2 units above with average cost 4 food and 275 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:82
// next attack should be around 4 foodCost and 240 resCost after about 600 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 2 units above with average cost 4 food and 275 resources
duration = 636 + RandomInt(-21, 31);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:88
else if (buildType == e_buildType_Macro) {
// next attack should be around 2 foodCost and 160 resCost after about 240 seconds
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 1 units above with average cost 2 food and 175 resources
duration = 249 + RandomInt(-8, 12);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:94
else if (buildType == e_buildType_Air) {
// next attack should be around 4 foodCost and 330 resCost after about 660 seconds
AIAddToStockArmy(player, c_PU_VoidRay, 1);
// validation: 1 units above with average cost 3 food and 350 resources
duration = 648 + RandomInt(-21, 32);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:246
if (buildType == e_buildType_Rush) {
// next attack should be around 5 foodCost and 260 resCost after about 380 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 2 units above with average cost 4 food and 275 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:247
// next attack should be around 5 foodCost and 260 resCost after about 380 seconds
AIAddToStockArmy(player, c_PU_Zealot, 1);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 2 units above with average cost 4 food and 275 resources
duration = 371 + RandomInt(-12, 18);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:253
else if (buildType == e_buildType_Timing) {
// next attack should be around 6 foodCost and 320 resCost after about 420 seconds
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 3 units above with average cost 6 food and 375 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:254
// next attack should be around 6 foodCost and 320 resCost after about 420 seconds
AIAddToStockArmy(player, c_PU_Zealot, 2);
AIAddToStockArmy(player, c_PU_Stalker, 1);
// validation: 3 units above with average cost 6 food and 375 resources
duration = 450 + RandomInt(-15, 22);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:81
if (buildType == e_buildType_Rush) {
// next attack should be around 5 foodCost and 300 resCost after about 400 seconds
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
// validation: 4 units above with average cost 5 food and 275 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:82
// next attack should be around 5 foodCost and 300 resCost after about 400 seconds
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
// validation: 4 units above with average cost 5 food and 275 resources
duration = 387 + RandomInt(-12, 19);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:88
else if (buildType == e_buildType_Timing) {
// next attack should be around 7 foodCost and 400 resCost after about 460 seconds
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 2);
// validation: 5 units above with average cost 7 food and 400 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:89
// next attack should be around 7 foodCost and 400 resCost after about 460 seconds
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 2);
// validation: 5 units above with average cost 7 food and 400 resources
duration = 460 + RandomInt(-15, 23);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:95
else if (buildType == e_buildType_Power) {
// next attack should be around 9 foodCost and 540 resCost after about 580 seconds
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 3);
// validation: 7 units above with average cost 10 food and 575 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:96
// next attack should be around 9 foodCost and 540 resCost after about 580 seconds
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 3);
// validation: 7 units above with average cost 10 food and 575 resources
duration = 611 + RandomInt(-20, 30);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:102
else if (buildType == e_buildType_Macro) {
// next attack should be around 5 foodCost and 300 resCost after about 240 seconds
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
// validation: 4 units above with average cost 5 food and 275 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:103
// next attack should be around 5 foodCost and 300 resCost after about 240 seconds
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
// validation: 4 units above with average cost 5 food and 275 resources
duration = 232 + RandomInt(-7, 11);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:109
else if (buildType == e_buildType_Air) {
// next attack should be around 6 foodCost and 600 resCost after about 620 seconds
AIAddToStockArmy(player, c_TU_Viking, 3);
// validation: 3 units above with average cost 6 food and 675 resources
duration = 652 + RandomInt(-21, 32);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranEasy.galaxy:269
if (buildType == e_buildType_Rush) {
// next attack should be around 10 foodCost and 600 resCost after about 340 seconds
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marauder, 1, c_TU_Reaper, 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:183
armyRoll = RandomInt(1,4);
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Marauder, 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:184
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Marauder, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:185
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Marauder, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:192
}
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:193
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:194
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:205
armyRoll = RandomInt(1,7);
if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TU_Marine, 7);
AIAddToStockArmy(player, c_TU_Marauder, 4);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:206
if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TU_Marine, 7);
AIAddToStockArmy(player, c_TU_Marauder, 4);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:213
}
else if (armyRoll <= 6) {
AIAddToStockArmy(player, c_TU_Marine, 7);
AIAddToStockArmy(player, c_TU_Hellion, 5);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHard.galaxy:214
else if (armyRoll <= 6) {
AIAddToStockArmy(player, c_TU_Marine, 7);
AIAddToStockArmy(player, c_TU_Hellion, 5);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:183
armyRoll = RandomInt(1,4);
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Marauder, 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:184
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Marauder, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:185
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Marauder, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
// validation: 11 units above with average cost 11 food and 612 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:191
}
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:192
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:193
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
// validation: 10 units above with average cost 11 food and 550 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:203
armyRoll = RandomInt(1,4);
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TU_Marine, 7);
AIAddToStockArmy(player, c_TU_Marauder, 3);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:204
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TU_Marine, 7);
AIAddToStockArmy(player, c_TU_Marauder, 3);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:211
}
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 4);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMdHd.galaxy:212
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 4);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:121
armyRoll = RandomInt(1,4);
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:122
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:123
AIAddToStockArmy(player, c_TB_Barracks, 2);
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
// validation: 9 units above with average cost 8 food and 437 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:129
}
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:130
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
AIAddToStockArmy(player, c_TU_Hellion, 2);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:131
AIAddToStockArmy(player, c_TB_Factory, 1);
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
AIAddToStockArmy(player, c_TU_Hellion, 2);
// validation: 7 units above with average cost 9 food and 475 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:132
AIAddToStockArmy(player, c_TU_Marine, 3);
AIAddToStockArmy(player, c_TU_Marauder, 1);
AIAddToStockArmy(player, c_TU_Hellion, 2);
// validation: 7 units above with average cost 9 food and 475 resources
duration = 404 + RandomInt(-13, 20);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:141
armyRoll = RandomInt(1,4);
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:142
if (armyRoll <= 3) {
AIAddToStockArmy(player, c_TU_Marine, 4);
AIAddToStockArmy(player, c_TU_Marauder, 2);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Marauder, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranMedi.galaxy:149
}
else if (armyRoll <= 4) {
AIAddToStockArmy(player, c_TU_Marine, 5);
AIAddToStockArmy(player, c_TU_Hellion, 3);
AIAddToStockArmyPickFrom2Count(player, c_TU_Marine, 2, c_TU_Hellion, 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyEy.galaxy:61
if (buildType == e_buildType_Rush) {
// next attack should be around 2 foodCost and 160 resCost after about 420 seconds
AIAddToStockArmy(player, c_TU_Marine, 1);
AIAddToStockArmy(player, c_TU_Reaper, 1);
// validation: 2 units above with average cost 2 food and 150 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyEy.galaxy:62
// next attack should be around 2 foodCost and 160 resCost after about 420 seconds
AIAddToStockArmy(player, c_TU_Marine, 1);
AIAddToStockArmy(player, c_TU_Reaper, 1);
// validation: 2 units above with average cost 2 food and 150 resources
duration = 410 + RandomInt(-13, 20);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyEy.galaxy:68
else if (buildType == e_buildType_Timing) {
// next attack should be around 2 foodCost and 170 resCost after about 480 seconds
AIAddToStockArmy(player, c_TU_Marine, 3);
// validation: 3 units above with average cost 3 food and 150 resources
duration = 516 + RandomInt(-17, 25);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyEy.galaxy:74
else if (buildType == e_buildType_Power) {
// next attack should be around 4 foodCost and 240 resCost after about 600 seconds
AIAddToStockArmy(player, c_TU_Marine, 2);
AIAddToStockArmy(player, c_TU_Marauder, 1);
// validation: 3 units above with average cost 4 food and 225 resources
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyEy.galaxy:75
// next attack should be around 4 foodCost and 240 resCost after about 600 seconds
AIAddToStockArmy(player, c_TU_Marine, 2);
AIAddToStockArmy(player, c_TU_Marauder, 1);
// validation: 3 units above with average cost 4 food and 225 resources
duration = 585 + RandomInt(-19, 29);