mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 17:56:39 +00:00
Increase SAM search radius and cap cost at 3mil (#529)
Fixes https://github.com/openfrontio/OpenFrontIO/issues/515 ## Description: Bumping SAM launcher search range from 75 to 100. Also, decreasing the max cost of the SAM to 3 mil (down from 4.5mil) ## Please complete the following: - [x] I have added screenshots for all UI updates - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [X] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: bypie5 --------- Co-authored-by: APuddle210 <david.eskin@gmail.com>
This commit is contained in:
@@ -330,7 +330,7 @@ export class DefaultConfig implements Config {
|
||||
p.type() == PlayerType.Human && this.infiniteGold()
|
||||
? 0
|
||||
: Math.min(
|
||||
1_500_000 * 3,
|
||||
3_000_000,
|
||||
(p.unitsIncludingConstruction(UnitType.SAMLauncher).length +
|
||||
1) *
|
||||
1_500_000,
|
||||
|
||||
@@ -21,7 +21,7 @@ export class SAMLauncherExecution implements Execution {
|
||||
private target: Unit = null;
|
||||
private warheadTargets: Unit[] = [];
|
||||
|
||||
private searchRangeRadius = 75;
|
||||
private searchRangeRadius = 80;
|
||||
// As MIRV go very fast we have to detect them very early but we only
|
||||
// shoot the one targeting very close (MIRVWarheadProtectionRadius)
|
||||
private MIRVWarheadSearchRadius = 400;
|
||||
|
||||
Reference in New Issue
Block a user