mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
v1.5.13 - Anarchy state form
This commit is contained in:
parent
a5b2f23cee
commit
d25965b618
4 changed files with 82 additions and 72 deletions
|
|
@ -52,7 +52,7 @@
|
|||
for (const unit of options.military) {
|
||||
if (!stateModifier[unit.type]) continue;
|
||||
let modifier = stateModifier[unit.type][s.type] || 1;
|
||||
if (unit.type === "mounted" && s.form === "Horde") modifier *= 2; else
|
||||
if (unit.type === "mounted" && s.formName.includes("Horde")) modifier *= 2; else
|
||||
if (unit.type === "naval" && s.form === "Republic") modifier *= 1.2;
|
||||
temp[unit.name] = modifier * s.alert;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue