From bc840384bf948650c194cc1588e1b4b233d7fd63 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 27 Jul 2025 23:10:07 +0200 Subject: [PATCH] Fixed so trait modifier comes along correctly --- module/enrichers/DualityRollEnricher.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/enrichers/DualityRollEnricher.mjs b/module/enrichers/DualityRollEnricher.mjs index 2b968945..65fc69ea 100644 --- a/module/enrichers/DualityRollEnricher.mjs +++ b/module/enrichers/DualityRollEnricher.mjs @@ -84,7 +84,7 @@ export const enrichedDualityRoll = async ( event: event ?? {}, title: title, roll: { - modifier: traitValue && target ? target.system.traits[traitValue].value : null, + trait: traitValue && target ? traitValue : null, label: label, difficulty: difficulty, advantage,