dev_chengFeng
parent
bbe2c8c1f3
commit
baaee2e547
|
|
@ -760,9 +760,7 @@ function this.CheckPoZhenZhuXianTaskRed()
|
|||
return false
|
||||
end
|
||||
for i=1,#this.allData do
|
||||
if this.allData[i].state == 0 and
|
||||
this.allData[i].progress >= this.allData[i].value
|
||||
then
|
||||
if this.allData[i].state == 1 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
|
@ -778,10 +776,8 @@ function this.InitLeiJiChongZhiData()
|
|||
end
|
||||
this.LeiJiChongZhiData = {}
|
||||
local allListData = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig, "ActivityId", id)
|
||||
LogBlue("#allListData:"..#allListData)
|
||||
local allMissionData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.pozhenzhuxian_recharge)
|
||||
LogYellow(allMissionData.value)
|
||||
LogBlue("#allMissionData"..#allMissionData)
|
||||
for i=1,#allListData do
|
||||
for j=1,#allMissionData.mission do
|
||||
if allListData[i].Id == allMissionData.mission[j].missionId then
|
||||
|
|
|
|||
|
|
@ -386,8 +386,8 @@ function this.RegisterRedCheckFunc()
|
|||
--限时招募
|
||||
RPData:AddCheckFunc(RedPointType.TimeLimited,OperatingManager.GetTimeLimitRedPointStatus)
|
||||
RPData:AddCheckFunc(RedPointType.QianKunBox,OperatingManager.GetQiankunBoxRedPointStatus)
|
||||
RPData:SetParent(RedPointType.PoZhenZhuXianTask, OperatingManager.CheckPoZhenZhuXianTaskRed)
|
||||
-- RPData:SetParent(RedPointType.PoZhenZhuXianRecharge, OperatingManager.CheckLeiJiChongZhiRedData)
|
||||
RPData:AddCheckFunc(RedPointType.PoZhenZhuXianTask, OperatingManager.CheckPoZhenZhuXianTaskRed)
|
||||
RPData:AddCheckFunc(RedPointType.PoZhenZhuXianRecharge, OperatingManager.CheckLeiJiChongZhiRedData)
|
||||
|
||||
RPData:AddCheckFunc(RedPointType.OrdinaryExplore, CarbonManager.CarbonRedCheck,FUNCTION_OPEN_TYPE.EXPEDITION)
|
||||
RPData:AddCheckFunc(RedPointType.HeroExplore, CarbonManager.CarbonRedCheck,FUNCTION_OPEN_TYPE.DAILYCHALLENGE_COIN)
|
||||
|
|
@ -396,8 +396,8 @@ function this.RegisterRedCheckFunc()
|
|||
|
||||
RPData:AddCheckFunc(RedPointType.People_Mirror, XuanYuanMirrorManager.CarbonRedCheck)
|
||||
|
||||
RPData:SetParent(RedPointType.QinglongSerectTreasure, QinglongSerectTreasureManager.GetQinglongSerectTreasureRedPot)
|
||||
RPData:SetParent(RedPointType.QinglongSerectTreasureTrail, QinglongSerectTreasureManager.GetSerectTreasureTrailRedPot)
|
||||
RPData:AddCheckFunc(RedPointType.QinglongSerectTreasure, QinglongSerectTreasureManager.GetQinglongSerectTreasureRedPot)
|
||||
RPData:AddCheckFunc(RedPointType.QinglongSerectTreasureTrail, QinglongSerectTreasureManager.GetSerectTreasureTrailRedPot)
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue