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

10 lines
No EOL
463 B
Lua

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