RC-107 | Display the protection values of the equipped armours
This commit is contained in:
parent
afc8278ffc
commit
67602779ed
3 changed files with 13 additions and 3 deletions
|
|
@ -152,7 +152,7 @@ export class HeroData extends foundry.abstract.TypeDataModel {
|
|||
get equippedArmour() {
|
||||
const armours = this.parent.itemTypes.armour;
|
||||
const slots = Object.fromEntries(
|
||||
gameTerms.Anatomy.map(v => [v, null]),
|
||||
Object.values(gameTerms.Anatomy).map(v => [v, null]),
|
||||
);
|
||||
for (const armour of armours) {
|
||||
if (!armour.system.equipped) { continue };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue