Toujours lutter sur les data

This commit is contained in:
Vincent Vandemeulebrouck
2021-03-09 00:27:09 +01:00
parent ebf4e08766
commit fcec20ed2e
33 changed files with 299 additions and 570 deletions

View File

@@ -20,7 +20,9 @@ export const referenceAjustements = {
competence: {
isUsed: (rollData, actor) => rollData.competence,
getLabel: (rollData, actor) => rollData.competence?.name,
getValue: (rollData, actor) => rollData.competence?.data?.data.niveau,
getValue: (rollData, actor) => {
return rollData.competence?.data.niveau;
},
},
meditation: {
isUsed: (rollData, actor) => rollData.meditation,