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",