活动:修改成长基金的数据结构
This commit is contained in:
@@ -16,6 +16,7 @@ import { ACTIVITY_TYPE } from '../consts/constModules/activityConst';
|
||||
import { ActivityGrowthModel } from '../db/ActivityGrowth';
|
||||
import { ActivityDailyChallengesModel } from '../db/ActivityDailyChallenges';
|
||||
import { ThirtyDaysData } from '../domain/activityField/thirtyDaysField';
|
||||
import { GrowthFundData } from '../domain/activityField/growthFundField';
|
||||
import { ActivityThirtyDaysModel, ActivityThirtyDaysModelType } from '../db/ActivityThirtyDays';
|
||||
import { ServerlistModel } from '../db/Serverlist';
|
||||
|
||||
@@ -531,7 +532,6 @@ export async function accomplishTask(serverId: number, roleId: string, taskType:
|
||||
taskType === TASK_TYPE.EQUIP_JEWEL_STAGE ||
|
||||
taskType === TASK_TYPE.EQUIP_SUIT_JEWEL_STAGE ||
|
||||
taskType === TASK_TYPE.EQUIP_QUALITY
|
||||
|
||||
) {
|
||||
allActivity = await ActivityModel.findOpenActivityByType(activityGroupId, ACTIVITY_TYPE.THIRTY_DAYS, new Date());
|
||||
for (let activity of allActivity) {
|
||||
@@ -548,6 +548,18 @@ export async function accomplishTask(serverId: number, roleId: string, taskType:
|
||||
}
|
||||
}
|
||||
|
||||
//主线成长基金
|
||||
if (taskType === TASK_TYPE.BATTLE_MAIN) {
|
||||
|
||||
}
|
||||
//镇念塔成长基金
|
||||
if (taskType === TASK_TYPE.BATTLE_TOWER_LV) {
|
||||
|
||||
}
|
||||
//精英成长基金
|
||||
if (taskType === TASK_TYPE.BATTLE_MAIN_ELITE) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user