Update - 1.3.0.69

EN: 1.3.0.69
CN: 1.3.0.70
JP: 1.3.0.72
KR: 1.3.0.76
This commit is contained in:
SL1900
2025-12-14 22:30:00 +09:00
parent 5e0d58cfad
commit 5f417fbe9d
603 changed files with 1017024 additions and 5253 deletions
+16 -6
View File
@@ -224,12 +224,6 @@ function FormationCtrl:EnterStarTower()
PlayerData.Build:GetBuildCount(CheckBuildCountCallBack)
end
function FormationCtrl:Awake()
local LocalData = require("GameCore.Data.LocalData")
local nIdx = LocalData.GetPlayerLocalData("SavedTeamIdx")
if nIdx == nil then
nIdx = 1
end
self._panel.nTeamIndex = nIdx
self.isOpenTeamMember = false
self:CheckBannedChar(true)
end
@@ -251,6 +245,22 @@ function FormationCtrl:OnEnable()
self.mapTrialChar = PlayerData.Char:CreateTrialChar(tbTeamMemberId)
self.bTrialLevel = true
end
elseif self.nFRType == AllEnum.FormationEnterType.StarTower then
local mapStartowerCfg = ConfigTable.GetData("StarTower", self.curRoguelikeId)
if mapStartowerCfg ~= nil then
local nCachedIdx = PlayerData.StarTower:GetGroupFormation(mapStartowerCfg.GroupId)
if 0 < nCachedIdx and self._panel.nTeamIndex == nil then
self._panel.nTeamIndex = nCachedIdx
end
end
end
local LocalData = require("GameCore.Data.LocalData")
if self._panel.nTeamIndex == nil then
local nIdx = tonumber(LocalData.GetPlayerLocalData("SavedTeamIdx"))
if nIdx == nil then
nIdx = 1
end
self._panel.nTeamIndex = nIdx
end
self._mapNode.btnLeft.gameObject:SetActive(not self.bTrialLevel)
self._mapNode.btnRight.gameObject:SetActive(not self.bTrialLevel)