PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionTurntableSummary.lua

26 lines
769 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
local XRedPointConditionTurntableSummary = {}
local SubCondition = nil
function XRedPointConditionTurntableSummary.GetSubConditions()
SubCondition = SubCondition or {
XRedPointConditions.Types.XRedPointConditionTurntableTask,
XRedPointConditions.Types.XRedPointConditionTurntableReward,
XRedPointConditions.Types.XRedPointConditionTurntableTimes,
}
return SubCondition
end
function XRedPointConditionTurntableSummary.Check()
if XRedPointConditionTurntableTask.Check() then
return true
end
if XRedPointConditionTurntableReward.Check() then
return true
end
if XRedPointConditionTurntableTimes.Check() then
return true
end
return false
end
return XRedPointConditionTurntableSummary