Add hindrance dice
This commit is contained in:
parent
ba98d9c264
commit
47db569efd
@ -870,7 +870,7 @@ export class PegasusUtility {
|
|||||||
rollData.roll = myRoll
|
rollData.roll = myRoll
|
||||||
}
|
}
|
||||||
if (rollData.hindranceDices > 0) {
|
if (rollData.hindranceDices > 0) {
|
||||||
rollData.hindranceRoll = new Roll(rollData.hindranceDices + "d6").roll({ async: false })
|
rollData.hindranceRoll = new Roll(rollData.hindranceDices + "dh").roll({ async: false })
|
||||||
this.showDiceSoNice(rollData.hindranceRoll, game.settings.get("core", "rollMode"))
|
this.showDiceSoNice(rollData.hindranceRoll, game.settings.get("core", "rollMode"))
|
||||||
for (let res of rollData.hindranceRoll.terms[0].results) {
|
for (let res of rollData.hindranceRoll.terms[0].results) {
|
||||||
if (res.result == 6) {
|
if (res.result == 6) {
|
||||||
|
Loading…
Reference in New Issue
Block a user