Skip to content

Commit

Permalink
Bunker Buster choice tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
KJeff01 committed Aug 26, 2020
1 parent daa805c commit 38c6c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multiplay/skirmish/cobra_includes/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function chooseRandomVTOLWeapon()
}

//Rare chance to make a Sunburst VTOL if we use Rocket AA.
if ((returnAntiAirAlias() === "rktaa") && (random(100) < 8) && playerVtolRatio(getMostHarmfulPlayer()) >= 0.10)
if ((returnAntiAirAlias() === "rktaa") && (random(100) < 8) && playerVtolRatio(getMostHarmfulPlayer()) >= 0.25)
{
weaps = weaponStats.rockets_AA;
}
Expand Down Expand Up @@ -195,7 +195,7 @@ function choosePersonalityWeapon(type)
}

// Allow small chance for Bunker Busters if main weapons lines are rockets.
if (!skip && ((random(100) < 7) && personalityIsRocketMain() && (playerStructureUnitRatio(getMostHarmfulPlayer()) >= 0.10)))
if (!skip && ((random(100) < 7) && personalityIsRocketMain() && (playerStructureUnitRatio(getMostHarmfulPlayer()) >= 0.25)))
{
weaponList = [];
skip = true;
Expand Down

0 comments on commit 38c6c79

Please sign in to comment.