暂停界面显示修改
This commit is contained in:
parent
a0e87d83ec
commit
40179a3e67
@ -1,6 +1,11 @@
|
||||
local BattlePauseUI = class("BattlePauseUI", BaseUI)
|
||||
|
||||
local SELECT_SKILL_CELL = "app/ui/battle/cell/select_skill_cell"
|
||||
local SKILL_ROGUE_CFG = ConfigManager:getConfig("skill_rogue")
|
||||
local HIDE_TYPE = {
|
||||
[9] = true,
|
||||
[10] = true
|
||||
}
|
||||
|
||||
function BattlePauseUI:isFullScreen()
|
||||
return false
|
||||
@ -18,7 +23,10 @@ function BattlePauseUI:ctor(params)
|
||||
local map = DataManager.BattleData:getSelectSkillMap()
|
||||
self.skillList = {}
|
||||
for skillId, info in pairs(map) do
|
||||
table.insert(self.skillList, {skillId = skillId, info = info})
|
||||
local cfg = SKILL_ROGUE_CFG[skillId]
|
||||
if cfg and not HIDE_TYPE[cfg.type] then
|
||||
table.insert(self.skillList, {skillId = skillId, info = info})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user