From 38894bff9915937bd115adddf1e0e2dbb0ec5c9f Mon Sep 17 00:00:00 2001 From: David espinosa <104380606+davespser@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:44:23 +0100 Subject: [PATCH] Update characterCreator.js --- js/characterCreator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/characterCreator.js b/js/characterCreator.js index 7f5be3c1..3bd641e5 100644 --- a/js/characterCreator.js +++ b/js/characterCreator.js @@ -71,7 +71,7 @@ submitButton.addEventListener("click", async () => { SPD: (g / 255) * 100, MAG: (b / 255) * 100, DEF: ((r / 255) * 100, - ACC: ((g + b) / (2 * 255) * 100, + ACC: (g + b) / (2 * 255) * 100, VIT: ((r + g + b) / 3 * 255) * 100 };