mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-05 01:51:23 +01:00
Update src/modules/states-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
460f5dbc2f
commit
6a13f70a02
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ class StatesModule {
|
||||||
.forEach((v) => {
|
.forEach((v) => {
|
||||||
attackers.push(v);
|
attackers.push(v);
|
||||||
// TODO: I think here is a bug, it should be ap instead of dp
|
// TODO: I think here is a bug, it should be ap instead of dp
|
||||||
dp += states[v].area! * states[v].expansionism;
|
ap += states[v].area! * states[v].expansionism;
|
||||||
war.push(
|
war.push(
|
||||||
`${states[d].name}'s vassal ${states[v].name} joined the war on attackers side`,
|
`${states[d].name}'s vassal ${states[v].name} joined the war on attackers side`,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue