Added Army/Cohort/Fortification raw sheet and js

This commit is contained in:
Vlyan
2021-10-01 19:51:43 +02:00
parent 0491bcc96e
commit b5a21f950e
30 changed files with 1288 additions and 576 deletions

View File

@@ -55,6 +55,23 @@ export class ActorL5r5e extends Actor {
{ overwrite: false }
);
break;
case "army":
foundry.utils.mergeObject(
data.token,
{
actorLink: true,
disposition: 0, // neutral
bar1: {
attribute: "battle_readiness.casualties_strength",
},
bar2: {
attribute: "battle_readiness.panic_discipline",
},
},
{ overwrite: false }
);
break;
}
await super.create(data, options);
}