Skip to content

Commit

Permalink
Fix bug where the rep bar wouldn't update correctly for Renown + Paragon
Browse files Browse the repository at this point in the history
  • Loading branch information
azuraji committed Jul 26, 2023
1 parent 77d94ce commit ad4de84
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 304 deletions.
5 changes: 5 additions & 0 deletions FuBar_FuXPFu/FuBar_FuXPFu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,11 @@ function FuXP:OnDataUpdate()
maxRep = renownReputationData.renownLevelThreshold
currentRep = renownReputationData.renownReputationEarned

if currentRepParagon ~= nil then --Renown + Paragon
maxRep = maxRepParagon
currentRep = currentRepParagon % maxRepParagon
end

self.RepBarTex:SetVertexColor(self.db.profile.RenownRep[1], self.db.profile.RenownRep[2], self.db.profile.RenownRep[3], 1)
self.RepSpark:SetVertexColor(self.db.profile.RenownRep[1], self.db.profile.RenownRep[2], self.db.profile.RenownRep[3], self.db.profile.Spark)
elseif currentRepParagon ~= nil then --Paragon
Expand Down
4 changes: 2 additions & 2 deletions FuBar_FuXPFu/FuBar_FuXPFu.toc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## Interface: 100100
## Interface: 100105
## Title: FuBar - |cffffffffFuXP|r|cff00ff00Fu|r
## Title-koKR: |CFF99FF99F|CFFFFFFFFu|CFF99FF99B|CFFFFFFFFar - |cffffffffFuXP|r|cff00ff00Fu|r
## Notes: Lightweight XP Bar
## Notes-zhCN: 迷你经验条
## Notes-zhTW: 輕量級的經驗值條模組。
## Version: 10.1.0.0
## Version: 10.1.5.0
## Author: Wobin, azuraji
## eMail: [email protected]
## X-Credits: Bant (For the design)
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceAddon-2.0/AceAddon-2.0.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1101
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceConsole-2.0/AceConsole-2.0.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1101
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceDB-2.0/AceDB-2.0.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1101
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceEvent-2.0/AceEvent-2.0.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1101
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceHook-2.1/AceHook-2.1.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105

## Title: Lib: AceHook-2.1
## Notes: AddOn development framework
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceLibrary/AceLibrary.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1101
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceLocale-2.2/AceLocale-2.2.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1101
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/AceOO-2.0/AceOO-2.0.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1101
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/CrayonLib/AceLibrary/AceLibrary.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## X-Curse-Packaged-Version: r1094
## X-Curse-Project-Name: Ace2
## X-Curse-Project-ID: ace2
Expand Down
2 changes: 1 addition & 1 deletion FuBar_FuXPFu/Libs/CrayonLib/CrayonLib.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100100
## Interface: 100105
## LoadOnDemand: 1
## Title: Lib: Crayon-2.0
## Notes: A library to provide coloring tools.
Expand Down
87 changes: 0 additions & 87 deletions FuBar_FuXPFu/Libs/LibJostle-3.0/CHANGES.txt

This file was deleted.

Loading

0 comments on commit ad4de84

Please sign in to comment.