活动:添加新任务的统计
This commit is contained in:
@@ -17,6 +17,7 @@ import { RECRUIT } from "../../../pubUtils/dicParam";
|
||||
import { getAllHeroByQuality } from "../../../services/gachaService";
|
||||
import { transPiece } from "../../../pubUtils/itemUtils";
|
||||
import { CreateHeroParam } from "../../../domain/roleField/hero";
|
||||
import { accomplishTask } from "../../../pubUtils/taskUtil";
|
||||
|
||||
export default function (app: Application) {
|
||||
return new GachaHandler(app);
|
||||
@@ -130,6 +131,8 @@ export class GachaHandler {
|
||||
|
||||
// 任务
|
||||
await checkTask(roleId, sid, funcs, TASK_TYPE.GASHA, count, true, {});
|
||||
//活动统计
|
||||
await accomplishTask(serverId, roleId, TASK_TYPE.GASHA, count)
|
||||
|
||||
let resultRefFreeTime = 0;
|
||||
if (dicGacha.free.count > 0) {
|
||||
|
||||
Reference in New Issue
Block a user