Update - 1.8.0.96

EN: 1.8.0.96
CN: 1.8.0.97
JP: 1.8.0.99
KR: 1.8.0.101
This commit is contained in:
SL1900
2026-03-31 12:30:00 +09:00
parent 8766830959
commit 07c84b9e3b
128 changed files with 10429 additions and 39865 deletions
@@ -150,11 +150,17 @@ function TowerDefenseData:UpdateLevelData(levelData)
}, self:GetlevelIsNew(levelData.Id))
end
local nextLevelId = self:GetNextLevelId(levelData.Id)
if nextLevelId ~= 0 and self:GetPlayState() and self:IsLevelUnlock(nextLevelId) and self:IsPreLevelPass(nextLevelId) then
RedDotManager.SetValid(RedDotDefine.Activity_TowerDefense_Level, {
levelConfig.LevelPage,
nextLevelId
}, self:GetlevelIsNew(nextLevelId))
if nextLevelId ~= 0 then
local nextLevelConfig = ConfigTable.GetData("TowerDefenseLevel", nextLevelId)
if nextLevelConfig == nil then
return
end
if self:GetPlayState() and self:IsLevelUnlock(nextLevelId) and self:IsPreLevelPass(nextLevelId) then
RedDotManager.SetValid(RedDotDefine.Activity_TowerDefense_Level, {
nextLevelConfig.LevelPage,
nextLevelId
}, self:GetlevelIsNew(nextLevelId))
end
end
EventManager.Hit("TowerDefenseLevelUpdate")
end
@@ -480,7 +486,7 @@ function TowerDefenseData:RefreshRedDot()
end
local bReddot = false
for _, levelData in pairs(self.allLevelData) do
if self:IsLevelUnlock(levelData.nLevelId) then
if self:IsLevelUnlock(levelData.nLevelId) and self:IsPreLevelPass(levelData.nLevelId) then
bReddot = bReddot or self:GetlevelIsNew(levelData.nLevelId)
if bReddot then
RedDotManager.SetValid(RedDotDefine.Activity_Tab, self.nActId, bReddot)
@@ -530,6 +530,9 @@ function PlayerScoreBossData:SendScoreBossStarRewardReceiveReq(cb, star)
HttpNetHandler.SendMsg(NetMsgId.Id.score_boss_star_reward_receive_req, msg, nil, msgCallback)
end
function PlayerScoreBossData:SendEnterLvAgain()
if self.curLevel ~= nil then
self.curLevel.isCanPause = false
end
self.isGoAgain = true
NovaAPI.StopRecord()
CS.AdventureModuleHelper.LevelStateChanged(false)