bug修复

This commit is contained in:
xiekaidong 2023-09-22 09:46:10 +08:00
parent af1dc5b82f
commit a74b0d6f56

View File

@ -454,8 +454,9 @@ function BattleControllerDungeonRune:getRuneTaskNumByType(taskInfo)
elseif taskType == GConst.DungeonRuneConst.TASK_TYPE.BREAK_GRID_TYPE then
return self.totalBreakedGridType[taskParams1] or 0
elseif taskType == GConst.DungeonRuneConst.TASK_TYPE.KILL_MONSTER then
return self.taskProgress[GConst.BattleConst.BATTLE_TASK_FIELD.KILL_NORMAL_MONSTER]
return self.taskProgress[GConst.BattleConst.BATTLE_TASK_FIELD.KILL_NORMAL_MONSTER] or 0
end
return 0
end
function BattleControllerDungeonRune:getRuneTaskAllOver()