UIBattle: 显示任务信息
This commit is contained in:
parent
24604e7b0c
commit
4f2fa6080d
@ -182,7 +182,7 @@ function UIBattleView:RefreshStoryTaskInfo()
|
||||
table.sort(keys)
|
||||
for _, k in ipairs(keys) do
|
||||
local v = storyCfgV2[k]
|
||||
if mapLevel >= v.MapLevel and v.MapLevel > tmpMapLevel then
|
||||
if mapLevel > v.MapLevel and v.MapLevel > tmpMapLevel then
|
||||
currStoryId = v.StoryId
|
||||
tmpMapLevel = v.MapLevel
|
||||
end
|
||||
@ -1246,7 +1246,6 @@ function UIBattleView:OnBattleWin()
|
||||
self.HeadsBoxPart:Hide()
|
||||
self.StatisticsPart:Hide()
|
||||
self.rageBoxGo:SetActive(false)
|
||||
self:RefreshStoryTaskInfo()
|
||||
end
|
||||
|
||||
function UIBattleView:OnBattleFailed(killboss, isPlayRecord)
|
||||
|
||||
@ -11,7 +11,7 @@ function UIPlayStoryCtr:SetData(data)
|
||||
|
||||
local storyData = self.data
|
||||
local storyId = storyData.StoryId
|
||||
local storyIntro = storyData.StoryIntro
|
||||
local storyIntro = storyData.StoryIntro or {}
|
||||
local storyPerforms = ManagerContainer.CfgMgr:GetStoryPerformDataById(storyId)
|
||||
|
||||
local cfgs = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user