mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-23 00:42:09 +00:00
Fix NaN levels on new elves' training
This commit is contained in:
parent
47165e3226
commit
b939a1573d
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue