mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 00:13:39 +02:00
.
This commit is contained in:
parent
9dc5830e18
commit
a76479e9b7
5 changed files with 44 additions and 30 deletions
|
|
@ -50,6 +50,10 @@ export default class ArmorSheet extends ItemAttachmentSheet(DHBaseItemSheet) {
|
|||
context.features = this.document.system.armorFeatures.map(x => x.value);
|
||||
context.armorScore = this.document.system.armorData.max;
|
||||
break;
|
||||
case 'effects':
|
||||
context.effects.actives = context.effects.actives.filter(x => x.type !== 'armor');
|
||||
context.effects.inactives = context.effects.actives.filter(x => x.type !== 'armor');
|
||||
break;
|
||||
}
|
||||
|
||||
return context;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue