【福星高照】拍脸修改
parent
6a89c381f1
commit
210a2069a5
|
|
@ -226,7 +226,14 @@ function this.PatFaceSpecialMonitor(v,patFaceAllData,type,starUpGiftNum)
|
|||
elseif v.Type == 12 then--福星高照活动
|
||||
local ActData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FuXingGaoZhao)
|
||||
local data = string.split(ConfigManager.GetConfigDataByKey(ConfigName.SpecialConfig,"Id",109).Value,"#")
|
||||
local time = ActData.startTime + tonumber(data[1])*86400 - GetTimeStamp()
|
||||
local time = 0--ActData.startTime + tonumber(data[1])*86400 - GetTimeStamp()
|
||||
if ActData.value == 0 then
|
||||
time = ActData.startTime + tonumber(data[1])*86400 - GetTimeStamp()
|
||||
elseif ActData.value == 1 then
|
||||
time = ActData.mission[1].progress + #ActData.mission*86400 - GetTimeStamp()
|
||||
elseif ActData.value == 2 then
|
||||
time = 0
|
||||
end
|
||||
if time >0 then
|
||||
if RedPointManager.PlayerPrefsGetStr(v.Id.."PatFace") == "0" then
|
||||
table.insert(patFaceAllData,v)
|
||||
|
|
|
|||
Loading…
Reference in New Issue