mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
Fixed so that players rolling reactions will update the message (#1455)
This commit is contained in:
parent
659f73116a
commit
16f6fa98a6
6 changed files with 14 additions and 11 deletions
|
|
@ -293,7 +293,7 @@ export default class DualityRoll extends D20Roll {
|
|||
|
||||
if (!config.roll.hasOwnProperty('success') && !config.targets?.length) return;
|
||||
|
||||
const rollResult = config.roll.success || config.targets.some(t => t.hit),
|
||||
const rollResult = config.roll.success || config.targets?.some(t => t.hit),
|
||||
looseSpotlight = !rollResult || config.roll.result.duality === -1;
|
||||
|
||||
if (looseSpotlight && game.combat?.active) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue