Update - 1.9.0.103
EN: 1.9.0.103 CN: 1.9.0.104 JP: 1.9.0.106 KR: 1.9.0.108
This commit is contained in:
@@ -165,7 +165,8 @@ BossHUDCtrl._mapNodeConfig = {
|
||||
}
|
||||
BossHUDCtrl._mapEventConfig = {
|
||||
AllHudShow = "OnEvent_HudShow",
|
||||
BattleRestart = "OnEvent_Deaded"
|
||||
BattleRestart = "OnEvent_Deaded",
|
||||
JointDrillReset = "OnEvent_JointDrillReset"
|
||||
}
|
||||
BossHUDCtrl._mapRedDotConfig = {}
|
||||
local multipleBossIcon = {
|
||||
@@ -428,6 +429,16 @@ function BossHUDCtrl:OnEvent_Deaded()
|
||||
NovaAPI.SetCanvasGroupAlpha(self.rootCanvasGroup, 0)
|
||||
end
|
||||
end
|
||||
function BossHUDCtrl:OnEvent_JointDrillReset()
|
||||
if self.bossType == GameEnum.monsterBloodType.JOINTDRILLBOSS then
|
||||
self.JointDrillEnergyStage = jointDrillEnergyStage.None
|
||||
local anim = self._mapNode.jointDrill_BossEnergy:GetComponent("Animator")
|
||||
if anim == nil then
|
||||
return
|
||||
end
|
||||
anim:Play("Empty")
|
||||
end
|
||||
end
|
||||
function BossHUDCtrl:AddEntityEvent()
|
||||
self._mapNode.rtBuff:BindEntity(self.bossId)
|
||||
EventManager.AddEntityEvent("ShieldChanged", self.bossId, self, self.OnEvent_ShieldChanged)
|
||||
@@ -741,6 +752,11 @@ function BossHUDCtrl:OnEvent_RefreshBossEnergyValueHUD(isSave)
|
||||
if not isSave then
|
||||
NovaAPI.SetImageFillAmount(self._mapNode.jointDrill_BossEnergyValue, 0)
|
||||
self.JointDrillEnergyStage = jointDrillEnergyStage.None
|
||||
local anim = self._mapNode.jointDrill_BossEnergy:GetComponent("Animator")
|
||||
if anim == nil then
|
||||
return
|
||||
end
|
||||
anim:Play("Empty")
|
||||
end
|
||||
end
|
||||
function BossHUDCtrl:SetJointDrillBossHPValue()
|
||||
|
||||
Reference in New Issue
Block a user