.dungeon/module/documents/ActiveEffect/GenericActiveEffect.mjs
2024-04-20 22:08:23 -06:00

7 lines
256 B
JavaScript

export class DotDungeonActiveEffect extends ActiveEffect {
// Invert the logic of the disabled property so it's easier to modify via
// embedded controls
get enabled() { return !this.disabled };
set enabled(newValue) { this.disabled = !newValue };
};