MDL/ADRL fixes + MR fixes

This commit is contained in:
2023-09-19 15:46:02 +02:00
parent bbf0f31d4c
commit 1b655a9c0e
6 changed files with 98 additions and 68 deletions

View File

@@ -296,6 +296,13 @@ export class PegasusRollDialog extends Dialog {
PegasusUtility.removeFromDicePool(this.rollData, idx)
this.refreshDialog()
})
html.find('.pool-remove-hindrance-dice').click(async (event) => {
if (this.rollData.hindranceDices > this.rollData.minHindranceDices) {
this.rollData.hindranceDices--;
}
this.refreshDialog()
})
}