Add Hall of Fame team selection for completed runs
After marking a run as completed, a modal prompts the player to select which Pokemon (up to 6) entered the Hall of Fame. The selection is stored as hof_encounter_ids on the run, displayed in the victory banner, and can be edited later. This lays the foundation for scoping genlocke retireHoF to only the actual HoF team. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -89,6 +89,7 @@ export interface NuzlockeRun {
|
||||
name: string
|
||||
status: RunStatus
|
||||
rules: NuzlockeRules
|
||||
hofEncounterIds: number[] | null
|
||||
startedAt: string
|
||||
completedAt: string | null
|
||||
}
|
||||
@@ -136,6 +137,7 @@ export interface UpdateRunInput {
|
||||
name?: string
|
||||
status?: RunStatus
|
||||
rules?: NuzlockeRules
|
||||
hofEncounterIds?: number[]
|
||||
}
|
||||
|
||||
export interface CreateEncounterInput {
|
||||
|
||||
Reference in New Issue
Block a user