活动:礼包添加批量参数

This commit is contained in:
qiaoxin
2021-06-21 18:19:37 +08:00
parent 789660a701
commit 7c28103192
13 changed files with 170 additions and 103 deletions
+18 -1
View File
@@ -1176,11 +1176,28 @@ export function isComplete(roleId: string, taskType: TASK_TYPE, taskParam: strin
}
case TASK_TYPE.ACTIVITY_RMB:
{
if (paramObj.activityId == param[0]) {
addCount = count;
break;
}
case TASK_TYPE.BATTLE_EVENT:
{
if (param[0] == paramObj.eventType) {
addCount = count;
}
break;
}
case TASK_TYPE.GUILD_DONATE:
{
addCount = count;
break;
}
case TASK_TYPE.CHAT:
{
if (param[0] == paramObj.chatType) {
addCount = count;
break;
}
}
default:
addCount = 0;
break;