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

10 lines
463 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
local XRedPointConditionNewCharIsChallengeable = {}
function XRedPointConditionNewCharIsChallengeable.Check()
local config = XActivityBriefConfigs.GetActivityGroupConfig(XActivityBriefConfigs.ActivityGroupId.NewCharActivity)
local skipList = XFunctionConfig.GetSkipList(config.SkipId)
local actId = skipList.CustomParams[1]
return XDataCenter.FubenNewCharActivityManager.IsChallengeable(actId)
end
return XRedPointConditionNewCharIsChallengeable