界面调整
This commit is contained in:
parent
43ef1a5a8d
commit
63f4851117
@ -100,9 +100,9 @@ function HeroManager:getSkillRogueBattleBg(skillId)
|
||||
return cfg and "battle_board_" .. cfg.qlt
|
||||
end
|
||||
|
||||
function HeroManager:getSkillRogueBg(skillId)
|
||||
function HeroManager:getSkillRogueBg(skillId, onlyQlt)
|
||||
local cfg = ConfigManager:getConfig("skill_rogue")[skillId]
|
||||
if cfg.skill_position then -- 解锁技能类型
|
||||
if cfg.skill_position and not onlyQlt then -- 解锁技能类型
|
||||
return "frame_skill_0"
|
||||
end
|
||||
return cfg and "frame_" .. cfg.qlt
|
||||
|
||||
@ -61,7 +61,7 @@ function HeroDetailUI:_display()
|
||||
skillBg:setSprite(GConst.ATLAS_PATH.ICON_SKILL_ROGUE, "frame_0")
|
||||
else
|
||||
skillLv:setText(GConst.EMPTY_STRING)
|
||||
skillBg:setSprite(GConst.ATLAS_PATH.ICON_SKILL_ROGUE, ModuleManager.HeroManager:getSkillRogueBg(skillId))
|
||||
skillBg:setSprite(GConst.ATLAS_PATH.ICON_SKILL_ROGUE, ModuleManager.HeroManager:getSkillRogueBg(skillId, true))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user