【战斗界面】上方血条移仓
parent
171da338df
commit
cf1cf818e2
|
@ -286,6 +286,8 @@ end
|
|||
|
||||
-- 初始化
|
||||
function this.InitPanelData()
|
||||
this.dmg2:SetActive(fightType == BATTLE_TYPE.XINJIANG)
|
||||
this.dmg3:SetActive(fightType == BATTLE_TYPE.TASUILINGXIAO)
|
||||
if fightType == BATTLE_TYPE.GUILD_BOSS and fightType == BATTLE_TYPE.GUILD_CAR_DELAY then
|
||||
this.myDamage = 0
|
||||
this.myDamageLevel = 0
|
||||
|
@ -299,7 +301,6 @@ function this.InitPanelData()
|
|||
end)
|
||||
end
|
||||
elseif fightType == BATTLE_TYPE.XINJIANG then
|
||||
this.dmg2:SetActive(fightType == BATTLE_TYPE.XINJIANG)
|
||||
boxList[1]:SetActive(true)
|
||||
this.myDamage = 0
|
||||
this.myDamageLevel = 0
|
||||
|
@ -319,7 +320,6 @@ function this.InitPanelData()
|
|||
local actData = CommonActPageManager.GetData(ActivityTypeDef.TaSuiLingXiao)
|
||||
local boxs = ConfigManager.GetConfigDataByKey(ConfigName.NewHeroConfig,"Id",actData.activityId).BoxList
|
||||
local maxDmg = actData.value
|
||||
this.dmg3:SetActive(fightType == BATTLE_TYPE.TASUILINGXIAO)
|
||||
this.myDamage = 0
|
||||
this.myDamageLevel = 0
|
||||
this.dmg3Text.text = string.format("0/%s",boxs[1][1])
|
||||
|
|
Loading…
Reference in New Issue