comparison Constants.lua @ 387:b4a0a56ab3ae

Assorted code cleanup and reorganization as preparation for new data collection methods.
author MMOSimca <MMOSimca@gmail.com>
date Tue, 16 Dec 2014 20:46:14 -0500
parents cc4a579b26d1
children 7086c27bdc9f
comparison
equal deleted inserted replaced
386:bc1b8234c659 387:b4a0a56ab3ae
61 -- CHAT_MSG_LOOT -must- be used to track loot, which is definitely not ideal. 61 -- CHAT_MSG_LOOT -must- be used to track loot, which is definitely not ideal.
62 private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP = { 62 private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP = {
63 [168178] = 114116, -- Bag of Salvaged Goods 63 [168178] = 114116, -- Bag of Salvaged Goods
64 [168179] = 114119, -- Crate of Salvage 64 [168179] = 114119, -- Crate of Salvage
65 [168180] = 114120, -- Big Crate of Salvage 65 [168180] = 114120, -- Big Crate of Salvage
66 }
67
68 -- List of items that, when right-clicked, reward loot (includes items from DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP).
69 -- This means they -must- be tracked via CHAT_MSG_LOOT.
70 -- It also means there is a high margin for bad data since multiple bags can be clicked within a small time frame.
71 -- True = instant cast; false = cast time
72 private.CONTAINER_ITEM_ID_LIST = {
73 [114116] = false, -- Bag of Salvaged Goods
74 [114119] = false, -- Crate of Salvage
75 [114120] = false, -- Big Crate of Salvage
76 [116980] = true, -- Invader's Forgotten Treasure
77 [120319] = true, -- Invader's Damaged Cache
78 [120320] = true, -- Invader's Abandoned Sack
66 } 79 }
67 80
68 private.RAID_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = { 81 private.RAID_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = {
69 ----------------------------------------------------------------------- 82 -----------------------------------------------------------------------
70 -- World Bosses 83 -- World Bosses