Update - 1.9.0.105

EN: 1.9.0.105
CN: 1.9.0.106
JP: 1.9.0.109
KR: 1.9.0.110
This commit is contained in:
SL1900
2026-04-30 15:30:00 +09:00
parent 4cb9facacf
commit 2fc2487e0c
170 changed files with 18534 additions and 1726 deletions
@@ -148,15 +148,18 @@ function ScoreBossLevel:OnEvent_HpChanged(hp, hpMax)
if self.isSettlement then
return
end
self.BossMaxHp = hpMax
if self.isDontChangeHp then
return
end
if self.BossCurLvMinHp == -1 then
self.BossCurLvMinHp = hp
self.parent:DamageToScore(hpMax - hp, self.SwitchRate, self.BattleLv)
return
end
if hp < self.BossCurLvMinHp then
if hp > self.BossCurLvMinHp then
self.BossCurLvMinHp = hp
end
if hp <= self.BossCurLvMinHp then
self.BossCurLvMinHp = hp
self.parent:DamageToScore(hpMax - hp, self.SwitchRate, self.BattleLv)
end
@@ -178,9 +181,11 @@ function ScoreBossLevel:OnEvent_BossRushMonsterLevelChanged(oldLevel, battleLeve
end
end
self.parent:HPLevelChanged()
self.isDontChangeHp = false
end
function ScoreBossLevel:OnEvent_BossRushMonsterBattleAttrChanged()
self.isDontChangeHp = false
local healthInfo = CS.AdventureModuleHelper.GetEntityHealthInfo(self.BossId)
self.BossMaxHp = healthInfo ~= nil and healthInfo.hpMax or 0
end
function ScoreBossLevel:ScoreBossResultTime(nTime)
self.nTime = nTime