Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/Classes/PartyTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ function PartyTabClass:exportBuffs(buffType)
return self.buffExports[buffType].string
end
local buf = ((buffType == "Curse") and ("--- Curse Limit ---\n" .. tostring(self.buffExports["CurseLimit"]))) or ""
for buffName, buff in pairs(self.buffExports[buffType]) do
for buffName, buff in pairsSortByKey(self.buffExports[buffType]) do
if buffName ~= "extraAura" or #buff.modList > 0 then
if #buf > 0 then
buf = buf.."\n"
Expand All @@ -1014,7 +1014,7 @@ function PartyTabClass:exportBuffs(buffType)
buf = buf.."\n"..tostring(buff.effectMult * 100)
end
if buffType == "Aura" and buffName == "otherEffects" then
for innerBuffName, innerBuff in pairs(buff) do
for innerBuffName, innerBuff in pairsSortByKey(buff) do
for _, mod in ipairs(innerBuff.modList) do
buf = buf.."\n"..innerBuffName.."|"..tostring(innerBuff.effectMult * 100).."|"..modLib.formatSourceMod(mod)
end
Expand Down
Loading