Bugfix
This commit is contained in:
@@ -166,7 +166,7 @@ function AutoQueueBG:BuffDuration(unit, buffName)
|
|||||||
if expirationTime == nil then
|
if expirationTime == nil then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
return (GetTime() - expirationTime)
|
return -1 * (GetTime() - expirationTime)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -194,7 +194,7 @@ function AutoQueueBG:BuffPlayers()
|
|||||||
local unit = "raid" .. i
|
local unit = "raid" .. i
|
||||||
if AutoQueueBG:CheckRaidMember(unit) then
|
if AutoQueueBG:CheckRaidMember(unit) then
|
||||||
local spellName = GetSpellInfo(GSDK_ID)
|
local spellName = GetSpellInfo(GSDK_ID)
|
||||||
if AutoQueueBG:BuffDuration(unit, spellName) < 15 then
|
if AutoQueueBG:BuffDuration(unit, spellName) < 15000 then
|
||||||
AutoQueueBG:BuffPlayer(unit, GSDK_ID)
|
AutoQueueBG:BuffPlayer(unit, GSDK_ID)
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user