Update - 1.9.0.103

EN: 1.9.0.103
CN: 1.9.0.104
JP: 1.9.0.106
KR: 1.9.0.108
This commit is contained in:
SL1900
2026-04-18 00:15:00 +09:00
parent 35fe1f046d
commit e0549005e1
1150 changed files with 941124 additions and 19847 deletions
@@ -90,6 +90,21 @@ function TowerDefenseTeamCtrl:SetData(nActId, nLevelId, tbChracter, nItemId)
end
end
ForEachTableLine(DataTable.TowerDefenseGuide, forEachFunction)
local sortFunction = function(a, b)
local config_a = ConfigTable.GetData("TowerDefenseGuide", a)
local config_b = ConfigTable.GetData("TowerDefenseGuide", b)
local bUnlock_a = self.TowerDefenseData:IsLevelUnlock(config_a.LevelId) and self.TowerDefenseData:IsPreLevelPass(config_a.LevelId)
local bUnlock_b = self.TowerDefenseData:IsLevelUnlock(config_b.LevelId) and self.TowerDefenseData:IsPreLevelPass(config_b.LevelId)
if bUnlock_a and not bUnlock_b then
return true
elseif bUnlock_b and not bUnlock_a then
return false
else
return a < b
end
end
table.sort(self.tbCharGuideIds, sortFunction)
table.sort(self.tbItemIds, sortFunction)
self:CreateChar()
self:CreateItem()
end