Update - 1.15.0.134

EN: 1.15.0.134
CN: 1.15.0.133
JP: 1.15.0.137
KR: 1.15.0.139
This commit is contained in:
SL1900
2026-09-08 12:00:00 +09:00
parent d441c7afdc
commit 7363298dc1
963 changed files with 590901 additions and 5401 deletions
@@ -59,7 +59,7 @@ TowerDefensePotentialSelectCtrl._mapRedDotConfig = {}
function TowerDefensePotentialSelectCtrl:SetData(nActId)
self.TowerDefenseData = PlayerData.Activity:GetActivityDataById(nActId)
end
function TowerDefensePotentialSelectCtrl:Refresh(nCharId, tbPotential, nLevel, callback)
function TowerDefensePotentialSelectCtrl:Refresh(nCharId, tbPotential, nLevel, callback, sTitle)
self.nCharId = nCharId
self.callback = callback
local config = ConfigTable.GetData("TowerDefenseCharacter", self.nCharId)
@@ -70,7 +70,11 @@ function TowerDefensePotentialSelectCtrl:Refresh(nCharId, tbPotential, nLevel, c
return
end
self.nSelectIdx = 0
NovaAPI.SetTMPText(self._mapNode.txtUpgrade, orderedFormat(ConfigTable.GetUIText("TowerDef_Text_LevelUp"), config.Name, nLevel))
if sTitle == nil then
NovaAPI.SetTMPText(self._mapNode.txtUpgrade, orderedFormat(ConfigTable.GetUIText("TowerDef_Text_LevelUp"), config.Name, nLevel))
else
NovaAPI.SetTMPText(self._mapNode.txtUpgrade, sTitle)
end
self._mapNode.btnConfirm.gameObject:SetActive(false)
self:RefreshPotentialList(tbPotential)
end