This commit is contained in:
sladecraven 2022-01-23 22:01:13 +01:00
parent e7c67fe479
commit 1dc804697e
2 changed files with 6 additions and 1 deletions

View File

@ -206,7 +206,9 @@ export class YggdrasillUtility {
// Select niveau de competence/arme/carac
if ( rollData.mode != "carac" ) {
niveauCompetence = rollData.competence.data.niveau;
}
} else {
niveauCompetence = rollData.selectedCarac.value;
}
// Bonus/Malus total
rollData.finalBM = rollData.bonusMalus;

View File

@ -56,6 +56,9 @@
{{#if (eq mode "competence")}}
<li>Competence : {{niveauCompetence}}</li>
{{/if}}
{{#if (eq mode "carac")}}
<li>Carac : {{niveauCompetence}}</li>
{{/if}}
<li>Bonus/Malus Final : {{finalBM}}</li>