审核处理
This commit is contained in:
parent
95c6377dbb
commit
54242318ed
@ -123,16 +123,20 @@ function DungeonData:getOpenDungeons()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local openDungeons = {}
|
local openDungeons = {}
|
||||||
|
-- 开启且活跃
|
||||||
table.foreach(self.dungeonStage, function(module, s)
|
table.foreach(self.dungeonStage, function(module, s)
|
||||||
if self:isOpen(module) and self:isActive(module) then
|
if self:isOpen(module) and self:isActive(module) then
|
||||||
table.insert(openDungeons, module)
|
table.insert(openDungeons, module)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
-- 开启且不活跃
|
||||||
|
if not GFunc.isShenhe() then
|
||||||
table.foreach(self.dungeonStage, function(module, s)
|
table.foreach(self.dungeonStage, function(module, s)
|
||||||
if self:isOpen(module) and not self:isActive(module) then
|
if self:isOpen(module) and not self:isActive(module) then
|
||||||
table.insert(openDungeons, module)
|
table.insert(openDungeons, module)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
-- 碎片和金币顺序特殊处理:策划要求,同时开启时,金币在碎片之上
|
-- 碎片和金币顺序特殊处理:策划要求,同时开启时,金币在碎片之上
|
||||||
if self:isActive(ModuleManager.MODULE_KEY.DUNGEON_GOLD) and self:isActive(ModuleManager.MODULE_KEY.DUNGEON_SHARDS) then
|
if self:isActive(ModuleManager.MODULE_KEY.DUNGEON_GOLD) and self:isActive(ModuleManager.MODULE_KEY.DUNGEON_SHARDS) then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user