Skip to content

Commit

Permalink
Run Debuff Test on all available unit instead of just player (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Sep 12, 2020
1 parent 3e5e11e commit 977faf5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Aptechka.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2751,12 +2751,12 @@ function Aptechka:UpdateHighlightedDebuffsHashMap()
end
end

function Aptechka.TestDebuffSlots()
function Aptechka:TestDebuffSlots()
Aptechka:ForEachFrame(Aptechka.TestDebuffSlotsForUnit)
end
function Aptechka.TestDebuffSlotsForUnit(frame, unit)
local shown = 0
local fill = 0
local unit = "player"
local frames = Roster[unit]
local frame = next(frames)
local debuffLineLength = frame.debuffIcons.maxChildren

local numBossAuras = math.random(3)-1
Expand Down

0 comments on commit 977faf5

Please sign in to comment.