mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-04-03 22:17:24 +02:00
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
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:
parent
1100c7c53b
commit
4936a887ab
32 changed files with 4691 additions and 4266 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue