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

19 lines
No EOL
410 B
Lua

local XRedPointConditionMaverick2 = {}
function XRedPointConditionMaverick2.Check()
if not XDataCenter.Maverick2Manager.IsOpen() then
return false
end
if XDataCenter.Maverick2Manager.CheckTaskCanReward() then
return true
end
if XDataCenter.Maverick2Manager.IsShowShopRed() then
return true
end
return false
end
return XRedPointConditionMaverick2