Update - 2.1.0.147
EN: 2.1.0.147 CN: 2.1.0.147 JP: 2.1.0.149 KR: 2.1.0.154
This commit is contained in:
@@ -239,7 +239,7 @@ function SoldierBattleResultCtrl:OnBtnClick_Confirm()
|
||||
self:ShowBattleReport()
|
||||
return
|
||||
end
|
||||
if (self.nResultType == _CS or self.nResultType == _CF) and self:CheckShowRecommendTips() then
|
||||
if self.nResultType == _CS and self:CheckShowRecommendTips() then
|
||||
self:ShowRecommendTips()
|
||||
return
|
||||
end
|
||||
@@ -267,6 +267,12 @@ function SoldierBattleResultCtrl:CheckIsLastGradeChallenge()
|
||||
return 0 < nMaxGradeId and nGradeChallengeId == nMaxGradeId
|
||||
end
|
||||
function SoldierBattleResultCtrl:CheckShowRecommendTips()
|
||||
if self.nResultType ~= _CS then
|
||||
return false
|
||||
end
|
||||
if self.mapData == nil or self.mapData.bFinalBossSuccess ~= true then
|
||||
return false
|
||||
end
|
||||
local nTipDay = tonumber(LocalData.GetPlayerLocalData(RecommendTipsKey) or 0)
|
||||
if nTipDay == GetTodayKey() then
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user