mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 12:28:03 -08:00
Fix 2nd otomo damage not being merged into player
This commit is contained in:
@@ -86,7 +86,7 @@ function damage_hook.update_damage(enemy, enemy_calc_damage_info)
|
|||||||
|
|
||||||
-- 4 is virtual player in singleplayer that "owns" 2nd otomo
|
-- 4 is virtual player in singleplayer that "owns" 2nd otomo
|
||||||
if not quest_status.is_online and attacker_id == 4 then
|
if not quest_status.is_online and attacker_id == 4 then
|
||||||
attacker_id = player.myself.player_id;
|
attacker_id = player.myself.id;
|
||||||
end
|
end
|
||||||
|
|
||||||
if is_marionette_attack then
|
if is_marionette_attack then
|
||||||
@@ -150,10 +150,10 @@ function damage_hook.update_damage(enemy, enemy_calc_damage_info)
|
|||||||
-- 31 - EcSwampLeech
|
-- 31 - EcSwampLeech
|
||||||
-- 32 - EcPenetrateFish
|
-- 32 - EcPenetrateFish
|
||||||
|
|
||||||
--xy = xy .. "\nPlayer: " .. tostring(attacker_id) ..
|
--xy = "\nPlayer: " .. tostring(attacker_id) ..
|
||||||
--" Damage: " .. tostring(damage_object.total_damage) ..
|
--" Damage: " .. tostring(damage_object.total_damage) ..
|
||||||
--" Type: (" .. tostring(attacker_type) ..
|
--" Type: (" .. tostring(attacker_type) ..
|
||||||
--") " .. tostring(types[attacker_type]) ..
|
--") " ..
|
||||||
--" Condition Damage: " .. tostring(condition_damage) ..
|
--" Condition Damage: " .. tostring(condition_damage) ..
|
||||||
--" Condition Type: (" .. tostring(attacker_type) ..
|
--" Condition Type: (" .. tostring(attacker_type) ..
|
||||||
--") " .. tostring(condition_type);
|
--") " .. tostring(condition_type);
|
||||||
|
|||||||
Reference in New Issue
Block a user