Files
Anch 64df5f1f90 update to release 7.3.15 (#10)
* update to release 7.3.1

* minor tweaks

- tweaked the drop location text to display a bit more cleanly
- added boss sigils to bc raid tables
- added right click context menu to boss name list so you can open db to that boss (only has raids atm)
- the All dungeon items list now wont precache past the normal loot

* fixs and text display change

- updated old locations to have new display
- frame now sits on top when selected
- fixed some incorrect ids

* favorites button change/loot table updates

- Changed how favorites buttons are saved you now alt right click them to save
- Added missing new t0 sets to classic dungeon sets
- Added missing new trash loot weapons to Black temple

* minor changes/fixs

- fixed t3 incorrect itemids
- added heroic bloodforged

* merg from main repo

* bug fix and item removals

- some quest tooltip was showing up incorrect
- removed depreciated high risk patterns

* swapped to using ItemButtonTemplate for popup window buttons

* added all the new heirloom items

* all the changes from main git up to 7.3.9

* update to version 7.3.15

* Revert "Merge branch 'main' into anch-main"

This reverts commit 8db63dc268f910dcc1df31d50072735263eeda58, reversing
changes made to f536a382a8fce401e0d8dcfaae8eb0a2c61f1e08.
2024-07-15 06:57:34 -07:00

56 lines
1.4 KiB
Lua

local icon = LibStub('LibDBIcon-1.0')
local minimap = LibStub:GetLibrary('LibDataBroker-1.1'):NewDataObject("AtlasLoot", {
type = 'data source',
text = "AtlasLoot",
icon = "Interface\\Icons\\INV_Box_01",
})
function minimap.OnClick(frame, button)
GameTooltip:Hide()
if IsShiftKeyDown() then
AtlasLoot:OptionsToggle();
else
if AtlasLootDefaultFrame:IsVisible() then
AtlasLootDefaultFrame:Hide();
else
AtlasLootDefaultFrame:Show();
end
end
end
function minimap.OnLeave()
GameTooltip:Hide()
end
function minimap.OnEnter(frame)
GameTooltip:SetOwner(frame, 'ANCHOR_NONE')
GameTooltip:SetPoint(AtlasLoot:GetTipAnchor(frame))
GameTooltip:ClearLines()
GameTooltip:AddLine("AtlasLoot")
GameTooltip:AddLine("|cff1eff00Left-Click|r Browse Loot Tables")
GameTooltip:AddLine("|cffff0000Shift-Click|r View Options")
GameTooltip:AddLine("|cffccccccLeft-Click + Drag|r Move Minimap Button")
GameTooltip:Show()
end
function AtlasLoot:MinimapIconSetup()
if not self.db.profile.minimap then
self.db.profile.minimap = {hide = false}
end
if icon then
icon:Register('AtlasLoot', minimap, self.db.profile.minimap)
end
end
-- show/hide minimap icon
function AtlasLoot:ToggleMinimap()
local hide = not self.db.profile.minimap.hide
self.db.profile.minimap.hide = hide
if hide then
icon:Hide("AtlasLoot")
else
icon:Show("AtlasLoot")
end
end