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

16 lines
367 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
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