From 1439be930eebf82a5f1939664d12e8a8d95b10d4 Mon Sep 17 00:00:00 2001 From: kai <413323644@qq.com> Date: Tue, 14 Oct 2025 15:53:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=82=89=E9=B8=BD=E6=8A=80=E8=83=BD=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/config/battle_exp.lua | 6 +++--- lua/app/module/hero/hero_manager.lua | 6 +++++- lua/app/ui/battle/battle_pause_ui.lua | 7 +++++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/lua/app/config/battle_exp.lua b/lua/app/config/battle_exp.lua index aa700348..24ba2153 100644 --- a/lua/app/config/battle_exp.lua +++ b/lua/app/config/battle_exp.lua @@ -1,12 +1,12 @@ local battle_exp = { [1]={ - ["exp"]=10000 + ["exp"]=1 }, [2]={ - ["exp"]=10000 + ["exp"]=1 }, [3]={ - ["exp"]=10000 + ["exp"]=1 }, [4]={ ["exp"]=10000 diff --git a/lua/app/module/hero/hero_manager.lua b/lua/app/module/hero/hero_manager.lua index ad969db2..9a83e6ae 100644 --- a/lua/app/module/hero/hero_manager.lua +++ b/lua/app/module/hero/hero_manager.lua @@ -208,7 +208,11 @@ function HeroManager:getSkillRogueBg(skillId, onlyQlt) -- if cfg.skill_position and not onlyQlt then -- 解锁技能类型 -- return "frame_skill_0" -- end - return cfg and "base_" .. (cfg.icon_base or 1) + if cfg.universal and cfg.universal == 1 then + return cfg and "frame_" .. cfg.qlt + else + return cfg and "base_" .. (cfg.icon_base or 1) + end end function HeroManager:getSkillBg(skillId) diff --git a/lua/app/ui/battle/battle_pause_ui.lua b/lua/app/ui/battle/battle_pause_ui.lua index 02e8f8bd..63e9f281 100644 --- a/lua/app/ui/battle/battle_pause_ui.lua +++ b/lua/app/ui/battle/battle_pause_ui.lua @@ -111,10 +111,13 @@ function BattlePauseUI:_refreshScrollRect() if skillId == 24 then -- 特殊处理 if ModuleManager.BattleManager.battleController then valueStr = ModuleManager.BattleManager.battleController.battleData:getSkillCount(skillId) - valueStr = I18N:getText("skill_rogue", skillId, "desc", valueStr) .. skillId + valueStr = I18N:getText("skill_rogue", skillId, "desc", valueStr) end else - valueStr = ModuleManager.HeroManager:getSkillRogueDesc(skillId, value) .. skillId + valueStr = ModuleManager.HeroManager:getSkillRogueDesc(skillId, value) + end + if EDITOR_MODE then + valueStr = valueStr .. skillId end ModuleManager.TipsManager:showDescTips(valueStr, cell:getBaseObject()) end)