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

19 lines
No EOL
536 B
Lua

local XRedPointConditionReformAllRedPoint = {}
function XRedPointConditionReformAllRedPoint.Check()
if not XDataCenter.Reform2ndManager.GetIsOpen() then
return false
end
if not XFunctionManager.JudgeCanOpen(XFunctionManager.FunctionName.Reform) then
return false
end
if XRedPointConditionReformTaskGetReward.Check() then
return true
end
if XRedPointConditionReformBaseStageOpen.Check() then
return true
end
return false
end
return XRedPointConditionReformAllRedPoint