PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionTheatreAllRedPoint.lua
2024-09-01 22:49:41 +02:00

23 lines
No EOL
623 B
Lua

--肉鸽红点
local XRedPointConditionTheatreAllRedPoint = {}
local SubCondition = nil
function XRedPointConditionTheatreAllRedPoint.GetSubConditions()
SubCondition =
SubCondition or
{
XRedPointConditions.Types.CONDITION_THEATRE_TASK_REWARD_RED_POINT
}
return SubCondition
end
function XRedPointConditionTheatreAllRedPoint.Check()
if XRedPointConditionTheatreTaskRewardRedPoint.Check() then
return true
end
if XDataCenter.TheatreManager.CheckSPModeRedPoint() then
return true
end
return false
end
return XRedPointConditionTheatreAllRedPoint