mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 20:21:06 +01:00
[Feature] Advanced Effect Settings (#1523)
* Added VaultActive and LoadoutIgnore * Added DomainTouched support * Naming change * . * Improved labels
This commit is contained in:
parent
27b7758f7d
commit
d823501d91
29 changed files with 102 additions and 41 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue