This commit is contained in:
Johannes Loher 2021-03-13 17:47:47 +01:00
parent 9c1d2f081a
commit bafb770178

View file

@ -36,7 +36,7 @@ export class DS4Check extends DiceTerm {
this.number = getRequiredNumberOfDice(this.checkTargetNumber);
// Parse and store minimumCoupResult and maximumFumbleResult
// Parse and store maximumCoupResult and minimumFumbleResult
const coupFumbleModifier = this.modifiers.filter((m) => m[0] === "c")[0];
const cfmRgx = new RegExp("c([0-9]+)?,([0-9]+)?");
const cfmMatch = coupFumbleModifier?.match(cfmRgx);