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

29 lines
777 B
Lua
Raw Permalink Normal View History

----------------------------------------------------------------
--超难关:有可挑战的关卡
local XRedPointConditionBossSingle = {}
local Events = nil
2024-09-01 20:49:41 +00:00
local Conditions = nil
function XRedPointConditionBossSingle.GetSubEvents()
Events = Events or
{
}
return Events
end
2024-09-01 20:49:41 +00:00
function XRedPointConditionBossSingle.GetSubConditions()
Conditions = Conditions or {
XRedPointConditions.Types.CONDITION_ACTIVITY_BOSS_SINGLE_NEW
}
return Conditions
end
--有关卡还没打, 而且开放了
function XRedPointConditionBossSingle.Check()
2024-09-01 20:49:41 +00:00
if XDataCenter.FubenActivityBossSingleManager.CheckActivityRedPoint() then
return true
end
2024-09-01 20:49:41 +00:00
return XRedPointActivityBossSingleStoryNew.Check()
end
return XRedPointConditionBossSingle