Skip to content

Commit

Permalink
Add the location you will hearthstone to in the random hearthstone to…
Browse files Browse the repository at this point in the history
…oltip.
  • Loading branch information
Justw8 committed Aug 26, 2024
1 parent 02421c4 commit e48dd66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TeleportMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,10 @@ function tpm:setToolTip(self, type, id, hs)
GameTooltip:SetOwner(self, "ANCHOR_NONE")
GameTooltip:SetPoint("BOTTOMLEFT", TeleportMeButtonsFrame, "TOPRIGHT", 0, 0)
if hs and TeleportMenuDB.hearthstone and TeleportMenuDB.hearthstone == "rng" then
local bindLocation = GetBindLocation()
GameTooltip:SetText("Random Hearthstone", 1, 1, 1)
GameTooltip:AddLine("\124cFF34B7EBClick to cast a random hearthstone.\nIt will pick a new hearthstone when you re-open the menu.\124r", 1, 1, 1)
GameTooltip:AddLine("\n\124cFF34B7EBHearthstone Location:\124r \124cFF1EFF0C"..bindLocation.."\124r", 1, 1, 1)
GameTooltip:Show()
elseif type == "item" then
GameTooltip:SetItemByID(id)
Expand Down

0 comments on commit e48dd66

Please sign in to comment.