From 69790fd5630431ec0524808bfd26713cad32a17a Mon Sep 17 00:00:00 2001 From: Fang Date: Fri, 11 Aug 2023 18:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=8A=A0=E9=A2=9C=E8=89=B2=E7=94=9F?= =?UTF-8?q?=E5=91=BD=E5=80=BC=E5=8A=A0=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/global/global_const.lua | 13 +++++++------ lua/app/module/battle/battle_const.lua | 5 +++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/lua/app/global/global_const.lua b/lua/app/global/global_const.lua index 94a882d0..558ca5e7 100644 --- a/lua/app/global/global_const.lua +++ b/lua/app/global/global_const.lua @@ -474,7 +474,7 @@ GConst.HERO_FRAME_BG_QLT = { GConst.QLT_COLOR = { [1] = "#aef1ff", - [2] = "#9aff9cz", + [2] = "#9aff9c", [3] = "#aef1ff", [4] = "#f6aeff", [5] = "#f6aeff", @@ -499,11 +499,12 @@ GConst.ENTITY_TYPE = { } GConst.MATCH_HP_NAME = { - [1] = "hp", - [2] = "hp", - [3] = "hp", - [4] = "hp", - [5] = "hp", + [0] = "hp", + [1] = "attr_hp_red", + [2] = "attr_hp_yellow", + [3] = "attr_hp_green", + [4] = "attr_hp_blue", + [5] = "attr_hp_purple", } GConst.MATCH_ATTACK_NAME = { diff --git a/lua/app/module/battle/battle_const.lua b/lua/app/module/battle/battle_const.lua index 79947010..12b37364 100644 --- a/lua/app/module/battle/battle_const.lua +++ b/lua/app/module/battle/battle_const.lua @@ -358,6 +358,11 @@ local ATTR_NAME = { ATK_GREEN = "atk_green", ATK_BLUE = "atk_blue", ATK_PURPLE = "atk_purple", + HP_RED = "attr_hp_red", + HP_YELLOW = "attr_hp_yellow", + HP_GREEN = "attr_hp_green", + HP_BLUE = "attr_hp_blue", + HP_PURPLE = "attr_hp_purple", DEC_DMG_RED = "dec_dmg_red", DEC_DMG_YELLOW = "dec_dmg_yellow", DEC_DMG_GREEN = "dec_dmg_green",