mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 01:22:43 +00:00
Merge branch 'meta3AI' of https://github.com/openfrontio/OpenFrontIO into meta3AI
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -118,7 +118,7 @@ export class DefensePostExecution implements Execution {
|
||||
this.target = null;
|
||||
return;
|
||||
} else {
|
||||
//this.shoot();
|
||||
this.shoot();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user