Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/Classes/PartyTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,12 @@ function PartyTabClass:ParseBuffs(list, buf, buffType, label)
for line in buf:gmatch("([^\n]*)\n?") do
if line:find("=") then
-- label is output for this type, as a special case
if line:match("%.") then
local k1, k2, v = line:match("([%w ]-%w+)%.([%w ]-%w+)=(.+)")
label[k1] = {[k2] = tonumber(v)}
local k1, k2, v = line:match("^([%w ]-%w+)%.([%w ]-%w+)=(.+)$")
if k1 then
if type(label[k1]) ~= "table" then
label[k1] = { }
end
label[k1][k2] = tonumber(v)
elseif line:match("|") then
local k, tags, v = line:match("([%w ]-%w+)|(.+)=(.+)")
v = tonumber(v)
Expand Down
Loading