Mercurial > wow > wowdb-profiler
comparison Constants.lua @ 345:61a9520b5337 WoD
Added support for collecting Timber locations and drop contents. Fixed occassional mining/herb data being classified as zone data.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Fri, 03 Oct 2014 15:18:01 -0400 |
parents | 7bca9a0f9382 |
children | fb1d08480f67 |
comparison
equal
deleted
inserted
replaced
344:7bca9a0f9382 | 345:61a9520b5337 |
---|---|
13 | 13 |
14 | 14 |
15 ----------------------------------------------------------------------- | 15 ----------------------------------------------------------------------- |
16 -- Game Data Constants. | 16 -- Game Data Constants. |
17 ----------------------------------------------------------------------- | 17 ----------------------------------------------------------------------- |
18 -- Map of Alliance Logging NPC Summon spells to all possible Timber objectIDs of the proper tree size | |
19 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP = { | |
20 [167902] = { 233604, 233922, 234021, 234080, 234097, 234109, 234110, 234122, 234126, 234193, 234197, 237727, }, | |
21 [167969] = { 233634, 234000, 234022, 234098, 234111, 234119, 234123, 234127, 234194, 234196, 234198, }, | |
22 [168201] = { 233625, 234007, 234023, 234099, 234120, 234124, 234128, 234195, 234199, }, | |
23 } | |
24 -- Account for Horde spell IDs | |
25 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167961] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167902] | |
26 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168043] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167969] | |
27 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168200] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168201] | |
28 | |
29 private.LOOT_SPELL_ID_TO_ITEM_ID_MAP = { | |
30 [142397] = 98134, -- Heroic Cache of Treasures | |
31 [142901] = 98546, -- Bulging Heroic Cache of Treasures | |
32 [143506] = 98095, -- Brawler's Pet Supplies | |
33 [143507] = 94207, -- Fabled Pandaren Pet Supplies | |
34 [143508] = 89125, -- Sack of Pet Supplies | |
35 [143509] = 93146, -- Pandaren Spirit Pet Supplies | |
36 [143510] = 93147, -- Pandaren Spirit Pet Supplies | |
37 [143511] = 93149, -- Pandaren Spirit Pet Supplies | |
38 [143512] = 93148, -- Pandaren Spirit Pet Supplies | |
39 [146885] = 103535, -- Bulging Bag of Charms | |
40 [147598] = 104014, -- Pouch of Timeless Coins | |
41 [149222] = 105911, -- Pouch of Enduring Wisdom | |
42 [149223] = 105912, -- Oversized Pouch of Enduring Wisdom | |
43 --[168178] = 114116, -- Bag of Salvaged Goods | |
44 --[168179] = 114119, -- Crate of Salvage | |
45 --[168180] = 114120, -- Big Crate of Salvage | |
46 [171513] = 116414, -- Pet Supplies | |
47 [175767] = 118697, -- Big Bag of Pet Supplies | |
48 [178508] = 120321, -- Mystery Bag | |
49 } | |
50 | |
18 private.FACTION_DATA = { | 51 private.FACTION_DATA = { |
19 -- Used only for private.REP_BUFFS | 52 -- Used only for private.REP_BUFFS |
20 ARGENT_CRUSADE = { 1106, _G.GetFactionInfoByID(1106) }, | 53 ARGENT_CRUSADE = { 1106, _G.GetFactionInfoByID(1106) }, |
21 BILGEWATER_CARTEL = { 1133, _G.GetFactionInfoByID(1133) }, | 54 BILGEWATER_CARTEL = { 1133, _G.GetFactionInfoByID(1133) }, |
22 CENARION_CIRCLE = { 609, _G.GetFactionInfoByID(609) }, | 55 CENARION_CIRCLE = { 609, _G.GetFactionInfoByID(609) }, |
228 faction = private.FACTION_DATA.HONOR_HOLD[2], | 261 faction = private.FACTION_DATA.HONOR_HOLD[2], |
229 modifier = 0.1, | 262 modifier = 0.1, |
230 }, | 263 }, |
231 } | 264 } |
232 | 265 |
233 private.LOOT_SPELL_ID_TO_ITEM_ID_MAP = { | |
234 [142397] = 98134, -- Heroic Cache of Treasures | |
235 [142901] = 98546, -- Bulging Heroic Cache of Treasures | |
236 [143506] = 98095, -- Brawler's Pet Supplies | |
237 [143507] = 94207, -- Fabled Pandaren Pet Supplies | |
238 [143508] = 89125, -- Sack of Pet Supplies | |
239 [143509] = 93146, -- Pandaren Spirit Pet Supplies | |
240 [143510] = 93147, -- Pandaren Spirit Pet Supplies | |
241 [143511] = 93149, -- Pandaren Spirit Pet Supplies | |
242 [143512] = 93148, -- Pandaren Spirit Pet Supplies | |
243 [146885] = 103535, -- Bulging Bag of Charms | |
244 [147598] = 104014, -- Pouch of Timeless Coins | |
245 [149222] = 105911, -- Pouch of Enduring Wisdom | |
246 [149223] = 105912, -- Oversized Pouch of Enduring Wisdom | |
247 [168178] = 114116, -- Bag of Salvaged Goods | |
248 [168179] = 114119, -- Crate of Salvage | |
249 [168180] = 114120, -- Big Crate of Salvage | |
250 [171513] = 116414, -- Pet Supplies | |
251 [175767] = 118697, -- Big Bag of Pet Supplies | |
252 [178508] = 120321, -- Mystery Bag | |
253 } | |
254 | |
255 private.RAID_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = { | 266 private.RAID_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = { |
256 ----------------------------------------------------------------------- | 267 ----------------------------------------------------------------------- |
257 -- World Bosses | 268 -- World Bosses |
258 ----------------------------------------------------------------------- | 269 ----------------------------------------------------------------------- |
259 [132205] = 60491, -- Sha of Anger Bonus (Sha of Anger) | 270 [132205] = 60491, -- Sha of Anger Bonus (Sha of Anger) |