Improved description enrichment to not bloat it outside of the CompendiumBrowser

This commit is contained in:
WBHarry 2026-03-07 00:31:33 +01:00
parent 83c3da0130
commit e1fef44d21
7 changed files with 46 additions and 41 deletions

View file

@ -109,7 +109,7 @@ export default class DHWeapon extends AttachableItem {
}
/**@inheritdoc */
async getDescriptionData() {
async getDescriptionData({ inCompendiumBrowser }) {
const baseDescription = this.description;
const tier = game.i18n.localize(`DAGGERHEART.GENERAL.Tiers.${this.tier}`);
@ -129,7 +129,8 @@ export default class DHWeapon extends AttachableItem {
trait,
range,
damage,
burden
burden,
inCompendiumBrowser
}
);