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

16 lines
No EOL
460 B
Lua

local XRedPointConditionArchiveMonsterInfo = {}
local Events = nil
function XRedPointConditionArchiveMonsterInfo.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVNET_ARCHIVE_MONSTER_UNLOCKMONSTERINFO),
}
return Events
end
function XRedPointConditionArchiveMonsterInfo.Check(monsterId)
return XDataCenter.ArchiveManager.IsHaveNewMonsterInfoByNpcId(monsterId)
end
return XRedPointConditionArchiveMonsterInfo