diff Constants.lua @ 355:06b53a3d2b4a WoD

Added support for parsing the loot from Garrison Cache objects.
author MMOSimca <MMOSimca@gmail.com>
date Mon, 13 Oct 2014 23:13:41 -0400
parents e7cbe43d8418
children 97824a39ddd3
line wrap: on
line diff
--- a/Constants.lua	Mon Oct 13 20:40:53 2014 -0400
+++ b/Constants.lua	Mon Oct 13 23:13:41 2014 -0400
@@ -33,6 +33,14 @@
     [168180] = 114120, -- Big Crate of Salvage
 }
 
+-- Map of Garrison Cache object names to Garrison Cache object IDs
+private.GARRISON_CACHE_OBJECT_NAME_TO_OBJECT_ID_MAP = {
+    ["Garrison Cache"] = 236916,
+    ["Full Garrison Cache"] = 237722,
+    ["Hefty Garrison Cache"] = 237723,
+}
+private.GARRISON_CACHE_LOOT_SOURCE_ID = 10
+
 private.LOOT_SPELL_ID_TO_ITEM_ID_MAP = {
     [142397] = 98134, -- Heroic Cache of Treasures
     [142901] = 98546, -- Bulging Heroic Cache of Treasures