diff --git a/src/ts/parser.ts b/src/ts/parser.ts index 97bd908e..41c8cdf1 100644 --- a/src/ts/parser.ts +++ b/src/ts/parser.ts @@ -605,7 +605,7 @@ const matcher = (p1:string,matcherArg:matcherArg) => { if(isNaN(maxRoll)){ return 'NaN' } - return Math.floor(Math.random() * maxRoll).toString() + return (Math.floor(Math.random() * maxRoll) + 1).toString() } return null }