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

26 lines
No EOL
738 B
Lua

---三合一红点汇总
local XRedPointConditionLivWarmActivitySummary = {}
local SubCondition = nil
function XRedPointConditionLivWarmActivitySummary.GetSubConditions()
SubCondition = SubCondition or
{
XRedPointConditions.Types.CONDITION_LIV_WARM_ACTIVITY_REWARD,
XRedPointConditions.Types.CONDITION_LIV_WARM_ACTIVITY_CAN_CHALLENGE,
}
return SubCondition
end
function XRedPointConditionLivWarmActivitySummary.Check()
if XRedPointConditionLivWarmActivityReward.Check() then
return true
end
if XRedPointConditionLivWarmActivityCanChallenge.Check() then
return true
end
return false
end
return XRedPointConditionLivWarmActivitySummary