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

16 lines
No EOL
466 B
Lua

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