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:
SL1900
2026-04-18 00:15:00 +09:00
parent 35fe1f046d
commit e0549005e1
1150 changed files with 941124 additions and 19847 deletions
+6 -4
View File
@@ -128,7 +128,8 @@ EliteMonsterHudCtrl._mapNodeConfig = {
EliteMonsterHudCtrl._mapEventConfig = {}
local multipleBossIcon = {
[GameEnum.monsterBloodType.BOSS] = "icon_story_boss1",
[GameEnum.monsterBloodType.MINIBOSS] = "icon_story_boss2"
[GameEnum.monsterBloodType.MINIBOSS] = "icon_story_boss2",
[GameEnum.monsterBloodType.JOINTDRILLBOSS] = "icon_story_boss1"
}
function EliteMonsterHudCtrl:PlayTweenHp(hp, hpMax)
local nWidth = 1 <= hp / hpMax and BarWidth or hp / hpMax * BarWidth
@@ -296,7 +297,7 @@ function EliteMonsterHudCtrl:OnDisable()
end
function EliteMonsterHudCtrl:OnDestroy()
end
function EliteMonsterHudCtrl:SetMonsterId(monsterId, nDataId, nType, bMultipleBoss)
function EliteMonsterHudCtrl:SetMonsterId(monsterId, nDataId, nType)
if self.monsterId == monsterId then
return
end
@@ -306,8 +307,9 @@ function EliteMonsterHudCtrl:SetMonsterId(monsterId, nDataId, nType, bMultipleBo
return
end
self.monsterId = monsterId
self._mapNode.imgBossIcon.gameObject:SetActive(bMultipleBoss)
if bMultipleBoss then
local bShowBossIcon = nType == GameEnum.monsterBloodType.BOSS or nType == GameEnum.monsterBloodType.MINIBOSS or nType == GameEnum.monsterBloodType.JOINTDRILLBOSS
self._mapNode.imgBossIcon.gameObject:SetActive(bShowBossIcon)
if bShowBossIcon then
local sIcon = multipleBossIcon[nType]
self:SetAtlasSprite(self._mapNode.imgBossIcon, "15_battle", sIcon)
NovaAPI.SetImageNativeSize(self._mapNode.imgBossIcon)
+3 -3
View File
@@ -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
+11 -5
View File
@@ -81,8 +81,9 @@ end
function HuoChuiHudCtrl:OnDisable()
EventManager.RemoveEntityEvent("Dead", self.monsterId, self, self.OnEvent_Deaded)
EventManager.RemoveEntityEvent("ClearSlef", self.monsterId, self, self.OnEvent_Deaded)
EventManager.RemoveEntityEvent("ValueChange", self.monsterId, self, self.OnEvent_ValueChange)
EventManager.RemoveEntityEvent("StateChange", self.monsterId, self, self.OnEvent_StageChange)
EventManager.RemoveEntityEvent("HotValueChange", self.monsterId, self, self.OnEvent_ValueChange)
EventManager.RemoveEntityEvent("HotStateChange", self.monsterId, self, self.OnEvent_StageChange)
self.monsterId = nil
end
function HuoChuiHudCtrl:ChangeState1()
self._mapNode.goState33:SetActive(false)
@@ -105,6 +106,11 @@ function HuoChuiHudCtrl:ChangeStateHot()
self._mapNode.goHotState:SetActive(true)
end
function HuoChuiHudCtrl:OnDestroy()
EventManager.RemoveEntityEvent("Dead", self.monsterId, self, self.OnEvent_Deaded)
EventManager.RemoveEntityEvent("ClearSlef", self.monsterId, self, self.OnEvent_Deaded)
EventManager.RemoveEntityEvent("HotValueChange", self.monsterId, self, self.OnEvent_ValueChange)
EventManager.RemoveEntityEvent("HotStateChange", self.monsterId, self, self.OnEvent_StageChange)
self.monsterId = nil
end
function HuoChuiHudCtrl:OnRelease()
end
@@ -129,12 +135,12 @@ function HuoChuiHudCtrl:SetState(nBeforeValue, nCurValue)
end
end
function HuoChuiHudCtrl:OnEvent_Deaded()
self.monsterId = nil
self.gameObject:SetActive(false)
EventManager.RemoveEntityEvent("Dead", self.monsterId, self, self.OnEvent_Deaded)
EventManager.RemoveEntityEvent("ClearSlef", self.monsterId, self, self.OnEvent_Deaded)
EventManager.RemoveEntityEvent("ValueChange", self.monsterId, self, self.OnEvent_ValueChange)
EventManager.RemoveEntityEvent("StateChange", self.monsterId, self, self.OnEvent_StageChange)
EventManager.RemoveEntityEvent("HotValueChange", self.monsterId, self, self.OnEvent_ValueChange)
EventManager.RemoveEntityEvent("HotStateChange", self.monsterId, self, self.OnEvent_StageChange)
self.monsterId = nil
end
function HuoChuiHudCtrl:OnEvent_ValueChange(nValue)
local nBeforValue = self.nHotValue