心魔试炼红点修改
parent
1a2032199a
commit
889ba23b84
|
@ -1032,6 +1032,21 @@ function this.SetRewardData()
|
|||
return dataList
|
||||
end
|
||||
|
||||
|
||||
function this.CheckNorMalRedPoint()
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.MONSTER_COMING) then
|
||||
for k,v in ConfigPairs(ConfigManager.GetConfig(ConfigName.FloodConfig)) do
|
||||
if v.SpecialReward and #v.SpecialReward > 0 then
|
||||
local state = MonsterCampManager.GetTrialRewardState(v.Id)
|
||||
if state == 1 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
--新心魔试炼
|
||||
-- 获取剩余挑战次数 特权
|
||||
function this.GetCanBattleCount()
|
||||
|
|
|
@ -560,7 +560,7 @@ function this.RegisterRedCheckFunc()
|
|||
RPData:AddCheckFunc(RedPointType.HeroExplore, CarbonManager.CarbonRedCheck)
|
||||
RPData:AddCheckFunc(RedPointType.challengeCopy, CarbonManager.CarbonRedCheck)
|
||||
--RPData:AddCheckFunc(RedPointType.HeartDemon, CarbonManager.CarbonRedCheck)
|
||||
RPData:AddCheckFunc(RedPointType.EpicExplore_LevleReward, CarbonManager.CarbonRedCheck)
|
||||
RPData:AddCheckFunc(RedPointType.EpicExplore_LevleReward, MonsterCampManager.CheckNorMalRedPoint)
|
||||
RPData:AddCheckFunc(RedPointType.EpicExplore_MoppingUp, MonsterCampManager.CarbonRedCheck)
|
||||
RPData:AddCheckFunc(RedPointType.LegendExplore, CarbonManager.CarbonRedCheck)
|
||||
|
||||
|
|
Loading…
Reference in New Issue