Skip to content

Commit

Permalink
Updated Player and Target health display
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobTaco committed Aug 19, 2024
1 parent 35b3b50 commit 3ea980e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 8 additions & 6 deletions modules/UnitFrames/UnitframesPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,17 @@ function NoobTacoUI:UnitframePlayer()
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerName"]["fontOutline"] = "NONE"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerName"]["enable"] = true
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerName"]["size"] = 13
-- Updated 8-19-24
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["attachTextTo"] = "Health"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["xOffset"] = -5
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["text_format"] = "[health:current-percent]"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["yOffset"] = 0
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["enable"] = true
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["font"] = "Exo2-Bold"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["justifyH"] = "RIGHT"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["fontOutline"] = "NONE"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["enable"] = true
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["size"] = 20
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["justifyH"] = "RIGHT"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["size"] = 15
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["text_format"] = "[health:current-percent:shortvalue]"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["xOffset"] = -5
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["yOffset"] = -5
--
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerPower"]["attachTextTo"] = "Power"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerPower"]["xOffset"] = -5
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerPower"]["text_format"] = "[power:current]"
Expand Down
8 changes: 5 additions & 3 deletions modules/UnitFrames/UnitframesTarget.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ function NoobTacoUI:UnitframeTarget()
E.db["unitframe"]["units"]["target"]["castbar"]["height"] = 30
E.db["unitframe"]["units"]["target"]["castbar"]["overlayOnFrame"] = "Power"
E.db["unitframe"]["units"]["target"]["castbar"]["width"] = 200
-- Updated 8-19-24
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["attachTextTo"] = "Health"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["enable"] = true
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["font"] = "Exo2-Bold"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["fontOutline"] = "NONE"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["justifyH"] = "LEFT"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["size"] = 20
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["text_format"] = "[health:current-percent]"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["size"] = 15
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["text_format"] = "[health:current-percent:shortvalue]"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["xOffset"] = 5
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["yOffset"] = 0
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["yOffset"] = -10
--
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetLevel"]["attachTextTo"] = "Health"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetLevel"]["enable"] = true
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetLevel"]["font"] = "Exo2-Bold"
Expand Down

0 comments on commit 3ea980e

Please sign in to comment.