mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
[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:
parent
18fac18df3
commit
46baef65a6
12 changed files with 162 additions and 29 deletions
|
|
@ -43,6 +43,40 @@ export const range = {
|
|||
}
|
||||
};
|
||||
|
||||
export const rangeInclusion = {
|
||||
withinRange: {
|
||||
id: 'withinRange',
|
||||
label: 'DAGGERHEART.CONFIG.RangeInclusion.withinRange'
|
||||
},
|
||||
outsideRange: {
|
||||
id: 'outsideRange',
|
||||
label: 'DAGGERHEART.CONFIG.RangeInclusion.outsideRange'
|
||||
}
|
||||
};
|
||||
|
||||
export const otherTargetTypes = {
|
||||
friendly: {
|
||||
id: 'friendly',
|
||||
label: 'Friendly'
|
||||
},
|
||||
hostile: {
|
||||
id: 'hostile',
|
||||
label: 'Hostile'
|
||||
},
|
||||
any: {
|
||||
id: 'any',
|
||||
label: 'Any'
|
||||
}
|
||||
};
|
||||
|
||||
export const targetTypes = {
|
||||
self: {
|
||||
id: 'self',
|
||||
label: 'Self'
|
||||
},
|
||||
...otherTargetTypes
|
||||
};
|
||||
|
||||
export const burden = {
|
||||
oneHanded: {
|
||||
value: 'oneHanded',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue