Flattened automation structure

This commit is contained in:
WBHarry 2026-01-28 00:56:39 +01:00
parent b304414c08
commit ffc353dd16
3 changed files with 22 additions and 22 deletions

View file

@ -164,8 +164,10 @@ export default class DhDeathMove extends HandlebarsApplicationMixin(ApplicationV
let result = '';
const deathMoveAutomation = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation)
.deathMoves.automation;
const deathMoveAutomation = game.settings.get(
CONFIG.DH.id,
CONFIG.DH.SETTINGS.gameSettings.Automation
).deathMoveAutomation;
if (CONFIG.DH.GENERAL.deathMoves.blazeOfGlory === this.selectedMove) {
result = await this.handleBlazeOfGlory(deathMoveAutomation.blazeOfGlory);
}