mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-15 16:25:44 +00:00
dogpile mode update
This commit is contained in:
@@ -174,6 +174,10 @@ export class FakeHumanExecution implements Execution {
|
||||
}
|
||||
|
||||
private maybeAttack() {
|
||||
// ❗ During dogpile mode, turn off random attacks
|
||||
if (this.dogpileTarget != null) {
|
||||
return;
|
||||
} // Skip maybeAttack entirely
|
||||
const enemyborder = Array.from(this.player.borderTiles())
|
||||
.flatMap((t) => this.mg.neighbors(t))
|
||||
.filter(
|
||||
|
||||
Reference in New Issue
Block a user