mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
Action Roll DiceSet type
This commit is contained in:
parent
b25e1cec78
commit
4ffcd115e7
17 changed files with 256 additions and 134 deletions
|
|
@ -77,3 +77,31 @@ export const damageOnSave = {
|
|||
mod: 1
|
||||
}
|
||||
}
|
||||
|
||||
export const diceCompare = {
|
||||
below: {
|
||||
id: 'below',
|
||||
label: 'Below',
|
||||
operator: '<'
|
||||
},
|
||||
belowEqual: {
|
||||
id: 'belowEqual',
|
||||
label: 'Below or Equal',
|
||||
operator: '<='
|
||||
},
|
||||
equal: {
|
||||
id: 'equal',
|
||||
label: 'Equal',
|
||||
operator: '='
|
||||
},
|
||||
aboveEqual: {
|
||||
id: 'aboveEqual',
|
||||
label: 'Above or Equal',
|
||||
operator: '>='
|
||||
},
|
||||
above: {
|
||||
id: 'above',
|
||||
label: 'Above',
|
||||
operator: '>'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -313,11 +313,20 @@ export const diceTypes = {
|
|||
};
|
||||
|
||||
export const multiplierTypes = {
|
||||
proficiency: 'Proficiency',
|
||||
spellcast: 'Spellcast',
|
||||
prof: 'Proficiency',
|
||||
cast: 'Spellcast',
|
||||
scale: 'Cost Scaling',
|
||||
result: 'Roll Result',
|
||||
flat: 'Flat'
|
||||
};
|
||||
|
||||
export const diceSetNumbers = {
|
||||
prof: 'Proficiency',
|
||||
cast: 'Spellcast',
|
||||
scale: 'Cost Scaling',
|
||||
flat: 'Flat'
|
||||
}
|
||||
|
||||
export const getDiceSoNicePresets = () => {
|
||||
const { diceSoNice } = game.settings.get(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.appearance);
|
||||
|
||||
|
|
@ -437,6 +446,10 @@ export const rollTypes = {
|
|||
ability: {
|
||||
id: 'ability',
|
||||
label: 'DAGGERHEART.RollTypes.ability.name'
|
||||
},
|
||||
diceSet: {
|
||||
id: 'diceSet',
|
||||
label: 'DAGGERHEART.RollTypes.diceSet.name'
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue