mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 23:49:02 +01:00
Fixed DamageEnrihed button
This commit is contained in:
parent
3f2ce54d3e
commit
f08bc584e5
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue