mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 15:33:37 +02:00
.
This commit is contained in:
parent
bfcbb9f290
commit
9028a9efb3
8 changed files with 2 additions and 92 deletions
|
|
@ -78,7 +78,7 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
|
|||
throw new Error('The array of sub-types to restrict to must not be empty.');
|
||||
}
|
||||
|
||||
const creatableEffects = types || ['base', 'armor'];
|
||||
const creatableEffects = types || ['base'];
|
||||
const documentTypes = this.TYPES.filter(type => creatableEffects.includes(type)).map(type => {
|
||||
const labelKey = `TYPES.ActiveEffect.${type}`;
|
||||
const label = game.i18n.has(labelKey) ? game.i18n.localize(labelKey) : type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue