Skip to content

Commit

Permalink
Core: fix 1 more place with bad cId parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidras committed Jan 1, 2025
1 parent 640ca40 commit 4194b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBM-Core/DBM-Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function currentFullDate()
end

DBM = {
Revision = parseCurseDate("20250101184533"),
Revision = parseCurseDate("20250101190123"),
DisplayVersion = "10.1.13 alpha", -- the string that is shown as version
ReleaseRevision = releaseDate(2024, 07, 20) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
}
Expand Down Expand Up @@ -11705,7 +11705,7 @@ function bossModPrototype:GetBossHPString(cId)
for i = 0, mmax(GetNumRaidMembers(), GetNumPartyMembers()) do
local unitId = ((i == 0) and "target") or idType..i.."target"
local guid = UnitGUID(unitId)
if guid and tonumber(guid:sub(9, 12), 16) == cId then
if guid and tonumber(guid:sub(8, 12), 16) == cId then
return floor(UnitHealth(unitId)/UnitHealthMax(unitId) * 100).."%"
end
end
Expand Down

0 comments on commit 4194b3b

Please sign in to comment.