Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Oct 10, 2024
2 parents ab98832 + 2b1f591 commit 0b45d40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5772,7 +5772,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1

elseif (IsInGroup()) then
local unitIdCache = Details222.UnitIdCache.Party
for i = 1, 4 do
for i = 1, 5 do
local unitId = unitIdCache[i]
local guid = UnitGUID(unitId)
if (guid) then
Expand Down Expand Up @@ -6954,7 +6954,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1

elseif (IsInGroup()) then
local unitIdCache = Details222.UnitIdCache.Party
for i = 1, GetNumGroupMembers()-1 do
for i = 1, GetNumGroupMembers() do
local unitId = unitIdCache[i]

local unitName = GetUnitName(unitId, true)
Expand Down
2 changes: 1 addition & 1 deletion core/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ end

elseif (IsInGroup()) then
local unitIdCache = Details222.UnitIdCache.Party
for i = 1, GetNumGroupMembers()-1, 1 do
for i = 1, GetNumGroupMembers(), 1 do
if (UnitAffectingCombat(unitIdCache[i])) then
return true
end
Expand Down

0 comments on commit 0b45d40

Please sign in to comment.