Skip to content

Commit

Permalink
Merge branch 'hotfix/1.14.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alar of Runetotem committed Nov 6, 2024
2 parents 8b37844 + eea2cb6 commit 9dfc836
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
29 changes: 16 additions & 13 deletions Jeeves.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ local tonumber=tonumber
local type=type
local SetItemButtonTexture= SetItemButtonTexture
local SetItemButtonCount=SetItemButtonCount
local GetItemInfo=C_Item.GetItemInfo
local GetItemInfo=function(a,b) end
local GetQuestItemLink=GetQuestItemLink
local GetMerchantItemLink=GetMerchantItemLink
local GetContainerNumSlots=C_Container.GetContainerNumSlots
Expand Down Expand Up @@ -81,18 +81,18 @@ local _G=_G
local autoitem=1
local wearqueue={}
local armorClasses= {
["WARRIOR"] = LE_ITEM_ARMOR_PLATE,
["PALADIN"] = LE_ITEM_ARMOR_PLATE,
["HUNTER"] = LE_ITEM_ARMOR_MAIL,
["ROGUE"] = LE_ITEM_ARMOR_LEATHER,
["PRIEST"] = LE_ITEM_ARMOR_CLOTH,
["DEATHKNIGHT"] = LE_ITEM_ARMOR_LEATHER,
["SHAMAN"] = LE_ITEM_ARMOR_MAIL,
["MAGE"] = LE_ITEM_ARMOR_CLOTH,
["WARLOCK"] = LE_ITEM_ARMOR_CLOTH,
["MONK"] = LE_ITEM_ARMOR_LEATHER,
["DRUID"] = LE_ITEM_ARMOR_LEATHER,
["DEMONHUNTER"] = LE_ITEM_ARMOR_MAIL,
["WARRIOR"] = Enum.ItemArmorSubclass.Plate,
["PALADIN"] = Enum.ItemArmorSubclass.Plate,
["HUNTER"] = Enum.ItemArmorSubclass.Mail,
["ROGUE"] = Enum.ItemArmorSubclass.Leather,
["PRIEST"] = Enum.ItemArmorSubclass.Cloth,
["DEATHKNIGHT"] = Enum.ItemArmorSubclass.Plate,
["SHAMAN"] = Enum.ItemArmorSubclass.Mail,
["MAGE"] = Enum.ItemArmorSubclass.Cloth,
["WARLOCK"] = Enum.ItemArmorSubclass.Cloth,
["MONK"] = Enum.ItemArmorSubclass.Leather,
["DRUID"] = Enum.ItemArmorSubclass.Leather,
["DEMONHUNTER"] = Enum.ItemArmorSubclass.Mail,
};
local function push(itemlink)
tinsert(wearqueue,itemlink)
Expand Down Expand Up @@ -170,6 +170,7 @@ function addon:CHAT_MSG_LOOT(evt,p1,...)
end
--@end-debug@
if (loc and loc~='') then
---@diagnostic disable-next-line: param-type-mismatch
if (C_Item.GetItemCount(itemlink)>0) then
--@debug@
pp("Dropped equippable object ",name,loc,_G[loc])
Expand Down Expand Up @@ -274,6 +275,7 @@ function addon:APPLY(...)
print("Apply",...)
--@end-debug@
end
---@diagnostic disable-next-line: undefined-field
local AlertFrame_AnimateIn=_G.AlertFrame_AnimateIn
if not AlertFrame_AnimateIn then
-- Legion change
Expand Down Expand Up @@ -505,4 +507,5 @@ function addon:OnDisabled()
self:UnregisterAll()
self:UnhokAll()
end
---@diagnostic disable-next-line: inject-field
_G.JVS=addon
2 changes: 1 addition & 1 deletion Jeeves.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000, 110002
## Interface: 110005
## Title: Jeeves
## IconTexture: Interface\Icons\inv_boastfulsquire_hd
## Notes: Offers a quick way to wear just dropped eq
Expand Down
3 changes: 3 additions & 0 deletions RelNotes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Jeeves also helps you in choosing quest rewards by preselecting the best selling
ones not your armor class.
Note, I recommend OneChoice to improve you quest reward selection experience
]])
self:RelNotes(1,14,0,[[
Toc: 11.0.5
]])
self:RelNotes(1,13,1,[[
Toc: 11.0.0, 11.0.2
Expand Down

0 comments on commit 9dfc836

Please sign in to comment.