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

16 lines
No EOL
367 B
Lua

local XRedPointConditionMaze = {}
function XRedPointConditionMaze.Check()
if not XDataCenter.MazeManager.IsOpen() then
return false
end
if XDataCenter.MazeManager.IsTaskCanGetReward() then
return true
end
if XDataCenter.MazeManager.IsFirstTime() then
return true
end
return false
end
return XRedPointConditionMaze