Update - 1.4.0.73
EN: 1.4.0.73 CN: 1.4.0.74 JP: 1.4.0.77 KR: 1.4.0.80
This commit is contained in:
@@ -89,7 +89,8 @@ MainlineMonsterInfoCtrl._mapEventConfig = {
|
||||
OpenInfinityTowerMonsterInfo = "OnEvent_OpenInfinityTowerMonsterInfo",
|
||||
OpenVampireMonsterInfo = "OnEvent_OpenVampireMonsterInfo",
|
||||
OpenSkillMonsterInfo = "OnEvent_OpenSkillMonsterInfo",
|
||||
OpenActivityLevelsMonsterInfo = "OnEvent_OpenActivityLevelsMonsterInfo"
|
||||
OpenActivityLevelsMonsterInfo = "OnEvent_OpenActivityLevelsMonsterInfo",
|
||||
OpenActivityStoryMonsterInfo = "OnEvent_OpenActivityStoryMonsterInfo"
|
||||
}
|
||||
function MainlineMonsterInfoCtrl:OnEnable()
|
||||
end
|
||||
@@ -215,10 +216,7 @@ function MainlineMonsterInfoCtrl:RefreshMonsterInfo(nMonsterId)
|
||||
end
|
||||
NovaAPI.SetTMPText(self._mapNode.txtStory, monsterManual.Desc)
|
||||
LayoutRebuilder.ForceRebuildLayoutImmediate(self._mapNode.goStory)
|
||||
local eets = {}
|
||||
if monsterAdjust.EET ~= GameEnum.elementType.NONE then
|
||||
table.insert(eets, monsterAdjust.EET)
|
||||
end
|
||||
local eets = monsterAdjust.ResistEET
|
||||
self:RefreshElement(self._mapNode.goPropertyList[1], self.tbOverrideWeakEET == nil and monsterAdjust.WeakEET or self.tbOverrideWeakEET, 1)
|
||||
self:RefreshElement(self._mapNode.goPropertyList[2], eets, 2)
|
||||
self:RefreshPropertys(monsterManual)
|
||||
@@ -361,6 +359,13 @@ end
|
||||
function MainlineMonsterInfoCtrl:OnEvent_OpenActivityLevelsMonsterInfo(nPreviewMonsterGroupId)
|
||||
self:ShowPanel(nPreviewMonsterGroupId)
|
||||
end
|
||||
function MainlineMonsterInfoCtrl:OnEvent_OpenActivityStoryMonsterInfo(avgId)
|
||||
local mapStory = PlayerData.ActivityAvg:GetStoryCfgData(avgId)
|
||||
if mapStory == nil then
|
||||
return
|
||||
end
|
||||
self:ShowPanel(mapStory.PreviewMonsterGroupId)
|
||||
end
|
||||
function MainlineMonsterInfoCtrl:OnCloseAnimFinish()
|
||||
self.gameObject:SetActive(false)
|
||||
end
|
||||
|
||||
@@ -132,6 +132,11 @@ StoryEntranceCtrl._mapNodeConfig = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtn_ClickHome"
|
||||
},
|
||||
txtActivityLock = {
|
||||
sNodeName = "txtActivityLock",
|
||||
sComponentName = "TMP_Text",
|
||||
sLanguageId = "StoryEntrance_Activity_Lock"
|
||||
},
|
||||
redDotNovaStory = {},
|
||||
redDotMainline = {}
|
||||
}
|
||||
@@ -168,8 +173,13 @@ function StoryEntranceCtrl:RefreshMainlineQuickEntranceState()
|
||||
local storConfig = ConfigTable.GetData_Story(curStoryId)
|
||||
if storConfig.IsLast == true and AvgData:IsStoryReaded(curStoryId) == true then
|
||||
curChapter = curChapter + 1
|
||||
if ConfigTable.GetData("StoryChapter", curChapter, "") ~= nil then
|
||||
curStoryId = AvgData:GetRecentStoryId(curChapter)
|
||||
local nextChapterConfig = ConfigTable.GetData("StoryChapter", curChapter, "")
|
||||
if nextChapterConfig ~= nil then
|
||||
if AvgData:IsStoryChapterShow(curChapter) == true then
|
||||
curStoryId = AvgData:GetRecentStoryId(curChapter)
|
||||
else
|
||||
curChapter = curChapter - 1
|
||||
end
|
||||
else
|
||||
curChapter = curChapter - 1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user