Added automation settings for wether to have deathmove automation

This commit is contained in:
WBHarry 2026-01-27 20:45:14 +01:00
parent 1e62131a7c
commit cd184cdf01
5 changed files with 49 additions and 14 deletions

View file

@ -60,6 +60,25 @@ export default class DhAutomation extends foundry.abstract.DataModel {
initial: true,
label: 'DAGGERHEART.SETTINGS.Automation.FIELDS.resourceScrollTexts.label'
}),
deathMoves: new fields.SchemaField({
automation: new fields.SchemaField({
avoidDeath: new fields.BooleanField({
required: true,
initial: true,
label: 'DAGGERHEART.CONFIG.DeathMoves.avoidDeath.name'
}),
riskItAll: new fields.BooleanField({
required: true,
initial: true,
label: 'DAGGERHEART.CONFIG.DeathMoves.riskItAll.name'
}),
blazeOfGlory: new fields.BooleanField({
required: true,
initial: true,
label: 'DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.name'
})
})
}),
defeated: new fields.SchemaField({
enabled: new fields.BooleanField({
required: true,