diff --git a/Libraries/MC2ItemStatsLib/MC2ItemStatsLib.lua b/Libraries/MC2ItemStatsLib/MC2ItemStatsLib.lua index d0c3dad..374436b 100644 --- a/Libraries/MC2ItemStatsLib/MC2ItemStatsLib.lua +++ b/Libraries/MC2ItemStatsLib/MC2ItemStatsLib.lua @@ -68,7 +68,7 @@ function Addon.ItemStatsLib._Stats:setToInventoryItem(inventorySlot) local stats = Addon.TooltipLib:StatsForInventoryItem(inventorySlot) self:setTooltipStats(stats) - local link = GetInventoryItemLink(inventorySlot) + local link = GetInventoryItemLink("player", inventorySlot) self:setInfoFromLink(link) end @@ -76,7 +76,7 @@ function Addon.ItemStatsLib._Stats:setToBagItem(bag, slot) local stats = Addon.TooltipLib:StatsForBagItem(bag, slot) self:setTooltipStats(stats) - local link = GetContainerItemLink(bag, slot) + local link = C_Container.GetContainerItemLink(bag, slot) self:setInfoFromLink(link) end @@ -96,7 +96,7 @@ function Addon.ItemStatsLib._Stats:setTooltipStats(tooltipStats) end function Addon.ItemStatsLib._Stats:setInfoFromLink(link) - local name, link, rarity, level, minLevel, type, subType, stackCount, equipLoc, texture, sellPrice = GetItemInfo(link) + local name, link, rarity, level, minLevel, type, subType, stackCount, equipLoc, texture, sellPrice = C_Item.GetItemInfo(link) self.itemLevel = tonumber(level) self.minLevel = tonumber(minLevel) diff --git a/OutfitterLDB.lua b/OutfitterLDB.lua index ba102fb..e6466ad 100644 --- a/OutfitterLDB.lua +++ b/OutfitterLDB.lua @@ -4,7 +4,7 @@ function Outfitter.LDB:Initialize() self.LDB = LibStub("LibDataBroker-1.1", true) self.DataObj = self.LDB:NewDataObject(Outfitter.cTitle, { - type = "data source", + type = "launcher", icon = "Interface\\AddOns\\Outfitter\\Textures\\Icon", text = "Outfitter", OnClick = function(pFrame, pButton) self:OnClick(pFrame, pButton) end diff --git a/OutfitterStrings_fr.lua b/OutfitterStrings_fr.lua index d657079..ac0d4cb 100644 --- a/OutfitterStrings_fr.lua +++ b/OutfitterStrings_fr.lua @@ -122,7 +122,6 @@ if GetLocale() == "frFR" then mana = "Mana", vie = "Health", - ["la puissance d'attaque"] = {"Attack", "RangedAttack"}, ["toutes les caractéristiques"] = {"Stamina", "Intellect", "Agility", "Strength", "Spirit"}, ["sorts et effets magiques"] = {"SpellDmg", "FireDmg", "ShadowDmg", "FrostDmg", "ArcaneDmg", "NatureDmg"},