mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[BUG] DiceSoNice fix (#312)
* Fixed DiceSoNice integration again * PR fixes * Improved with tertiary
This commit is contained in:
parent
b3e7c6b9b2
commit
70239ec06a
4 changed files with 9 additions and 15 deletions
|
|
@ -154,7 +154,7 @@ export const registerRollDiceHooks = () => {
|
|||
|
||||
if (updates.length) actor.modifyResource(updates);
|
||||
|
||||
if (!config.roll.hasOwnProperty('success') && !config.targets.length) return;
|
||||
if (!config.roll.hasOwnProperty('success') && !config.targets?.length) return;
|
||||
|
||||
const rollResult = config.roll.success || config.targets.some(t => t.hit),
|
||||
looseSpotlight = !rollResult || config.roll.result.duality === -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue