걸음 카드 보상 칸 · Music Shake 이어하기 재생

This commit is contained in:
Sn-Kinos
2026-10-06 04:15:28 +09:00
parent 99b9bb8665
commit 976e569a56
9 changed files with 94 additions and 13 deletions
@@ -271,7 +271,8 @@ class FirestoreQuestRepository implements QuestRepository {
goal: cardGoal,
// 걸음은 센서를 구독해야 알 수 있어 시작 전에는 0 이다. 나머지는 당일 수행 횟수다.
progress: type.gathers ? (done ? goal : walked ?? 0) : count,
rewardPop: openTimeAttack(quest)?.rewardPop ?? type.rewardFrom(quest, policy),
rewardPop: openTimeAttack(quest)?.rewardPop ??
type.rewardFrom(quest, policy, cleared: count),
// 설계서 §2.8 의 `quests` 에 참여 인원 필드가 없다. 세는 곳이 없어 0 이다.
participants: quest.intOr('participantCount'),
// 사용자 생성 Quest 의 모집 인원(`capacity`). 운영 Quest 에는 없다.