diff --git a/multiplay/skirmish/cobra_includes/production.js b/multiplay/skirmish/cobra_includes/production.js index bf3e7e8..11ad2b4 100644 --- a/multiplay/skirmish/cobra_includes/production.js +++ b/multiplay/skirmish/cobra_includes/production.js @@ -150,7 +150,7 @@ function choosePersonalityWeapon(type) } // Choose an anti-air weapon instead... checks target player and then total player vtols. - if (((playerVtolRatio(getMostHarmfulPlayer()) >= 0.20) || (countEnemyVTOL() > 40)) && random(100) < 20) + if (((playerVtolRatio(getMostHarmfulPlayer()) >= 0.15) || (countEnemyVTOL() > 30)) && random(100) < 20) { weaponList = []; diff --git a/multiplay/skirmish/cobra_includes/research.js b/multiplay/skirmish/cobra_includes/research.js index bfcc6d6..5dec7d3 100644 --- a/multiplay/skirmish/cobra_includes/research.js +++ b/multiplay/skirmish/cobra_includes/research.js @@ -148,8 +148,7 @@ function research() if (!found && random(100) < 33) found = evalResearch(lab, extraTech); - //Use default AA until stormbringer. - if (random(100) < 40 && countEnemyVTOL() && !isStructureAvailable("P0-AASite-Laser")) + if (random(100) < 40 && countEnemyVTOL()) { if (!found) found = evalResearch(lab, antiAirTech); @@ -220,8 +219,7 @@ function research() } else if (subPersonalities[personality].resPath === "defensive") { - //Use default AA until stormbringer. - if (random(100) < 40 && countEnemyVTOL() && !isStructureAvailable("P0-AASite-Laser")) + if (random(100) < 40 && countEnemyVTOL()) { if (!found) found = evalResearch(lab, antiAirTech); @@ -321,8 +319,7 @@ function research() if (!found) found = evalResearch(lab, SYSTEM_UPGRADES); - //Use default AA until stormbringer. - if (random(100) < 40 && countEnemyVTOL() && !isStructureAvailable("P0-AASite-Laser")) + if (random(100) < 40 && countEnemyVTOL()) { if (!found) found = evalResearch(lab, antiAirTech); @@ -382,8 +379,7 @@ function research() if (!found && useArti && random(100) < antiCyborgChance) found = evalResearch(lab, artilleryTech); - //Use default AA until stormbringer. - if (random(100) < 40 && countEnemyVTOL() && !isStructureAvailable("P0-AASite-Laser")) + if (random(100) < 40 && countEnemyVTOL()) { if (!found) found = evalResearch(lab, antiAirTech);