dev_chengFeng
ZhangBiao 2020-09-03 17:54:13 +08:00
parent 0d6c12bd58
commit 14ce57d5f0
1 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ function this.SetHadTakeBoxData(boxId)
end
function this.FreeBattleRedCheck()
return this.GetArenaChallengeTimes() > 0
return (this.GetArenaChallengeTimes() > 0) and ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.ARENA)
end
function this.RewardBoxRedCheck()
@ -359,7 +359,7 @@ function this.RewardBoxRedCheck()
for i = 1, 7 do
if arenaBattleReward[i] then
local state = 1--1 未完成 2 未领取 3 已完成allNums >= arenaBattleReward[i].BattleTimes and false
if allNums >= arenaBattleReward[i].BattleTimes and not allBoxGetState[i] then
if allNums >= arenaBattleReward[i].BattleTimes and not allBoxGetState[i] and ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.ARENA) then
return true
end
end