Skip to content

Commit

Permalink
Remove redundant enemy bot force adjustment
Browse files Browse the repository at this point in the history
The code to adjust the BV and unit count for enemy bot forces was removed as it was redundant. This adjustment was not utilized elsewhere in the code and was unnecessary for the logic flow.
  • Loading branch information
IllianiCBT committed Oct 13, 2024
1 parent 3f7540e commit f31721b
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,6 @@ private static int generateForces(AtBDynamicScenario scenario, AtBContract contr
} else {
int weightClass = randomForceWeight();

if (forceTemplate.isEnemyBotForce()) {
int adjustedBV = effectiveBV * (targetPercentage / 100);
int adjustedUnitCount = effectiveUnitCount * (targetPercentage / 100);
}

generatedLanceCount += generateForce(scenario, contract, campaign,
effectiveBV, effectiveUnitCount, weightClass, forceTemplate, false);
}
Expand Down

0 comments on commit f31721b

Please sign in to comment.