心魔红点修改
parent
4571a653ff
commit
f958fb04e9
|
|
@ -1030,6 +1030,21 @@ function this.SetRewardData()
|
||||||
return dataList
|
return dataList
|
||||||
end
|
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()
|
function this.GetCanBattleCount()
|
||||||
|
|
|
||||||
|
|
@ -562,7 +562,7 @@ function this.RegisterRedCheckFunc()
|
||||||
RPData:AddCheckFunc(RedPointType.HeroExplore, CarbonManager.CarbonRedCheck)
|
RPData:AddCheckFunc(RedPointType.HeroExplore, CarbonManager.CarbonRedCheck)
|
||||||
RPData:AddCheckFunc(RedPointType.challengeCopy, CarbonManager.CarbonRedCheck)
|
RPData:AddCheckFunc(RedPointType.challengeCopy, CarbonManager.CarbonRedCheck)
|
||||||
--RPData:AddCheckFunc(RedPointType.HeartDemon, 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.EpicExplore_MoppingUp, MonsterCampManager.CarbonRedCheck)
|
||||||
RPData:AddCheckFunc(RedPointType.LegendExplore, CarbonManager.CarbonRedCheck)
|
RPData:AddCheckFunc(RedPointType.LegendExplore, CarbonManager.CarbonRedCheck)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue