Add new compendiums

This commit is contained in:
2022-07-30 23:29:55 +02:00
parent 3957a6aa9f
commit 39c0e8c30a
4 changed files with 53 additions and 3 deletions

View File

@ -70,6 +70,10 @@ export class CrucibleRollDialog extends Dialog {
this.rollData.advantage = "disadvantage"
this.refreshDialog()
})
html.find('#roll-with-advantage-clicked').change((event) => {
this.rollData.rollAdvantage = !this.rollData.rollAdvantage
this.refreshDialog()
})
html.find('#featDieName').change((event) => {
this.rollData.featDieName = event.currentTarget.value
})