PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionChessPursuitReward.lua
2022-12-26 14:06:01 +05:30

16 lines
No EOL
459 B
Lua

local XRedPointConditionChessPursuitReward = {}
local Events = nil
--追击玩法有奖励可以领取
function XRedPointConditionChessPursuitReward.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_CHESSPURSUIT_MAP_UPDATE)
}
return Events
end
function XRedPointConditionChessPursuitReward.Check()
return XDataCenter.ChessPursuitManager.IsCanTakeReward()
end
return XRedPointConditionChessPursuitReward