Fix NaN levels on new elves' training

This commit is contained in:
thepaperpilot 2022-12-13 20:33:29 -06:00
parent 47165e3226
commit b939a1573d

View file

@ -147,7 +147,12 @@ const layer = createLayer(id, () => {
"Snowball",
"Star",
"Bell",
"Gingersnap"
"Gingersnap",
"Peppermint",
"Frosty",
"Cocoa",
"Twinkle",
"Carol"
].indexOf(elf.name) + 1;
if (elf.name == "Star" || elf.name == "Bell") {
costMulti /= 3;