Update - 1.12.0.120

EN: 1.12.0.120
CN: 1.12.0.120
JP: 1.12.0.124
KR: 1.12.0.124
This commit is contained in:
SL1900
2026-06-30 14:30:00 +09:00
parent 061d344bf2
commit 80af235e05
826 changed files with 625145 additions and 81163 deletions
+18
View File
@@ -82,6 +82,7 @@ LevelMenuCtrl._mapNodeConfig = {
TMPDailyInstanceEnergy1 = {sComponentName = "TMP_Text"},
imgResourceIcon1_ = {nCount = 3, sComponentName = "Image"},
imgResourceIcon2_ = {nCount = 3, sComponentName = "Image"},
imgDoubleDrop = {},
btnInfinity = {
sComponentName = "UIButton",
callback = "OnBtnClick_Infinity"
@@ -156,6 +157,7 @@ LevelMenuCtrl._mapNodeConfig = {
sComponentName = "TMP_Text",
sLanguageId = "LevelMenu_Resource_Goto"
},
txtDoubleDrop = {sComponentName = "TMP_Text"},
TMPTime = {nCount = 2, sComponentName = "TMP_Text"},
goStarTower = {
sNodeName = "---StarTower---",
@@ -279,6 +281,15 @@ function LevelMenuCtrl:SelectResourceItem(nType)
end
NovaAPI.SetTMPText(self._mapNode.txtResourceName, sName)
NovaAPI.SetTMPText(self._mapNode.txtResourceDesc, sDesc)
self._mapNode.txtDoubleDrop.gameObject:SetActive(false)
if self.doubleActData ~= nil then
local tbFuncType = self.doubleActData:GetDoubleFuncType()
if table.indexof(tbFuncType, nType) > 0 then
self._mapNode.txtDoubleDrop.gameObject:SetActive(true)
local str = self.doubleActData:GetDropString()
NovaAPI.SetTMPText(self._mapNode.txtDoubleDrop, str)
end
end
end
function LevelMenuCtrl:RefreshActivityList()
if self.tbActivityShowList ~= nil then
@@ -696,6 +707,13 @@ function LevelMenuCtrl:OnEnable()
self.resourceSequence:SetUpdate(true)
end, true, true, true)
end
self.doubleActData = nil
local actData = PlayerData.Activity:GetActivityDataByType(GameEnum.activityType.Double)
if actData ~= nil and actData:CheckActShow() then
self.doubleActData = actData
end
self._mapNode.imgDoubleDrop.gameObject:SetActive(self.doubleActData ~= nil)
self._mapNode.goResource:RefreshDropUp(self.doubleActData)
if self._panel.panelType == nil then
self._panel.panelType = phone_page_main
elseif self._panel.panelType == phone_page_starTower then
@@ -15,6 +15,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
},
LockEquipment = {},
TMPCondEquipment = {sComponentName = "TMP_Text"},
imgEquipmentDoubleDrop = {},
btnSkill = {
sComponentName = "UIButton",
callback = "OnBtnClick_Skill"
@@ -29,6 +30,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
},
LockSkill = {},
TMPCondSkill = {sComponentName = "TMP_Text"},
imgSkillDoubleDrop = {},
btnRegion = {
sComponentName = "UIButton",
callback = "OnBtnClick_RogueBoss"
@@ -44,6 +46,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
LockRegion = {},
TMPCondRegion = {sComponentName = "TMP_Text"},
redDotRegion = {},
imgRegionDoubleDrop = {},
btnTimes = {
sComponentName = "UIButton",
callback = "OnBtnClick_DailyInstance"
@@ -58,6 +61,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
},
LockTimes = {},
TMPCondTimes = {sComponentName = "TMP_Text"},
imgTimesDoubleDrop = {},
rtEnergyBarFill = {
sComponentName = "RectTransform"
},
@@ -129,6 +133,16 @@ function LevelMenuResourceCtrl:RefreshFuncOpen()
self._mapNode.LockEquipment:SetActive(false)
end
end
function LevelMenuResourceCtrl:RefreshDropUp(actData)
local tbDoubleType = {}
if actData ~= nil then
tbDoubleType = actData:GetDoubleFuncType()
end
self._mapNode.imgTimesDoubleDrop.gameObject:SetActive(table.indexof(tbDoubleType, GameEnum.OpenFuncType.DailyInstance) > 0)
self._mapNode.imgRegionDoubleDrop.gameObject:SetActive(0 < table.indexof(tbDoubleType, GameEnum.OpenFuncType.RegionBoss))
self._mapNode.imgSkillDoubleDrop.gameObject:SetActive(0 < table.indexof(tbDoubleType, GameEnum.OpenFuncType.SkillInstance))
self._mapNode.imgEquipmentDoubleDrop.gameObject:SetActive(0 < table.indexof(tbDoubleType, GameEnum.OpenFuncType.CharGemInstance))
end
function LevelMenuResourceCtrl:Awake()
self:RefreshChooseImg(0)
end