Fixed so that the description message always comes first with the action workflow

This commit is contained in:
WBHarry 2026-02-01 21:05:50 +01:00
parent 668dbdf8f4
commit 4f52d541b4
3 changed files with 10 additions and 1 deletions

View file

@ -68,6 +68,8 @@ export default class DamageField extends fields.SchemaField {
const damageResult = await CONFIG.Dice.daggerheart.DamageRoll.build(damageConfig);
if (!damageResult) return false;
if (damageResult.actionChatMessageHandled) config.actionChatMessageHandled = true;
config.damage = damageResult.damage;
config.message ??= damageConfig.message;
}