Skip to content

Commit

Permalink
fix for wotlk phase 2
Browse files Browse the repository at this point in the history
  • Loading branch information
shirsig committed Jan 18, 2023
1 parent 1b64029 commit a6d8b0d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/tooltip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ end
function game_tooltip_hooks.SetBagItem(bag, slot)
local link = C_Container.GetContainerItemLink(bag, slot)
if link then
extend_tooltip(GameTooltip, link, select(2, C_Container.GetContainerItemInfo(bag, slot)))
extend_tooltip(GameTooltip, link, C_Container.GetContainerItemInfo(bag, slot).stackCount)
end
end

Expand Down
1 change: 0 additions & 1 deletion gui/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ function M.editbox(parent)
local editbox = CreateFrame('EditBox', nil, parent, 'BackdropTemplate')
editbox:SetAutoFocus(false)
editbox:SetTextInsets(1.5, 1.5, 3, 3)
editbox:SetMaxLetters(255)
editbox:SetHeight(24)
editbox:SetTextColor(0, 0, 0, 0)
set_content_style(editbox)
Expand Down
15 changes: 15 additions & 0 deletions util/info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,21 @@ do
[4376] = 5,
[4386] = 5,

-- drums
[39972] = 50,
[29529] = 50,
[49633] = 50,
[29532] = 50,
[29531] = 50,
[29530] = 50,
[49634] = 50,
[29528] = 50,
[185848] = 50,
[185849] = 50,
[185850] = 50,
[185851] = 50,
[185852] = 50,

-- ... TODO
}
function M.max_item_charges(item_id)
Expand Down

0 comments on commit a6d8b0d

Please sign in to comment.