Checkbox et regles d'appel au moral

This commit is contained in:
LeFelis
2021-02-09 23:23:40 +01:00
parent 0c7a0e413d
commit 771622564a
9 changed files with 107 additions and 11 deletions

View File

@ -74,8 +74,8 @@ export const referenceAjustements = {
},
moral: {
isVisible: (rollData, actor) => RdDCarac.isActionPhysique(rollData.selectedCarac),
isUsed: (rollData, actor) => rollData.use?.moral,
getLabel: (rollData, actor) => 'Moral',
isUsed: (rollData, actor) => rollData.use?.appelAuMoral,
getLabel: (rollData, actor) => 'Appel au moral',
getValue: (rollData, actor) => 1
},
moralTotal: {