diff Constants.lua @ 347:fb1d08480f67 WoD

Added timer-based support for salvage crate drops. Hopefully only temporary while Blizzard fixes SHOW_LOOT_TOAST events for them.
author MMOSimca <MMOSimca@gmail.com>
date Fri, 03 Oct 2014 15:29:26 -0400
parents 61a9520b5337
children e7cbe43d8418
line wrap: on
line diff
--- a/Constants.lua	Fri Oct 03 15:25:40 2014 -0400
+++ b/Constants.lua	Fri Oct 03 15:29:26 2014 -0400
@@ -26,6 +26,13 @@
 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168043] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167969]
 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168200] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168201]
 
+-- Map of Salvage spells to item IDs of the Salvage containers (no longer loot toasts)
+private.SALVAGE_SPELL_ID_TO_ITEM_ID_MAP = {
+    [168178] = 114116, -- Bag of Salvaged Goods
+    [168179] = 114119, -- Crate of Salvage
+    [168180] = 114120, -- Big Crate of Salvage
+}
+
 private.LOOT_SPELL_ID_TO_ITEM_ID_MAP = {
     [142397] = 98134, -- Heroic Cache of Treasures
     [142901] = 98546, -- Bulging Heroic Cache of Treasures