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

18 lines
No EOL
449 B
Lua

local XRedPointConditionGuildBossScore = {}
local Events = nil
function XRedPointConditionGuildBossScore.GetSubEvents()
Events = Events or {
XRedPointEventElement.New(XEventId.EVENT_GUILDBOSS_SCOREBOX_CHANGED),
}
return Events
end
function XRedPointConditionGuildBossScore.Check()
if XDataCenter.GuildBossManager.IsScoreReward() then
return true
end
return false
end
return XRedPointConditionGuildBossScore