From 1af06f568a77a32879da4ae76af584a1cf5adb3a Mon Sep 17 00:00:00 2001 From: Adam Svoboda Date: Mon, 4 Nov 2024 16:01:38 +0100 Subject: [PATCH] Fix unlock/curse with temporary mgk --- js/game_loop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/game_loop.js b/js/game_loop.js index beb77299..6198a193 100644 --- a/js/game_loop.js +++ b/js/game_loop.js @@ -1279,7 +1279,7 @@ function resolveAction(button){ //Yeah, this is bad, like really bad } if (enemyType.includes("Locked")){ - if (playerMgkMax<2){ + if (playerMgk<2){ logPlayerAction(actionString,"Not enough mana, requires +2 🔵"); displayPlayerCannotEffect(); break; @@ -1543,7 +1543,7 @@ function resolveAction(button){ //Yeah, this is bad, like really bad break; } - if (playerMgkMax<2){ + if (playerMgk<2){ logPlayerAction(actionString,"Not enough mana, requires +2 🔵"); displayPlayerCannotEffect(); break;