Update Large Monster Health when Host on Player Join?

This commit is contained in:
GreenComfyTea
2023-08-17 12:18:55 +03:00
parent 6456e3bfaf
commit 1c9eff6b06
3 changed files with 15 additions and 12 deletions

View File

@@ -155,7 +155,7 @@ function this.update_large_monster(enemy)
large_monster.update_rage_timer(enemy, monster, nil);
if (quest_status.is_online and players.myself.id ~= 0)
or not monster.is_health_initialized then
or monster.is_health_update_requested then
local physical_param = large_monster.update_health(enemy, monster);
pcall(large_monster.update_parts, enemy, monster, physical_param);
pcall(large_monster.update_anomaly_parts, enemy, monster, nil);