enrich effects tab in actor sheet with more detail
This commit is contained in:
parent
bd27aafe01
commit
8d32d0e3bb
6 changed files with 29 additions and 5 deletions
|
@ -53,6 +53,8 @@ export class DS4ActorSheet extends ActorSheet<ActorSheet.Options, DS4ActorSheetD
|
|||
...effect.toObject(),
|
||||
icon: effect.data.icon ?? DS4ActiveEffect.FALLBACK_ICON,
|
||||
sourceName: await effect.getCurrentSourceName(),
|
||||
factor: effect.factor,
|
||||
isEffectivelyEnabled: !effect.data.disabled && !effect.isSurpressed,
|
||||
};
|
||||
});
|
||||
const enrichedEffects = await Promise.all(enrichedEffectPromises);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue