forked from endernon/PGRData
41 lines
No EOL
1.1 KiB
Lua
41 lines
No EOL
1.1 KiB
Lua
XRedPointConditionNieRRed = {}
|
|
--local Events = nil
|
|
local SubConditions = nil
|
|
-- function XRedPointConditionNieRRed.GetSubEvents()
|
|
-- Events = Events or {
|
|
-- XRedPointEventElement.New(XEventId.EVENT_TASK_SYNC)
|
|
-- }
|
|
-- return Events
|
|
-- end
|
|
function XRedPointConditionNieRRed.GetSubConditions()
|
|
SubConditions = SubConditions or
|
|
{
|
|
XRedPointConditions.Types.CONDITION_NIER_TASK_RED,
|
|
XRedPointConditions.Types.CONDITION_NIER_POD_RED,
|
|
XRedPointConditions.Types.CONDITION_NIER_REPEAT_RED,
|
|
XRedPointConditions.Types.CONDITION_NIER_CHARACTER_RED,
|
|
}
|
|
return SubConditions
|
|
end
|
|
|
|
function XRedPointConditionNieRRed.Check()
|
|
if XRedPointConditionNieRPODRed.Check() then
|
|
return true
|
|
end
|
|
|
|
if XRedPointConditionNieRRepeatRed.Check() then
|
|
return true
|
|
end
|
|
|
|
if XRedPointConditionNieRTaskRed.Check(-1) then
|
|
return true
|
|
end
|
|
|
|
if XRedPointConditionNieRCharacterRed.Check( {CharacterId = -1, IsInfor = true, IsTeach = true}) then
|
|
return true
|
|
end
|
|
|
|
return false
|
|
end
|
|
|
|
return XRedPointConditionNieRRed |