mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 08:23:38 +02:00
Fixed so that features gained from companion levleup are granted properly to its partner
This commit is contained in:
parent
4150de757b
commit
d9797a6392
5 changed files with 69 additions and 51 deletions
|
|
@ -139,6 +139,7 @@ export default class DHRoll extends Roll {
|
|||
export const registerRollDiceHooks = () => {
|
||||
Hooks.on(`${CONFIG.DH.id}.postRollDuality`, async (config, message) => {
|
||||
if (
|
||||
!config.source?.actor ||
|
||||
!game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation).hope ||
|
||||
config.roll.type === 'reaction'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue