PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionMonsterCombatNewChapter.lua
2024-09-01 22:49:41 +02:00

15 lines
No EOL
416 B
Lua

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