Skip to content

Commit 2a4757c

Browse files
committed
drop reagent bank option
since that feature doesn't exist anymore in retail
1 parent 6a3519f commit 2a4757c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

WeakAuras/Prototypes.lua

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7708,7 +7708,7 @@ Private.event_prototypes = {
77087708
if not exactSpellMatch and tonumber(itemName) then
77097709
itemName = itemId
77107710
end
7711-
local count = C_Item.GetItemCount(itemName or "", %s, %s, %s, %s);
7711+
local count = C_Item.GetItemCount(itemName or "", %s, %s, nil, %s);
77127712
local reagentQuality, reagentQualityTexture
77137713
if WeakAuras.IsRetail() and itemName then
77147714
reagentQuality = C_TradeSkillUI.GetItemReagentQualityByItemInfo(itemName)
@@ -7722,7 +7722,6 @@ Private.event_prototypes = {
77227722
trigger.use_exact_itemName and "true" or "nil",
77237723
trigger.use_includeBank and "true" or "nil",
77247724
trigger.use_includeCharges and "true" or "nil",
7725-
WeakAuras.IsRetail() and trigger.use_includeReagentBank and "true" or "nil",
77267725
WeakAuras.IsRetail() and trigger.use_includeWarBandBank and "true" or "nil"
77277726
)
77287727
end,
@@ -7761,13 +7760,6 @@ Private.event_prototypes = {
77617760
type = "toggle",
77627761
test = "true"
77637762
},
7764-
{
7765-
name = "includeReagentBank",
7766-
display = L["Include Reagent Bank"],
7767-
type = "toggle",
7768-
test = "true",
7769-
enable = WeakAuras.IsRetail(),
7770-
},
77717763
{
77727764
name = "includeWarBandBank",
77737765
display = L["Include War Band Bank"],

0 commit comments

Comments
 (0)