add histoire task

This commit is contained in:
Yanick Champoux 2023-01-15 13:36:02 -05:00
parent 29c1d2dc26
commit 8d1ec92cfd
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ tasks:
dev: vite
test: vitest run src
test:watch: vitest src
story: histoire dev
default:
cmds:
- echo "{{.GREETING}}"

View File

@ -145,7 +145,7 @@
additionalCharacters &&
R.difference(additionalCharacters.map(R.prop('selection')).flat());
let chapter = 1 + parseInt(params.battleId / 2);
$: chapter = 1 + parseInt((params.battleId - 1) / 2);
$: chapterBattle =
params.battleId >= 7
? params.battleId - 6