xpbar: add new option to show text on xpbars

This commit is contained in:
shagu
2025-04-20 18:00:47 +02:00
parent b20252ccde
commit 1bcb968137
3 changed files with 56 additions and 1 deletions
+7 -1
View File
@@ -596,9 +596,12 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("panel", "xp", "xp_mode", "VERTICAL")
pfUI:UpdateConfig("panel", "xp", "xp_anchor", "pfChatLeft")
pfUI:UpdateConfig("panel", "xp", "xp_position", "RIGHT")
pfUI:UpdateConfig("panel", "xp", "xp_text", "0")
pfUI:UpdateConfig("panel", "xp", "xp_text_off_y", "0")
pfUI:UpdateConfig("panel", "xp", "xp_text_mouse", "0")
pfUI:UpdateConfig("panel", "xp", "xp_color", ".25,.25,1,1")
pfUI:UpdateConfig("panel", "xp", "rest_color", "1,.25,1,.5")
pfUI:UpdateConfig("panel", "xp", "texture", "Interface\\AddOns\\pfUI\\img\\bar")
pfUI:UpdateConfig("panel", "xp", "texture", "Interface\\AddOns\\pfUI\\img\\bar")
pfUI:UpdateConfig("panel", "xp", "rep_always", "0")
pfUI:UpdateConfig("panel", "xp", "rep_display", "REP")
@@ -608,6 +611,9 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("panel", "xp", "rep_mode", "VERTICAL")
pfUI:UpdateConfig("panel", "xp", "rep_anchor", "pfChatRight")
pfUI:UpdateConfig("panel", "xp", "rep_position", "LEFT")
pfUI:UpdateConfig("panel", "xp", "rep_text", "0")
pfUI:UpdateConfig("panel", "xp", "rep_text_off_y", "0")
pfUI:UpdateConfig("panel", "xp", "rep_text_mouse", "0")
pfUI:UpdateConfig("panel", "xp", "dont_overlap", "0")
pfUI:UpdateConfig("castbar", "player", "hide_blizz", "1")