Skip to content

Commit

Permalink
Fix for hex->dec rank conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed Sep 30, 2022
1 parent 0a40b39 commit 4b132b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PallyPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ function PallyPower:ParseMessage(sender, msg)
local talent = strsub(numbers, (i - 1) * 2 + 2, (i - 1) * 2 + 2)
if rank ~= "n" then
AllPallys[sender][i] = {}
AllPallys[sender][i].rank = tonumber(rank)
AllPallys[sender][i].rank = tonumber(rank, 16)
AllPallys[sender][i].talent = tonumber(talent)
end
end
Expand Down Expand Up @@ -1907,7 +1907,7 @@ function PallyPower:ParseMessage(sender, msg)
if rank ~= "n" then
AllPallys[sender].AuraInfo[i] = {}
AllPallys[sender].AuraInfo[i].rank = tonumber(rank, 16)
AllPallys[sender].AuraInfo[i].talent = tonumber(talent, 16)
AllPallys[sender].AuraInfo[i].talent = tonumber(talent)
end
end
if assign then
Expand Down

0 comments on commit 4b132b1

Please sign in to comment.