mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 14:41:35 +00:00
NPCs break alliances less frequently
This commit is contained in:
@@ -146,9 +146,9 @@ export class FakeHumanExecution implements Execution {
|
||||
private shouldAttack(other: Player): boolean {
|
||||
if (this.player.isAlliedWith(other)) {
|
||||
if (this.shouldDiscourageAttack(other)) {
|
||||
return this.random.chance(100);
|
||||
return this.random.chance(200);
|
||||
}
|
||||
return this.random.chance(20);
|
||||
return this.random.chance(50);
|
||||
} else {
|
||||
if (this.shouldDiscourageAttack(other)) {
|
||||
return this.random.chance(4);
|
||||
|
||||
Reference in New Issue
Block a user