19 lines
765 B
Lua
19 lines
765 B
Lua
|
local XRedPointConditionArchiveMonsterAll = {}
|
||
|
local Events = nil
|
||
|
|
||
|
function XRedPointConditionArchiveMonsterAll.GetSubEvents()
|
||
|
Events = Events or
|
||
|
{
|
||
|
XRedPointEventElement.New(XEventId.EVNET_ARCHIVE_MONSTER_UNLOCKMONSTER),
|
||
|
XRedPointEventElement.New(XEventId.EVNET_ARCHIVE_MONSTER_UNLOCKMONSTERINFO),
|
||
|
XRedPointEventElement.New(XEventId.EVNET_ARCHIVE_MONSTER_UNLOCKMONSTERSKILL),
|
||
|
XRedPointEventElement.New(XEventId.EVNET_ARCHIVE_MONSTER_UNLOCKMONSTERSETTING),
|
||
|
}
|
||
|
return Events
|
||
|
end
|
||
|
|
||
|
function XRedPointConditionArchiveMonsterAll.Check()
|
||
|
return XDataCenter.ArchiveManager.IsMonsterHaveRedPointByAll() and XFunctionManager.JudgeCanOpen(XFunctionManager.FunctionName.Archive)
|
||
|
end
|
||
|
|
||
|
return XRedPointConditionArchiveMonsterAll
|