Update Modules/Build.lua

Co-authored-by: Trevor Lund <Wires77@users.noreply.github.com>
This commit is contained in:
Nostrademous
2021-03-27 12:11:49 -04:00
committed by GitHub
parent 8462ebe2b7
commit 3e6b253f53

View File

@@ -1148,7 +1148,7 @@ function buildMode:AddDisplayStatList(statList, actor)
resistOverCapStatLabel = " ^7(+"..self:FormatStat(statData, resistOverCapStatVal).."^7)"
end
end
if statData.skillDPSStat then
if statData.stat == "SkillDPS" then
labelColor = colorCodes.CUSTOM
table.sort(actor.output.SkillDPS, function(a,b) return (a.dps * a.count) > (b.dps * b.count) end)
for _, skillData in ipairs(actor.output.SkillDPS) do