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

12 lines
No EOL
369 B
Lua

local XRedPointConditionMaverickPattern = {}
function XRedPointConditionMaverickPattern.Check(patternId)
local isEnd, isNotStart = XDataCenter.MaverickManager.IsPatternEnd(patternId)
if isEnd or isNotStart then
return false
end
return not XDataCenter.MaverickManager.GetPatternEnterFlag(patternId)
end
return XRedPointConditionMaverickPattern