Skip to content

Commit

Permalink
fix pet health color in non retail
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Aug 2, 2022
1 parent 0925cc6 commit cca0258
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ElvUI_EltreumUI/Layouts/LayoutDPS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,9 @@ function ElvUI_EltreumUI:SetupLayoutDPS()
E.db["unitframe"]["units"]["party"]["verticalSpacing"] = 20
E.db["unitframe"]["units"]["party"]["visibility"] = "[@raid6,exists][nogroup] hide;show"
E.db["unitframe"]["units"]["party"]["width"] = 200
if not E.Retail then
E.db["unitframe"]["units"]["pet"]["health"]["colorPetByUnitClass"] = true
end
E.db["unitframe"]["units"]["pet"]["buffIndicator"]["size"] = 15
E.db["unitframe"]["units"]["pet"]["buffs"]["anchorPoint"] = "TOP"
E.db["unitframe"]["units"]["pet"]["buffs"]["attachTo"] = "DEBUFFS"
Expand Down
3 changes: 3 additions & 0 deletions ElvUI_EltreumUI/Layouts/LayoutHealer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,9 @@ function ElvUI_EltreumUI:SetupLayoutHealer()
E.db["unitframe"]["units"]["party"]["petsGroup"]["yOffset"] = -3
end
E.db["unitframe"]["units"]["party"]["visibility"] = "[@raid6,exists][nogroup] hide;show"
if not E.Retail then
E.db["unitframe"]["units"]["pet"]["health"]["colorPetByUnitClass"] = true
end
E.db["unitframe"]["units"]["pet"]["buffIndicator"]["size"] = 15
E.db["unitframe"]["units"]["pet"]["buffs"]["attachTo"] = "DEBUFFS"
E.db["unitframe"]["units"]["pet"]["buffs"]["anchorPoint"] = "TOP"
Expand Down

0 comments on commit cca0258

Please sign in to comment.