只有战斗胜利才算完成任务

This commit is contained in:
chenxi 2023-06-06 11:10:29 +08:00
parent 04f9000eed
commit 7a83365fe2

View File

@ -2560,7 +2560,9 @@ function BattleController:battleEnd()
self.battleUI:enableUITouch()
end
self:controllBattleEnd()
ModuleManager.TaskManager:addTaskProgress(GConst.TaskConst.TASK_TYPE.X_BATTLE_VICTORY)
if self.victory then
ModuleManager.TaskManager:addTaskProgress(GConst.TaskConst.TASK_TYPE.X_BATTLE_VICTORY)
end
end, 1)
end