Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
- update LibClassicInspector to version 14
- hotfix for paladin glyph of righteous defense (3rd time is the charm)
  • Loading branch information
anzz1 authored Feb 26, 2023
1 parent ee11b8a commit e69394b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions Libs/LibClassicInspector/LibClassicInspector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
for Classic/TBC/WOTLK
Requires: LibStub, CallbackHandler-1.0, LibDetours-1.0
Version: 13 (2023-02-25)
Version: 14 (2023-02-26)
--]]

local LCI_VERSION = 13
local LCI_VERSION = 14

local clientVersionString = GetBuildInfo()
local clientBuildMajor = string.byte(clientVersionString, 1)
Expand Down Expand Up @@ -3101,6 +3101,7 @@ local function sendInfo()
for i = 1, 6 do
local z = select(3, GetGlyphSocketInfo(i, x))
if (z) then
if (z == 55115) then z = 54929 end
s = s..string.char(glyph_r_tbl[z]+48)
else
s = s.."0"
Expand Down Expand Up @@ -4055,8 +4056,11 @@ function lib:HasGlyph(unitorguid, glyphSpellID, _group)
if (guid == UnitGUID("player")) then
for i=1,6 do
local enabled, _, id = GetGlyphSocketInfo(i, group)
if (enabled and id == glyphSpellID) then
return true
if (enabled and id) then
if (id == 55115) then id = 54929 end
if (id == glyphSpellID) then
return true
end
end
end
return false
Expand Down Expand Up @@ -4124,6 +4128,7 @@ function lib:GetGlyphs(unitorguid, _group)
for i=1,6 do
local enabled, _, id = GetGlyphSocketInfo(i, group)
if (enabled and id) then
if (id == 55115) then id = 54929 end
glyphs[i] = id
else
glyphs[i] = 0
Expand Down
2 changes: 1 addition & 1 deletion TacoTip.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11304
## Version: 0.3.9
## Version: 0.4.0
## Title: TacoTip
## Notes: TacoTip (GearScore & Talents)
## Author: kebabstorm
Expand Down

0 comments on commit e69394b

Please sign in to comment.