From 13a835fa823a5070baff5d8ddf8f16a5c4383d6b Mon Sep 17 00:00:00 2001 From: bertieb Date: Tue, 23 Feb 2021 17:12:37 +0000 Subject: [PATCH] fix: text description of success cutoff variant --- src/ts/frontend.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/frontend.ts b/src/ts/frontend.ts index 73b24bd..1a92315 100644 --- a/src/ts/frontend.ts +++ b/src/ts/frontend.ts @@ -346,7 +346,7 @@ function numberWithCommas(x:number): string { function describeRolls(resultsProperties: ResultProperties): string { let output = subTitle("Description"); - output += `

There were ${resultsProperties.numDice} Asphodice rolled ${numberWithCommas(resultsProperties.rollstats.numRolls)} times.

`; + output += `

There were ${resultsProperties.numDice} Asphodice rolled ${numberWithCommas(resultsProperties.rollstats.numRolls)} times, with a success cutoff of ${resultsProperties.diceVariant.slice(-1)}.

`; return output; }