Skip to content

Commit f882b1e

Browse files
authored
remove hard-coded boss health numbers limit (#112)
1 parent b976983 commit f882b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NumericUI/scripts/mods/NumericUI/BossHealth.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ mod:hook_safe("HudElementBossHealth", "update", function(self)
119119
if mod:get("show_boss_health_numbers") then
120120
local widget_groups = self._widget_groups
121121
local active_targets_array = self._active_targets_array
122-
local num_active_targets = math.min(2, #active_targets_array)
122+
local num_active_targets = math.min(#widget_groups - 1, #active_targets_array)
123123

124124
for i = 1, num_active_targets do
125125
local widget_group_index = num_active_targets > 1 and i + 1 or i

0 commit comments

Comments
 (0)