mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Added the ability for effects to automatically activate/deactivate depending on range between tokens
This commit is contained in:
parent
4defe69c21
commit
b80f598625
13 changed files with 218 additions and 30 deletions
|
|
@ -43,25 +43,6 @@ export const actionTypes = {
|
|||
}
|
||||
};
|
||||
|
||||
export const targetTypes = {
|
||||
self: {
|
||||
id: 'self',
|
||||
label: 'Self'
|
||||
},
|
||||
friendly: {
|
||||
id: 'friendly',
|
||||
label: 'Friendly'
|
||||
},
|
||||
hostile: {
|
||||
id: 'hostile',
|
||||
label: 'Hostile'
|
||||
},
|
||||
any: {
|
||||
id: 'any',
|
||||
label: 'Any'
|
||||
}
|
||||
};
|
||||
|
||||
export const damageOnSave = {
|
||||
none: {
|
||||
id: 'none',
|
||||
|
|
|
|||
|
|
@ -43,6 +43,52 @@ export const range = {
|
|||
}
|
||||
};
|
||||
|
||||
export const compareOperator = {
|
||||
lessThan: {
|
||||
id: 'lessThan',
|
||||
label: 'DAGGERHEART.CONFIG.CompareOperator.lessThan'
|
||||
},
|
||||
lessThanEqual: {
|
||||
id: 'lessThanEqual',
|
||||
label: 'DAGGERHEART.CONFIG.CompareOperator.lessThanEqual'
|
||||
},
|
||||
equal: {
|
||||
id: 'equal',
|
||||
label: 'DAGGERHEART.CONFIG.CompareOperator.equal'
|
||||
},
|
||||
moreThanEqual: {
|
||||
id: 'moreThanEqual',
|
||||
label: 'DAGGERHEART.CONFIG.CompareOperator.moreThanEqual'
|
||||
},
|
||||
moreThan: {
|
||||
id: 'moreThan',
|
||||
label: 'DAGGERHEART.CONFIG.CompareOperator.moreThan'
|
||||
}
|
||||
};
|
||||
|
||||
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