Skip to content

Commit

Permalink
Changes to wealth dice
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed Sep 4, 2024
1 parent 5f191b1 commit 3098281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/classes/DDBClass.js
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ export default class DDBClass {
}

_generateWealth() {
if (!this.ddbClassDefinition.wealthDice) return;
const diceString = this.ddbClassDefinition.wealthDice.diceString;
const diceMultiplier = this.ddbClassDefinition.wealthDice.diceMultiplier;
this.data.system.wealth = diceMultiplier && diceString
Expand Down

0 comments on commit 3098281

Please sign in to comment.