PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionArchiveMonsterSkill.lua

16 lines
466 B
Lua
Raw Normal View History

local XRedPointConditionArchiveMonsterSkill = {}
local Events = nil
function XRedPointConditionArchiveMonsterSkill.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVNET_ARCHIVE_MONSTER_UNLOCKMONSTERSKILL),
}
return Events
end
function XRedPointConditionArchiveMonsterSkill.Check(monsterId)
return XDataCenter.ArchiveManager.IsHaveNewMonsterSkillByNpcId(monsterId)
end
return XRedPointConditionArchiveMonsterSkill