🐞 fix(重阳集会): 修改解锁层数
This commit is contained in:
@@ -6,8 +6,6 @@ import { ActivityBase } from './activityField';
|
||||
// 后台格式
|
||||
interface ChongYangSceneDataInDb {
|
||||
dayIndex: number; // 第几天(层)
|
||||
sceneId: number; // 场景id
|
||||
img: string; // 场景图片
|
||||
buyCost: string; // 购买一次次数的消耗,type&id&count
|
||||
dailyBuyCnt: number; // 每天可以购买的次数
|
||||
dailyFreeCnt: number; // 每天可以免费的次数
|
||||
@@ -54,7 +52,7 @@ export class ChongYangData extends ActivityBase {
|
||||
|
||||
public updatePlayerRecord(playerData: ActivityChongYangRecModelType) {
|
||||
if (!playerData) return;
|
||||
let dayIndexUnlockAndSuccess = 1;
|
||||
let dayIndexUnlockAndSuccess = 0;
|
||||
if (playerData.gameRecords) {
|
||||
this.gameRecords = playerData.gameRecords;
|
||||
for (const { isSuccess, dayIndex } of playerData.gameRecords) {
|
||||
|
||||
Reference in New Issue
Block a user