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

27 lines
827 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
--肉鸽红点
local XRedPointConditionBiancaTheatreAllRedPoint = {}
local SubCondition = nil
function XRedPointConditionBiancaTheatreAllRedPoint.GetSubConditions()
SubCondition =
SubCondition or
{
XRedPointConditions.Types.CONDITION_BIANCATHEATRE_TASK_REWARD_RED_POINT,
XRedPointConditions.Types.CONDITION_BIANCATHEATRE_ACHIEVEMENT_RED_POINT,
}
return SubCondition
end
function XRedPointConditionBiancaTheatreAllRedPoint.Check()
if XRedPointConditionBiancaTheatreTaskReward.Check() then
return true
end
if XRedPointConditionBiancaTheatreAchievement.Check() then
return true
end
if XDataCenter.BiancaTheatreManager.IsHaveReward() then
return true
end
return false
end
return XRedPointConditionBiancaTheatreAllRedPoint