Skip to content

Commit

Permalink
Merge branch 'release/0.0.7' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobTaco committed Aug 13, 2022
2 parents b6aadb9 + c22b790 commit 52a6485
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [0.0.6]
## [0.0.7]

### Updated

Expand Down
2 changes: 1 addition & 1 deletion NoobTacoUIv2.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Interface-Wrath: 30400
## Title: |cFF16C3F2NoobTaco|r|cFFFFFFFFUI|rv2
## Author: NoobTaco
## Version: 0.0.5
## Version: 0.0.7
## Notes: Contains layouts from NoobTacoUIv2
## RequiredDeps: ElvUI
## DefaultState: enabled
Expand Down
1 change: 1 addition & 0 deletions modules/NamePlates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ function NoobTacoUIv2:SetupNamePlates()
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["height"] = 5
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["hideWhenEmpty"] = true
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["yOffset"] = -11
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["portrait"]["enable"] = false
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["raidTargetIndicator"]["size"] = 30
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["title"]["format"] = "[guild]"
E.db["nameplates"]["units"]["FRIENDLY_NPC"]["buffs"]["countFont"] = "Exo2-Bold"
Expand Down
33 changes: 33 additions & 0 deletions modules/UnitFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@ local NoobTacoUIv2, E, L, V, P, G = unpack(select(2, ...))

function NoobTacoUIv2:SetupLayout()

-- CUSTOM TEXTS
-- Player Unit Frame
if E.db.unitframe.units.player.customTexts then
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["enable"] = false
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerName"]["enable"] = false
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerPower"]["enable"] = false
end
-- Focus Unit Frame
if E.db.unitframe.units.focus.customTexts then
E.db["unitframe"]["units"]["focus"]["customTexts"]["TargetHealth"]["enable"] = false
E.db["unitframe"]["units"]["focus"]["customTexts"]["TargetLevel"]["enable"] = false
E.db["unitframe"]["units"]["focus"]["customTexts"]["TargetName"]["enable"] = false
E.db["unitframe"]["units"]["focus"]["customTexts"]["TargetPower"]["enable"] = false
end

-- -- Pet Unit Frame
if E.db.unitframe.units.pet.customTexts then
E.db["unitframe"]["units"]["pet"]["customTexts"]["Pet Health"]["enable"] = false
end

-- Target Unit Frame
if E.db.unitframe.units.target.customTexts then
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["enable"] = false
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetPower"]["enable"] = false
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetName"]["enable"] = false
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetLevel"]["enable"] = false
end

-- Target of Target Unit Frame
if E.db.unitframe.units.targettarget.customTexts then
E.db["unitframe"]["units"]["targettarget"]["customTexts"]["TargetTargetName"]["enable"] = false
end

-- Extra Options not Exported by base profile

E.db["unitframe"]["units"]["target"]["infoPanel"]["enable"] = false
Expand Down

0 comments on commit 52a6485

Please sign in to comment.