Fixed DamageEnrihed button

This commit is contained in:
WBHarry 2025-08-25 19:39:38 +02:00
parent 3f2ce54d3e
commit f08bc584e5

View file

@ -71,6 +71,11 @@ export const renderDamageButton = async event => {
title: game.i18n.localize('Damage Roll'), title: game.i18n.localize('Damage Roll'),
data: { bonuses: [] }, data: { bonuses: [] },
source: {}, source: {},
hasDamage: true,
hasTarget: true,
targets: Array.from(game.user.targets).map(t =>
game.system.api.fields.ActionFields.TargetField.formatTarget(t)
),
roll: [ roll: [
{ {
formula: value, formula: value,