dev_chengFeng
parent
0d6c12bd58
commit
14ce57d5f0
|
@ -348,7 +348,7 @@ function this.SetHadTakeBoxData(boxId)
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.FreeBattleRedCheck()
|
function this.FreeBattleRedCheck()
|
||||||
return this.GetArenaChallengeTimes() > 0
|
return (this.GetArenaChallengeTimes() > 0) and ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.ARENA)
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.RewardBoxRedCheck()
|
function this.RewardBoxRedCheck()
|
||||||
|
@ -359,7 +359,7 @@ function this.RewardBoxRedCheck()
|
||||||
for i = 1, 7 do
|
for i = 1, 7 do
|
||||||
if arenaBattleReward[i] then
|
if arenaBattleReward[i] then
|
||||||
local state = 1--1 未完成 2 未领取 3 已完成allNums >= arenaBattleReward[i].BattleTimes and false
|
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
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue