mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-25 12:58:06 -08:00
Fix Total Damage registering too large values
This commit is contained in:
@@ -542,6 +542,10 @@ function this.update_poison(monster, poison_param)
|
|||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not is_damage then
|
||||||
|
return;
|
||||||
|
end
|
||||||
|
|
||||||
local poison_damage = poison_damage_field:get_data(poison_param);
|
local poison_damage = poison_damage_field:get_data(poison_param);
|
||||||
if poison_damage == nil then
|
if poison_damage == nil then
|
||||||
error_handler.report("ailments.update_poison", "Failed to access Data: poison_damage");
|
error_handler.report("ailments.update_poison", "Failed to access Data: poison_damage");
|
||||||
|
|||||||
Reference in New Issue
Block a user