Skip to content

Commit

Permalink
Merge pull request #5 from NoobTaco/develop
Browse files Browse the repository at this point in the history
Fixed Enemy Nameplates and Custom Text
  • Loading branch information
NoobTaco committed Aug 13, 2022
2 parents 3513444 + 6091d87 commit c3637bd
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.0.5]

### Updated

- Enemy Player Nameplates fixed.
- Fixed custom texts showing

## [0.0.4]

### 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.4
## Version: 0.0.5
## 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 @@ -113,6 +113,7 @@ function NoobTacoUIv2:SetupNamePlates()
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["countFont"] = "Exo2-Bold"
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["countFontOutline"] = "NONE"
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["growthX"] = "RIGHT"
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["numAuras"] = 8
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["priority"] =
"Blacklist,Dispellable,blockNoDuration,Personal,CCDebuffs"
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["size"] = 35
Expand Down
16 changes: 16 additions & 0 deletions modules/UnitFrames.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
local NoobTacoUIv2, E, L, V, P, G = unpack(select(2, ...))

function NoobTacoUIv2:SetupLayout()

-- Disable Custom Texts
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
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
E.db["unitframe"]["units"]["focus"]["customTexts"]["TargetHealth"]["enable"] = false
E.db["unitframe"]["units"]["pet"]["customTexts"]["Pet Health"]["enable"] = false
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
E.db["unitframe"]["units"]["targettarget"]["customTexts"]["TargetTargetName"]["enable"] = false

-- Extra Options not Exported by base profile

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

0 comments on commit c3637bd

Please sign in to comment.