mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-19 03:51:37 +00:00
Make focus roll amongst all visible elves
This commit is contained in:
parent
943500732d
commit
2f2d622e49
1 changed files with 6 additions and 1 deletions
|
@ -1232,7 +1232,12 @@ const layer = createLayer(id, () => {
|
|||
onClick() {
|
||||
focusCooldown.value = Decimal.fromValue(cooldown.value).toNumber();
|
||||
focusTime.value = 10;
|
||||
rerollFocusTargets(12, maximumElves.value);
|
||||
rerollFocusTargets(
|
||||
Object.values(elfTraining).filter(
|
||||
elf => unref(elf.visibility) === Visibility.Visible
|
||||
).length,
|
||||
maximumElves.value
|
||||
);
|
||||
}
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue