Skip to content

Commit

Permalink
Fix #51: Rep errors for Paragon and Major factions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mctalian committed Aug 23, 2024
1 parent d339a9d commit ea49f6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Features/Reputation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function Rep:FindDelta()
end
-- Paragon facions
for k, v in pairs(paragonRepData) do
local factionData = C_Reputation.GetFactionDataByID(k)
local value, max = C_Reputation.GetFactionParagonInfo(k)
if value ~= v then
-- Not thoroughly tested
Expand All @@ -97,6 +98,7 @@ function Rep:FindDelta()
end
-- Major factions
for k, v in pairs(majorRepData) do
local factionData = C_Reputation.GetFactionDataByID(k)
local majorFactionData = C_MajorFactions.GetMajorFactionData(k)
local level = majorFactionData.renownLevel
local rep = majorFactionData.renownReputationEarned
Expand Down

0 comments on commit ea49f6b

Please sign in to comment.