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

13 lines
394 B
Lua

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