Selaa lähdekoodia

fix: text description of success cutoff variant

tags/v0.3.3
bertieb 3 vuotta sitten
vanhempi
commit
13a835fa82
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/ts/frontend.ts

+ 1
- 1
src/ts/frontend.ts Näytä tiedosto

@@ -346,7 +346,7 @@ function numberWithCommas(x:number): string {

function describeRolls(resultsProperties: ResultProperties): string {
let output = subTitle("Description");
output += `<p>There were <strong>${resultsProperties.numDice}</strong> Asphodice rolled <strong>${numberWithCommas(resultsProperties.rollstats.numRolls)}</strong> times.</p>`;
output += `<p>There were <strong>${resultsProperties.numDice}</strong> Asphodice rolled <strong>${numberWithCommas(resultsProperties.rollstats.numRolls)}</strong> times, with a success cutoff of <strong>${resultsProperties.diceVariant.slice(-1)}</strong>.</p>`;
return output;
}



Ladataan…
Peruuta
Tallenna