mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-08-29 01:36:47 +08:00
feature: multiple lock, pick min max
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user