mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-10-29 04:24:07 -07:00
Revert back to update() hook.
This commit is contained in:
1 parent
fc9d6fa25f
commit
48205368e2
13 files changed
+204
-279
No files matched your search
@@ -167,16 +167,8 @@ function damage_hook.update_damage(enemy, enemy_calc_damage_info)
|
||||
local monster;
|
||||
if is_large_monster then
|
||||
monster = large_monster.get_monster(enemy);
|
||||
|
||||
if quest_status.is_online and player.myself.id ~= 0 then
|
||||
local physical_param = large_monster.update_health(enemy, monster);
|
||||
large_monster.update_parts(enemy, monster, physical_param);
|
||||
end
|
||||
else
|
||||
if quest_status.is_online and player.myself.id ~= 0 then
|
||||
monster = small_monster.get_monster(enemy);
|
||||
small_monster.update_health(enemy, monster);
|
||||
end
|
||||
monster = small_monster.get_monster(enemy);
|
||||
end
|
||||
|
||||
local stun_damage = enemy_calc_damage_info:get_field("<StunDamage>k__BackingField");
|
||||
|
||||
Reference in new issue
Block a user