mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-10-28 20:14:07 -07:00
Fix Total Damage registering too large values
This commit is contained in:
1 parent
3e66b920ef
commit
1c20591b33
1 file changed
+4
@@ -541,6 +541,10 @@ function this.update_poison(monster, poison_param)
|
||||
error_handler.report("ailments.update_poison", "Failed to access Data: is_damage");
|
||||
return;
|
||||
end
|
||||
|
||||
if not is_damage then
|
||||
return;
|
||||
end
|
||||
|
||||
local poison_damage = poison_damage_field:get_data(poison_param);
|
||||
if poison_damage == nil then
|
||||
|
||||
Reference in new issue
Block a user