Update - 1.9.0.107

EN: 1.9.0.107
CN: 1.9.0.108
JP: 1.9.0.112
KR: 1.9.0.112
This commit is contained in:
SL1900
2026-05-14 16:00:00 +09:00
parent 4b880806ef
commit eafd8f4088
1034 changed files with 809589 additions and 23067 deletions
@@ -111,7 +111,7 @@ function DepotPotentialCtrl:RefreshPotential(mapAllPotential, mapPotential)
end
return a.nUnlock > b.nUnlock
end)
if self.nSelectId == nil then
if self.nSelectId == nil and 0 < #tbSortList and #tbSortList[1] > 0 then
self.nSelectId = tbSortList[1][1].nId
end
table.insert(self.mapAllPotential, {
@@ -657,7 +657,7 @@ end
function NpcOptionCtrl:OnBtnClick_Select(btn)
local nIdx = table.indexof(self._mapNode.btnChoose, btn)
if table.indexof(self.bUnabledIdx, nIdx - 1) > 0 then
EventManager.Hit(EventId.OpenMessageBox, "不可选选项")
EventManager.Hit(EventId.OpenMessageBox, ConfigTable.GetUIText("StarTower_NPCOption_IllegalOption"))
return
end
self:ClosePanel(false, nIdx, self.nEventId)
+7 -2
View File
@@ -97,8 +97,13 @@ function StarTowerMapCtrl:Refresh(tbStageInfo, nCurLayer, nStarTowerId, bHorrorR
else
self._mapNode.Title.gameObject:SetActive(true)
local mapStarTower = ConfigTable.GetData("StarTower", nStarTowerId)
NovaAPI.SetTMPText(self._mapNode.txtTitle, mapStarTower.Name)
NovaAPI.SetTMPText(self._mapNode.txtdifficulty, ConfigTable.GetUIText("Diffculty_" .. tostring(mapStarTower.Difficulty)))
if mapStarTower ~= nil then
NovaAPI.SetTMPText(self._mapNode.txtTitle, mapStarTower.Name)
NovaAPI.SetTMPText(self._mapNode.txtdifficulty, ConfigTable.GetUIText("Diffculty_" .. tostring(mapStarTower.Difficulty)))
else
NovaAPI.SetTMPText(self._mapNode.txtTitle, "")
NovaAPI.SetTMPText(self._mapNode.txtdifficulty, "")
end
end
self.tbStageInfo = tbStageInfo
self.curLayer = nCurLayer
+2 -3
View File
@@ -113,9 +113,7 @@ function StarTowerMenuCtrl:OnEvent_SetCoin(nCount)
end
function StarTowerMenuCtrl:OnEvent_SetBuildLevel(nScore)
local GetAnimName = function(nRank)
if nRank <= 5 then
return "BuildScore_Green"
elseif nRank <= 10 then
if nRank <= 10 then
return "BuildScore_Green"
elseif nRank <= 20 then
return "BuildScore_Blue"
@@ -124,6 +122,7 @@ function StarTowerMenuCtrl:OnEvent_SetBuildLevel(nScore)
elseif nRank <= 40 then
return "BuildScore_RainBow"
end
return "BuildScore_Green"
end
if not self.bOpen then
return
+1 -1
View File
@@ -40,7 +40,7 @@ function StarTowerNoteCtrl:OnEvent_RefreshNoteCount(mapNote, mapChange, mapChang
local nLastCount = self.mapNoteCount[k] or 0
if v > nLastCount then
local bLucky = false
if mapChange ~= nil and 0 < mapChange[k].LuckyLevel then
if mapChange ~= nil and mapChange[k] ~= nil and 0 < mapChange[k].LuckyLevel then
bLucky = true
end
bChange = true
+1 -1
View File
@@ -576,7 +576,7 @@ function StarTowerRoomInfo:OnEvent_StarTowerShopInteract(mapNoteChange)
if mapChangeInfo.Qty < 0 then
table.insert(tbNoteReduceTips, {
nNoteId = nNoteId,
nNoteId = mapChangeInfo.Qty,
nNoteQty = mapChangeInfo.Qty,
nTipType = AllEnum.StarTowerTipsType.NoteTip
})
elseif mapChangeInfo.Qty > 0 then
@@ -453,7 +453,8 @@ function StarTowerShopCtrl:Awake()
[2] = {
mapNode = self._mapNode.ButtonConfirm,
sComponentName = "NaviButton",
sAction = "Confirm"
sAction = "Confirm",
sActionIconType = "Dark"
},
[3] = {
mapNode = self._mapNode.sv,