feature: multiple lock, pick min max

This commit is contained in:
Vick Scarlet
2026-08-16 20:06:16 +08:00
committed by 神戸小鳥
parent 0c0fac5bfd
commit 533e705fae
20 changed files with 358 additions and 160 deletions
+2 -2
View File
@@ -102,10 +102,10 @@ export interface EndResult {
export function end(
state: GameState,
profile: ProfileState,
lockedTalent?: Talent['id'],
locked?: Talent['id'][],
) {
const ar = atr(Ao.End, state, profile)
const p = nextProfile(profile, ar.state, lockedTalent)
const p = nextProfile(profile, ar.state, locked)
return { profile: p, achievements: ar.triggers }
}