PGRData/Script/matrix/xredpoint/xredpointconditions/xescape/XRedPointConditionEscapeActivityChallenge.lua

14 lines
394 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
local XRedPointConditionEscapeActivityChallenge = {}
function XRedPointConditionEscapeActivityChallenge.Check()
if not XFunctionManager.JudgeCanOpen(XFunctionManager.FunctionName.Escape) then
return false
end
if XDataCenter.EscapeManager.CheckIsNeedActivityChallenge() then
return true
end
return false
end
return XRedPointConditionEscapeActivityChallenge