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:
@@ -142,7 +142,7 @@ function HudMainCtrl:MonsterShowChanged(id, showed, nType, nDataId)
|
||||
self.monsterHuds[id] = nil
|
||||
end
|
||||
end
|
||||
function HudMainCtrl:MonsterAdvShowChanged(id, showed, nType, nDataId, bMultipleBoss)
|
||||
function HudMainCtrl:MonsterAdvShowChanged(id, showed, nType, nDataId)
|
||||
local monsterHud = self.monsterAdvHuds[id]
|
||||
local isPlayerSummoner = nType == GameEnum.monsterBloodType.PLAYERSUMMON
|
||||
if showed then
|
||||
@@ -158,7 +158,7 @@ function HudMainCtrl:MonsterAdvShowChanged(id, showed, nType, nDataId, bMultiple
|
||||
monsterHud.gameObject.transform.localScale = Vector3.one
|
||||
end
|
||||
if monsterHud ~= nil then
|
||||
monsterHud:SetMonsterId(id, nDataId, nType, bMultipleBoss)
|
||||
monsterHud:SetMonsterId(id, nDataId, nType)
|
||||
local height = AdventureModuleHelper.GetEntityMonsterBarHeight(id)
|
||||
local offset = Vector3(0, height, 0)
|
||||
AdventureModuleHelper.SetHudFollowTarget(id, monsterHud.gameObject, offset, true)
|
||||
@@ -171,7 +171,7 @@ end
|
||||
function HudMainCtrl:OnEvent_ShowBossHUD(bossId, nType, showed, nDataId, nBloodType)
|
||||
self.nBloodType = nBloodType
|
||||
showed = showed and self.tbBossBloodState[bossId] == true
|
||||
self:MonsterAdvShowChanged(bossId, showed, nType, nDataId, true)
|
||||
self:MonsterAdvShowChanged(bossId, showed, nType, nDataId)
|
||||
end
|
||||
function HudMainCtrl:OnEvent_MonsterHUDChange(id, nType, showed, nDataId)
|
||||
if nType == GameEnum.monsterBloodType.BOSSRUSH then
|
||||
|
||||
Reference in New Issue
Block a user