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

15 lines
416 B
Lua
Raw Permalink Normal View History

2024-09-01 20:49:41 +00:00
local XRedPointConditionMonsterCombatNewChapter = {}
function XRedPointConditionMonsterCombatNewChapter.Check()
-- 开启
if not XDataCenter.MonsterCombatManager.IsOpen(true) then
return false
end
-- 新解锁章节
if XDataCenter.MonsterCombatManager.CheckNewUnlockChapterRedPoint() then
return true
end
return false
end
return XRedPointConditionMonsterCombatNewChapter