NPCs break alliances less frequently

This commit is contained in:
Evan
2025-02-09 10:37:10 -08:00
parent 1b6172ee4b
commit 8d690c0130
+2 -2
View File
@@ -146,9 +146,9 @@ export class FakeHumanExecution implements Execution {
private shouldAttack(other: Player): boolean { private shouldAttack(other: Player): boolean {
if (this.player.isAlliedWith(other)) { if (this.player.isAlliedWith(other)) {
if (this.shouldDiscourageAttack(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 { } else {
if (this.shouldDiscourageAttack(other)) { if (this.shouldDiscourageAttack(other)) {
return this.random.chance(4); return this.random.chance(4);