This commit is contained in:
WBHarry 2026-01-13 01:27:18 +01:00
parent 1d068a380d
commit 0d967a2fe4
2 changed files with 9 additions and 12 deletions

View file

@ -65,17 +65,6 @@ export default class DHDomainCard extends BaseDataItem {
return matchingDomainCards < this.parent.system.domainTouched;
}
get cannotUse() {
if (this.isDomainTouchedSuppressed) {
return ui.notifications.warn(
game.i18n.format('DAGGERHEART.UI.Notifications.domainTouchRequirement', {
nr: this.domainTouched,
domain: game.i18n.localize(CONFIG.DH.DOMAIN.allDomains()[this.domain].label)
})
);
}
}
/* -------------------------------------------- */
/**@override */