显示修复
This commit is contained in:
parent
13a137a6fd
commit
a02d7652f5
@ -331,6 +331,7 @@ function DungeonArmorEntity:formatTaskByController(battleBaseController, chapter
|
||||
totalRound = totalRound + round
|
||||
end
|
||||
|
||||
local config = ConfigManager:getConfig("task_dungeon_armor")
|
||||
taskProgress = {
|
||||
[0] = pass,
|
||||
[1] = hpp,
|
||||
@ -338,7 +339,19 @@ function DungeonArmorEntity:formatTaskByController(battleBaseController, chapter
|
||||
[3] = totalRound,
|
||||
[4] = hpp,
|
||||
[5] = hpp,
|
||||
[0] = pass
|
||||
}
|
||||
if config then
|
||||
for id, info in pairs(config) do
|
||||
if info.type == 1 then
|
||||
taskProgress[id] = hpp
|
||||
elseif info.type == 2 then
|
||||
taskProgress[id] = bossRoundCount
|
||||
elseif info.type == 3 then
|
||||
taskProgress[id] = totalRound
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return taskProgress
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user