mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-07 10:41:36 +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() {
|
onClick() {
|
||||||
focusCooldown.value = Decimal.fromValue(cooldown.value).toNumber();
|
focusCooldown.value = Decimal.fromValue(cooldown.value).toNumber();
|
||||||
focusTime.value = 10;
|
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