Fixed so trait modifier comes along correctly

This commit is contained in:
WBHarry 2025-07-27 23:10:07 +02:00
parent 998e91004e
commit bc840384bf

View file

@ -84,7 +84,7 @@ export const enrichedDualityRoll = async (
event: event ?? {}, event: event ?? {},
title: title, title: title,
roll: { roll: {
modifier: traitValue && target ? target.system.traits[traitValue].value : null, trait: traitValue && target ? traitValue : null,
label: label, label: label,
difficulty: difficulty, difficulty: difficulty,
advantage, advantage,