diff --git a/shared/domain/activityField/qixiField.ts b/shared/domain/activityField/qixiField.ts index 7eb5998e3..4fad7a98e 100644 --- a/shared/domain/activityField/qixiField.ts +++ b/shared/domain/activityField/qixiField.ts @@ -67,14 +67,16 @@ export class QixiData extends ActivityBase { playerData.record.sort((a, b) => a.time.getTime() - b.time.getTime()); for(let data of playerData.record) { let { todayIndex, afterProgress, progress, hasPass, isSkip } = data; - if(todayIndex == this.todayIndex && hasPass) this.todayPlayCnt ++; - if(hasPass) this.playCnt ++; + if(afterProgress >= this.maxProgress) { + if(todayIndex == this.todayIndex && hasPass) this.todayPlayCnt ++; + if(hasPass) this.playCnt ++; + } if(!isSkip) this.progress = afterProgress||progress; this.records.push(data); } if(this.todayPlayCnt >= this.freeCntDaily && this.playCnt < this.freeCnt) { for(let i = 1; i <= this.todayIndex; i++) { - let times = playerData.record.filter(cur => cur.todayIndex == i && cur.hasPass).length; + let times = playerData.record.filter(cur => cur.todayIndex == i && cur.hasPass && cur.afterProgress >= this.maxProgress).length; if(times < this.freeCntDaily) { this.recordTodayIndex = i; break; }