mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
.
This commit is contained in:
parent
91d22292e1
commit
08c9c86d48
5 changed files with 95 additions and 52 deletions
|
|
@ -28,7 +28,7 @@ export default class DhRollTable extends foundry.abstract.TypeDataModel {
|
|||
}
|
||||
|
||||
getActiveFormula(baseFormula) {
|
||||
return this.activeAltFormula ? (this.altFormula[this.activeAltFormula].formula ?? baseFormula) : baseFormula;
|
||||
return this.activeAltFormula ? (this.altFormula[this.activeAltFormula]?.formula ?? baseFormula) : baseFormula;
|
||||
}
|
||||
|
||||
static getDefaultFormula = () => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue