血条
This commit is contained in:
parent
88b9067fc4
commit
f9541d56d8
@ -46,7 +46,7 @@ function BattleUI:_bind()
|
|||||||
self:refreshLv()
|
self:refreshLv()
|
||||||
end, true)
|
end, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleUI:initSkill()
|
function BattleUI:initSkill()
|
||||||
if self.skillNodeCells then
|
if self.skillNodeCells then
|
||||||
return
|
return
|
||||||
@ -88,11 +88,10 @@ function BattleUI:getBattleNumber()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function BattleUI:initHpNode()
|
function BattleUI:initHpNode()
|
||||||
self.hpNode = self.uiMap["battle_ui.battle_hp_node"]
|
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.battle_hp_node.progress_left"]: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.battle_hp_node.progress_right"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_SLIDER)
|
self.hpTextRight = self.uiMap["battle_ui.top_node.atk_hp"]
|
||||||
self.hpTextRight = self.uiMap["battle_ui.battle_hp_node.text_right"]
|
self.hpTextLeft = self.uiMap["battle_ui.top_node.def_hp"]
|
||||||
self.hpTextLeft = self.uiMap["battle_ui.battle_hp_node.text_left"]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleUI:refreshAtkHp(num, percent)
|
function BattleUI:refreshAtkHp(num, percent)
|
||||||
@ -474,10 +473,6 @@ function BattleUI:refreshWave(wave)
|
|||||||
GFunc.centerImgAndTx(icon, desc, 10)
|
GFunc.centerImgAndTx(icon, desc, 10)
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleUI:refreshHp()
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
function BattleUI:clear()
|
function BattleUI:clear()
|
||||||
if self.alreadyClear then
|
if self.alreadyClear then
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user