From cdf1522eaf69096e6852c948c157d857f384ce8f Mon Sep 17 00:00:00 2001
From: lily-ac <137958794+lily-ac@users.noreply.github.com>
Date: Sat, 24 Aug 2024 17:02:53 +0100
Subject: [PATCH] Add "1 hit" option for multi-hit moves (#637)
---
src/js/shared_controls.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/js/shared_controls.js b/src/js/shared_controls.js
index 34655c943..372577630 100644
--- a/src/js/shared_controls.js
+++ b/src/js/shared_controls.js
@@ -528,7 +528,7 @@ $(".move-selector").change(function () {
moveGroupObj.children(".move-hits").append("");
}
} else {
- for (var i = move.multihit[0]; i <= move.multihit[1]; i++) {
+ for (var i = 1; i <= move.multihit[1]; i++) {
moveGroupObj.children(".move-hits").append("");
}
}