From 407e2e143658423f8ce800b4ec49202da8258e50 Mon Sep 17 00:00:00 2001 From: Enbeon <85409980+ActuallyEnbeon@users.noreply.github.com> Date: Mon, 22 Jul 2024 01:36:51 +0100 Subject: [PATCH] Allow saga abilities to have no chapters (#33) --- js/frames/versionSaga.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/frames/versionSaga.js b/js/frames/versionSaga.js index 503738884..24640f9a4 100644 --- a/js/frames/versionSaga.js +++ b/js/frames/versionSaga.js @@ -92,7 +92,7 @@ function sagaEdited() { sagaContext.fillText(romanNumeral(sagaCount), numeralTextX, numeralTextY - numeralTextSpread); sagaContext.fillText(romanNumeral(sagaCount + 1), numeralTextX, numeralTextY + numeralTextSpread); sagaCount += 2; - } else { + } else if (card.saga.abilities[i] > 2) { var numeralSpread = 2 * scaleHeight(0.0358); var numeralTextSpread = 2 * scaleHeight(0.0358); sagaContext.drawImage(sagaChapter, numeralX, numeralY - numeralSpread, numeralWidth, numeralHeight);