Skip to content

Commit

Permalink
move this around (aimed shot buff check)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Jan 30, 2025
1 parent 7c34b06 commit 79861af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ElvUI_Libraries/Core/oUF/elements/castbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,17 @@ local function SpecialActive(unit, filter)
local index, speed = 1
local name, _, _, _, _, _, _, _, _, spellID = oUF:GetAuraData(unit, index, filter)
while name do
speed = specialAuras[spellID];

if speed == 0.6 then
return speed -- fastest speed
else -- we have to check the entire table otherwise just to see if a faster one is available
speed = specialAuras[spellID]
end

index = index + 1
name, _, _, _, _, _, _, _, _, spellID = oUF:GetAuraData(unit, index, filter)
end

return speed
return speed -- we have to check the entire table otherwise just to see if a faster one is available
end
-- end block

Expand Down

0 comments on commit 79861af

Please sign in to comment.