Added hints

This commit is contained in:
WBHarry 2025-07-15 03:30:41 +02:00
parent 52f62014f9
commit c4435e290e
4 changed files with 32 additions and 10 deletions

View file

@ -73,6 +73,9 @@ export default class DhActiveEffectConfig extends foundry.applications.sheets.Ac
const element = document.createElement('li');
element.innerHTML = `${beforeText}${matchText ? `<strong>${matchText}</strong>` : ''}${after}`;
if (item.hint) {
element.dataset.tooltip = game.i18n.localize(item.hint);
}
return element;
},