From 7ebdf85025b0cb4f2c3a87416d7ae819d1af7e0c Mon Sep 17 00:00:00 2001 From: Szyler Date: Mon, 16 Aug 2021 14:46:03 +0200 Subject: [PATCH] Adding base function --- AtlasLoot/Core/AtlasLoot.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/AtlasLoot/Core/AtlasLoot.lua b/AtlasLoot/Core/AtlasLoot.lua index 050dd20..03ca2d0 100644 --- a/AtlasLoot/Core/AtlasLoot.lua +++ b/AtlasLoot/Core/AtlasLoot.lua @@ -27,6 +27,7 @@ AtlasLoot_LoadAllModules() AtlasLoot_ShowQuickLooks(button) AtlasLoot_RefreshQuickLookButtons() AtlasLoot_AddTooltip(frameb, tooltiptext) +AL_FindId(name, difficulty) ]] AtlasLoot = LibStub("AceAddon-3.0"):NewAddon("AtlasLoot"); @@ -1437,3 +1438,12 @@ function AtlasLoot_AddTooltip(frameb, tooltiptext) frame:SetScript("OnLeave", function() GameTooltip:Hide() end) end +--[[ +AL_FindId(name, difficulty) +Finds the Ids of other difficulties based on the name of the item and the difficulty parameter given. +On the form of {Name, normal, heroic, mythic, mythic1, mythic2, ... ,mythicN} +]] +function AL_FindId(name, difficulty) + +end +