[Feature] Advanced Effect Settings (#1523)

* Added VaultActive and LoadoutIgnore

* Added DomainTouched support

* Naming change

* .

* Improved labels
This commit is contained in:
WBHarry 2026-01-13 10:32:16 +01:00 committed by GitHub
parent 27b7758f7d
commit d823501d91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 102 additions and 41 deletions

View file

@ -20,7 +20,10 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
}
if (this.parent?.type === 'domainCard') {
return this.parent.system.inVault;
const isVaultSupressed = this.parent.system.isVaultSupressed;
const domainTouchedSupressed = this.parent.system.isDomainTouchedSuppressed;
return isVaultSupressed || domainTouchedSupressed;
}
return super.isSuppressed;