From 49d9ea1a5ed91fa2d30c6a50bffd008290c824be Mon Sep 17 00:00:00 2001 From: Matthieu MARTIN Date: Fri, 6 Dec 2024 22:56:30 +0100 Subject: [PATCH] Fix max willpower attribute value --- resources/js/Pages/Character/Partials/Status/Willpower.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Pages/Character/Partials/Status/Willpower.vue b/resources/js/Pages/Character/Partials/Status/Willpower.vue index eeb6376..b3b50af 100644 --- a/resources/js/Pages/Character/Partials/Status/Willpower.vue +++ b/resources/js/Pages/Character/Partials/Status/Willpower.vue @@ -16,7 +16,7 @@ const willPowerAttributes = computed(() => { }); }); -const maxWillpowerPoints = willPowerAttributes.value[2]; +const maxWillpowerPoints = willPowerAttributes.value[2].pivot.attribute_value; const showDescription = async (entity, id) => { await modalStore.getDescription(entity, id);