This implements critical failures in a similar manner to critical success rolls. I had to extend the built-in Die class because of some limitations on overriding the "d" term, so you now roll a dp die instead of a d10. You can handle "imploding" dice by adding an ix modifier to the roll (e.g., dpixo1 would implode on a roll of 1). The default roll in settings.js has been updated to handle both imploding and exploding dice (crit success and crit fails):
default: "dpixo1xo10",
The chat messages properly show and color the rerolled dice (with crit fails being red) to make it easy to follow the formula in chat:
This implements critical failures in a similar manner to critical success rolls. I had to extend the built-in
Die
class because of some limitations on overriding the "d" term, so you now roll adp
die instead of a d10. You can handle "imploding" dice by adding anix
modifier to the roll (e.g.,dpixo1
would implode on a roll of 1). The default roll in settings.js has been updated to handle both imploding and exploding dice (crit success and crit fails):The chat messages properly show and color the rerolled dice (with crit fails being red) to make it easy to follow the formula in chat: