[Feature] Active Effects toggle effects based in token distance (#452)

* Added the ability for effects to automatically activate/deactivate depending on range between tokens

* Fixed to use Foundry's measuring instead.

* .
This commit is contained in:
WBHarry 2025-07-30 15:57:06 +02:00 committed by GitHub
parent 18fac18df3
commit 46baef65a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 162 additions and 29 deletions

View file

@ -23,6 +23,12 @@ export default class DhAutomation extends foundry.abstract.DataModel {
required: true,
initial: true,
label: 'DAGGERHEART.SETTINGS.Automation.FIELDS.hordeDamage.label'
}),
effects: new fields.SchemaField({
rangeDependent: new fields.BooleanField({
initial: true,
label: 'DAGGERHEART.SETTINGS.Automation.FIELDS.effects.rangeDependent.label'
})
})
};
}