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

10 lines
331 B
Lua
Raw Normal View History

2024-09-01 22:49:41 +02:00
local XRedPointConditionDormQuestTerminal = {}
function XRedPointConditionDormQuestTerminal.Check()
if not XFunctionManager.JudgeCanOpen(XFunctionManager.FunctionName.DormQuest) then
return false
end
return XDataCenter.DormQuestManager.CheckDormEntrustRedPoint()
end
return XRedPointConditionDormQuestTerminal