Gestion des compteur et du Stress

This commit is contained in:
2020-08-29 22:52:41 +02:00
parent 1fd3c9d22f
commit ca8bf7f6d5
7 changed files with 130 additions and 25 deletions

View File

@ -329,7 +329,7 @@ export class RdDUtility {
/* -------------------------------------------- */
// Build the nice (?) html table used to manage fatigue.
// max should be the endurance max value
// max should Mbe the endurance max value
static makeHTMLfatigueMatrix( value, max )
{
max = (max < 16) ? 16 : max;
@ -442,8 +442,7 @@ export class RdDUtility {
return -7; // This is the max !
}
/* -------------------------------------------- */
/* -------------------------------------------- */
static findCompetence(compList, compName)
{
for (const item of compList) {