mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Made change in enricher instead of dialog
This commit is contained in:
parent
721135ab0b
commit
7dcd3b24d8
2 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ export default class D20RollDialog extends HandlebarsApplicationMixin(Applicatio
|
|||
this.roll = roll;
|
||||
this.config = config;
|
||||
this.config.experiences = [];
|
||||
this.reactionOverride = config.actionType === 'reaction'|| config.roll?.type === 'reaction';
|
||||
this.reactionOverride = config.actionType === 'reaction';
|
||||
this.selectedEffects = this.config.bonusEffects;
|
||||
|
||||
if (config.source?.action) {
|
||||
|
|
|
|||
|
|
@ -90,11 +90,12 @@ export const enrichedDualityRoll = async (
|
|||
event: event ?? {},
|
||||
title: title,
|
||||
headerTitle: label,
|
||||
actionType: reaction ? 'reaction' : null,
|
||||
roll: {
|
||||
trait: traitValue && target ? traitValue : null,
|
||||
difficulty: difficulty,
|
||||
advantage,
|
||||
type: reaction ? 'reaction' : null
|
||||
// type: reaction ? 'reaction' : null //not needed really but keeping it for troubleshooting
|
||||
},
|
||||
skips: {
|
||||
resources: !grantResources,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue