SuperWoW Support

This commit is contained in:
Lexie
2024-06-04 19:08:38 +10:00
parent fc2f2c8359
commit 7b2b96a0ef
3 changed files with 12 additions and 8 deletions
+6 -1
View File
@@ -3349,6 +3349,7 @@ function AtlasLootItem_OnEnter()
if( this.droprate ~= nil) then
AtlasLootTooltip:AddLine(AL["Drop Rate: "]..this.droprate, 1, 1, 0);
end
--QuestTest_TooltipUpdate(AtlasLootTooltip,"item:"..this.itemID..":0:0:0")
AtlasLootTooltip:Show();
else
AtlasLootTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 24);
@@ -3366,7 +3367,11 @@ function AtlasLootItem_OnEnter()
spellID = tonumber(string.sub(this.itemID, 2));
AtlasLootTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 24);
AtlasLootTooltip:ClearLines();
AtlasLootTooltip:SetHyperlink("enchant:"..spellID);
if SetAutoloot == nil then
AtlasLootTooltip:SetHyperlink("enchant:"..spellID)
else
AtlasLootTooltip:SetHyperlink("spell:"..spellID);
end
if ( AtlasLootCharDB.ItemIDs ) then
AtlasLootTooltip:AddLine(BLUE..AL["SpellID:"].." "..spellID, nil, nil, nil, 1);
end