This commit is contained in:
Tercio Jose
2021-04-03 18:40:01 -03:00
parent f82f706bfa
commit 10936adf71
25 changed files with 344 additions and 99 deletions
+6 -1
View File
@@ -3278,8 +3278,13 @@ function gump:CriaJanelaInfo()
--main player - seta no primeiro box
local spellid = data [1].id
local name, _, icon = _GetSpellInfo (spellid)
if (not name) then
--no spell found? - tbc problem
return
end
local petName = data [3]
bar [1]:SetTexture (icon) --bar[1] = spellicon bar[2] = statusbar
bar [1]:SetTexCoord (unpack (IconTexCoord)) --bar[1] = spellicon bar[2] = statusbar