攻防反了
This commit is contained in:
parent
7b9cd5ac78
commit
f291195ccd
@ -91,8 +91,8 @@ end
|
|||||||
function BattleUI:initHpNode()
|
function BattleUI:initHpNode()
|
||||||
self.hpProgressLeft = self.uiMap["battle_ui.top_node.bg_l.atk_slider_green"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_SLIDER)
|
self.hpProgressLeft = self.uiMap["battle_ui.top_node.bg_l.atk_slider_green"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_SLIDER)
|
||||||
self.hpProgressRight = self.uiMap["battle_ui.top_node.bg_r.atk_slider_red"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_SLIDER)
|
self.hpProgressRight = self.uiMap["battle_ui.top_node.bg_r.atk_slider_red"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_SLIDER)
|
||||||
self.hpTextRight = self.uiMap["battle_ui.top_node.atk_hp"]
|
self.hpTextLeft = self.uiMap["battle_ui.top_node.atk_hp"]
|
||||||
self.hpTextLeft = self.uiMap["battle_ui.top_node.def_hp"]
|
self.hpTextRight = self.uiMap["battle_ui.top_node.def_hp"]
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleUI:refreshAtkHp(num, percent)
|
function BattleUI:refreshAtkHp(num, percent)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user