Ameliorations lancer de sort
This commit is contained in:
parent
fed92b9be3
commit
bd78b80c24
@ -263,6 +263,9 @@ export class RdDResolutionTable {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static buildHTMLResults(caracValue, levelValue) {
|
static buildHTMLResults(caracValue, levelValue) {
|
||||||
|
if ( caracValue == undefined || isNaN(caracValue )) caracValue = 10;
|
||||||
|
if ( levelValue == undefined || isNaN(levelValue )) levelValue = 0;
|
||||||
|
|
||||||
let cell = this.computeChances(caracValue, levelValue);
|
let cell = this.computeChances(caracValue, levelValue);
|
||||||
cell.epart = cell.epart > 99 ? 'N/A' : cell.epart;
|
cell.epart = cell.epart > 99 ? 'N/A' : cell.epart;
|
||||||
cell.etotal = cell.etotal > 100 ? 'N/A' : cell.etotal;
|
cell.etotal = cell.etotal > 100 ? 'N/A' : cell.etotal;
|
||||||
|
Loading…
Reference in New Issue
Block a user