This commit is contained in:
Roman Hergenreder 2017-11-22 22:15:17 +01:00
parent 1231dff151
commit 696716606e

@ -193,8 +193,9 @@ function AutoQueueBG:BuffPlayers()
for i = 1, 40 do -- For each raid member for i = 1, 40 do -- For each raid member
local unit = "raid" .. i local unit = "raid" .. i
if AutoQueueBG:CheckRaidMember(unit) then if AutoQueueBG:CheckRaidMember(unit) then
if AutoQueueBG:BuffDuration(unit, GetSpellInfo(GSDK)) < 15 then local spellName = GetSpellInfo(GSDK_ID)
BuffPlayer(unit, GSDK) if AutoQueueBG:BuffDuration(unit, spellName) < 15 then
AutoQueueBG:BuffPlayer(unit, GSDK_ID)
return; return;
end end
end end