refactor: migrate COA (#1309)
Some checks are pending
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run

* refactor: migrate COA

* fix: PR feedback
This commit is contained in:
Marc Emmanuel 2026-02-15 16:11:59 +01:00 committed by GitHub
parent 1100c7c53b
commit 4936a887ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 4691 additions and 4266 deletions

View file

@ -330,7 +330,7 @@ class ProvinceModule {
: P(0.3);
const kinship = dominion ? 0 : 0.4;
const type = Burgs.getType(center, burgs[burg]?.port);
const coa = COA.generate(s.coa, kinship, dominion, type);
const coa = COA.generate(s.coa, kinship, dominion ? 1 : 0, type);
coa.shield = COA.getShield(c, s.i);
provinces.push({