Coach updates

This commit is contained in:
Tercio Jose
2020-12-20 17:44:09 -03:00
parent 4046189c5f
commit 9b972e41f9
7 changed files with 106 additions and 167 deletions
+3 -1
View File
@@ -461,7 +461,9 @@ function Details.packFunctions.PackDamage(combatObject)
local allPlayerNames = {}
for i = 1, 20 do
local unitName = UnitName("raid" .. i)
if (unitName and not UnitIsGroupLeader("raid" .. i)) then
local _, _, subgroup = GetRaidRosterInfo(i)
if (unitName and subgroup <= 4) then
allPlayerNames[#allPlayerNames+1] = unitName
end
end