mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Feature/683 damage dialog options (#735)
* Temp solution for specific weapon feature * Add Serrated & Self-Correcting * Remove comments
This commit is contained in:
parent
1c000c7cfe
commit
585601c134
18 changed files with 177 additions and 118 deletions
|
|
@ -36,6 +36,8 @@ export default class DHRoll extends Roll {
|
|||
|
||||
this.applyKeybindings(config);
|
||||
|
||||
this.temporaryModifierBuilder(config);
|
||||
|
||||
let roll = new this(config.roll.formula, config.data, config);
|
||||
if (config.dialog.configure !== false) {
|
||||
// Open Roll Dialog
|
||||
|
|
@ -207,6 +209,10 @@ export default class DHRoll extends Roll {
|
|||
}
|
||||
return modifierTotal;
|
||||
}
|
||||
|
||||
static temporaryModifierBuilder(config) {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
export const registerRollDiceHooks = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue