Merge branch 'development' into feature/death-moves

This commit is contained in:
WBHarry 2026-01-13 22:37:07 +01:00
commit 7ca4a5fae2
3 changed files with 4 additions and 2 deletions

View file

@ -311,7 +311,7 @@ Hooks.on('chatMessage', (_, message) => {
target,
difficulty,
title,
label: 'test',
label: game.i18n.localize('DAGGERHEART.GENERAL.dualityRoll'),
actionType: null,
advantage
});

View file

@ -278,6 +278,8 @@ export default class DualityRoll extends D20Roll {
}
static async handleTriggers(roll, config) {
if (!config.source?.actor) return;
const updates = [];
const dualityUpdates = await game.system.registeredTriggers.runTrigger(
CONFIG.DH.TRIGGER.triggers.dualityRoll.id,

View file

@ -86,9 +86,9 @@ export const enrichedDualityRoll = async (
const config = {
event: event ?? {},
title: title,
headerTitle: label,
roll: {
trait: traitValue && target ? traitValue : null,
label: label,
difficulty: difficulty,
advantage,
type: reaction ? 'reaction' : null