Skip to content

Commit 1f5785f

Browse files
committed
add back reroll formula
1 parent 9aa3faf commit 1f5785f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fvtt/page-script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ class FVTTRoll extends Beyond20BaseRoll {
306306
}
307307

308308
cleanupFormula(formula) {
309+
formula = formula.replace(/ro(=|<|<=|>|>=)([0-9]+)/g, "r$1$2");
309310
formula = formula.replace(/(^|\s)+(\d+d\d+)min(\d+)([^\s\+\-]*)/g, "$1{$2$4, $3}kh1");
310311
return super.cleanupFormula(formula);
311312
}

0 commit comments

Comments
 (0)