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

14 lines
383 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
local XRedPointConditionSCIsChallenge = {}
function XRedPointConditionSCIsChallenge.Check()
local sameColorGameManager = XDataCenter.SameColorActivityManager
if not sameColorGameManager.GetIsOpen() then
return false
end
if sameColorGameManager.IsShowChallengable() then
return true
end
return false
end
return XRedPointConditionSCIsChallenge