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

27 lines
No EOL
581 B
Lua

local XRedPointConditionGuildBoss = {}
local SubCondition = nil
function XRedPointConditionGuildBoss.GetSubConditions()
SubCondition = SubCondition or {
XRedPointConditions.Types.CONDITION_GUILDBOSS_BOSSHP,
XRedPointConditions.Types.CONDITION_GUILDBOSS_SCORE,
}
return SubCondition
end
function XRedPointConditionGuildBoss.Check()
if XRedPointConditionGuildBossHp.Check() then
return true
end
if XRedPointConditionGuildBossScore.Check() then
return true
end
return false
end
return XRedPointConditionGuildBoss