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

16 lines
618 B
Lua
Raw Permalink Normal View History

2024-09-01 22:49:41 +02:00
local XRedPointConditionSpecialTrainPointAndTask = {}
local Events = nil
function XRedPointConditionSpecialTrainPointAndTask.GetSubEvents()
Events = Events or {
XRedPointEventElement.New(XEventId.EVENT_ITEM_COUNT_UPDATE_PREFIX .. XDataCenter.FubenSpecialTrainManager.GetSpecialTrainPointItemId()),
}
return Events
end
function XRedPointConditionSpecialTrainPointAndTask.Check()
return XDataCenter.FubenSpecialTrainManager.CheckHasActivityPointAndSatisfiedToGetReward() or XDataCenter.FubenSpecialTrainManager.CheckTaskAchieved()
end
return XRedPointConditionSpecialTrainPointAndTask