Merge branch 'meta3AI' of https://github.com/openfrontio/OpenFrontIO into meta3AI

This commit is contained in:
1brucben
2025-04-24 05:21:30 +02:00
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -250,7 +250,7 @@ export class DefaultConfig implements Config {
return {
cost: () => 0,
territoryBound: false,
damage: 250,
damage: 200,
};
case UnitType.SAMMissile:
return {
@@ -706,7 +706,7 @@ export class DefaultConfig implements Config {
}
defensePostShellAttackRate(): number {
return 100;
return 120;
}
safeFromPiratesCooldownMax(): number {
+1 -1
View File
@@ -118,7 +118,7 @@ export class DefensePostExecution implements Execution {
this.target = null;
return;
} else {
//this.shoot();
this.shoot();
return;
}
}
+1
View File
@@ -145,6 +145,7 @@ export class WarshipExecution implements Execution {
(unit.type() !== UnitType.TradeShip ||
(hasPort &&
unit.dstPort()?.owner() !== this.warship.owner() &&
!unit.dstPort()?.owner().isFriendly(this.warship.owner()) &&
unit.isSafeFromPirates() !== true)),
);