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:
@@ -26,6 +26,7 @@ function ScoreBossLevel:Init(parent, nLevelId, nBuildId, isAgain)
|
||||
self.BossCurLvTotalChangeHp = 0
|
||||
self.BattleLv = 1
|
||||
self.nTime = 0
|
||||
self.isCanPause = true
|
||||
local leveData = ConfigTable.GetData("ScoreBossLevel", nLevelId)
|
||||
if leveData == nil then
|
||||
printError("ScoreBossLevel 表不存在 id ==== " .. nLevelId)
|
||||
@@ -82,6 +83,7 @@ function ScoreBossLevel:CalCharFixedEffect(nCharId, bMainChar, tbDiscId)
|
||||
return stActorInfo
|
||||
end
|
||||
function ScoreBossLevel:OnEvent_LoadLevelRefresh()
|
||||
self.isCanPause = true
|
||||
local mapAllEft, mapDiscEft, mapNoteEffect, tbNoteInfo = PlayerData.Build:GetBuildAllEft(self.mapBuildData.nBuildId)
|
||||
safe_call_cs_func(CS.AdventureModuleHelper.SetNoteInfo, tbNoteInfo)
|
||||
self.mapEftData = UTILS.AddBuildEffect(mapAllEft, mapDiscEft, mapNoteEffect)
|
||||
@@ -124,7 +126,9 @@ function ScoreBossLevel:SetDiscInfo()
|
||||
safe_call_cs_func(CS.AdventureModuleHelper.SetDiscInfo, tbDiscInfo)
|
||||
end
|
||||
function ScoreBossLevel:OnEvent_Pause()
|
||||
EventManager.Hit("OpenScoreBossPause", self.LevelId, self.tbCharId)
|
||||
if self.isCanPause then
|
||||
EventManager.Hit("OpenScoreBossPause", self.LevelId, self.tbCharId)
|
||||
end
|
||||
end
|
||||
function ScoreBossLevel:OnEvent_AbandonBattle()
|
||||
self.parent:QuiteLevel()
|
||||
|
||||
Reference in New Issue
Block a user