Skip to content

Commit

Permalink
Update dice-hm3.js for toastygm#331
Browse files Browse the repository at this point in the history
+ or - sign added
  • Loading branch information
ulf75 authored Jun 30, 2024
1 parent 47a4aeb commit 5fc8225
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/dice-hm3.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export class DiceHM3 {
title: rollData.label,
origTarget: rollData.target,
modifier: roll.modifier,
plusMinus: roll.modifier < 0 ? "-" : "+",
modifiedTarget: roll.target,
isSuccess: roll.isSuccess,
rollValue: roll.rollObj.total,
Expand Down Expand Up @@ -1270,4 +1271,4 @@ export class DiceHM3 {

return result;
}
}
}

0 comments on commit 5fc8225

Please sign in to comment.