mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Feature/443 adversary action roll type (#456)
* Some tests * Filter types choices * Resource/Uses max as FormulaField * Removed isReversed on item resources * Stuffs --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
parent
2608c4a5ae
commit
8e516df7cb
19 changed files with 172 additions and 86 deletions
|
|
@ -85,10 +85,10 @@ export const healingTypes = {
|
|||
label: 'DAGGERHEART.CONFIG.HealingType.hope.name',
|
||||
abbreviation: 'DAGGERHEART.CONFIG.HealingType.hope.abbreviation'
|
||||
},
|
||||
armorStack: {
|
||||
id: 'armorStack',
|
||||
label: 'DAGGERHEART.CONFIG.HealingType.armorStack.name',
|
||||
abbreviation: 'DAGGERHEART.CONFIG.HealingType.armorStack.abbreviation'
|
||||
armorSlot: {
|
||||
id: 'armorSlot',
|
||||
label: 'DAGGERHEART.CONFIG.HealingType.armorSlot.name',
|
||||
abbreviation: 'DAGGERHEART.CONFIG.HealingType.armorSlot.abbreviation'
|
||||
},
|
||||
fear: {
|
||||
id: 'fear',
|
||||
|
|
@ -199,7 +199,7 @@ export const defaultRestOptions = {
|
|||
actionType: 'action',
|
||||
chatDisplay: false,
|
||||
healing: {
|
||||
applyTo: healingTypes.armorStack.id,
|
||||
applyTo: healingTypes.armorSlot.id,
|
||||
value: {
|
||||
custom: {
|
||||
enabled: true,
|
||||
|
|
@ -287,7 +287,7 @@ export const defaultRestOptions = {
|
|||
actionType: 'action',
|
||||
chatDisplay: false,
|
||||
healing: {
|
||||
applyTo: healingTypes.armorStack.id,
|
||||
applyTo: healingTypes.armorSlot.id,
|
||||
value: {
|
||||
custom: {
|
||||
enabled: true,
|
||||
|
|
@ -425,8 +425,8 @@ export const refreshTypes = {
|
|||
};
|
||||
|
||||
export const abilityCosts = {
|
||||
hp: {
|
||||
id: 'hp',
|
||||
hitPoints: {
|
||||
id: 'hitPoints',
|
||||
label: 'DAGGERHEART.CONFIG.HealingType.hitPoints.name',
|
||||
group: 'Global'
|
||||
},
|
||||
|
|
@ -473,11 +473,13 @@ export const rollTypes = {
|
|||
},
|
||||
spellcast: {
|
||||
id: 'spellcast',
|
||||
label: 'DAGGERHEART.CONFIG.RollTypes.spellcast.name'
|
||||
label: 'DAGGERHEART.CONFIG.RollTypes.spellcast.name',
|
||||
playerOnly: true
|
||||
},
|
||||
trait: {
|
||||
id: 'trait',
|
||||
label: 'DAGGERHEART.CONFIG.RollTypes.trait.name'
|
||||
label: 'DAGGERHEART.CONFIG.RollTypes.trait.name',
|
||||
playerOnly: true
|
||||
},
|
||||
diceSet: {
|
||||
id: 'diceSet',
|
||||
|
|
|
|||
|
|
@ -604,7 +604,7 @@ export const weaponFeatures = {
|
|||
img: 'icons/skills/melee/hand-grip-sword-strike-orange.webp',
|
||||
cost: [
|
||||
{
|
||||
type: 'armorStack',
|
||||
type: 'armorSlot',
|
||||
value: 1
|
||||
}
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue