jcallahan@1
|
1 -----------------------------------------------------------------------
|
jcallahan@1
|
2 -- Upvalued Lua API.
|
jcallahan@1
|
3 -----------------------------------------------------------------------
|
jcallahan@1
|
4 local _G = getfenv(0)
|
jcallahan@1
|
5
|
jcallahan@1
|
6 local bit = _G.bit
|
jcallahan@1
|
7
|
jcallahan@1
|
8
|
jcallahan@1
|
9 -----------------------------------------------------------------------
|
jcallahan@1
|
10 -- AddOn namespace.
|
jcallahan@1
|
11 -----------------------------------------------------------------------
|
jcallahan@1
|
12 local ADDON_NAME, private = ...
|
jcallahan@1
|
13
|
jcallahan@1
|
14
|
jcallahan@1
|
15 -----------------------------------------------------------------------
|
MMOSimca@381
|
16 -- Boss/Loot Data Constants.
|
MMOSimca@336
|
17 -----------------------------------------------------------------------
|
MMOSimca@345
|
18 -- Map of Alliance Logging NPC Summon spells to all possible Timber objectIDs of the proper tree size
|
MMOSimca@345
|
19 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP = {
|
MMOSimca@381
|
20 [167902] = 234021,
|
MMOSimca@381
|
21 [167969] = 234022,
|
MMOSimca@381
|
22 [168201] = 234023,
|
MMOSimca@345
|
23 }
|
MMOSimca@345
|
24 -- Account for Horde spell IDs
|
MMOSimca@345
|
25 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167961] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167902]
|
MMOSimca@345
|
26 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168043] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167969]
|
MMOSimca@345
|
27 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168200] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168201]
|
MMOSimca@345
|
28
|
MMOSimca@355
|
29 -- Map of Garrison Cache object names to Garrison Cache object IDs
|
MMOSimca@355
|
30 private.GARRISON_CACHE_OBJECT_NAME_TO_OBJECT_ID_MAP = {
|
MMOSimca@355
|
31 ["Garrison Cache"] = 236916,
|
MMOSimca@355
|
32 ["Full Garrison Cache"] = 237722,
|
MMOSimca@355
|
33 ["Hefty Garrison Cache"] = 237723,
|
MMOSimca@355
|
34 }
|
MMOSimca@355
|
35 private.GARRISON_CACHE_LOOT_SOURCE_ID = 10
|
MMOSimca@355
|
36
|
MMOSimca@381
|
37 -- Mapping of items that, when right-clicked, fire a spell (which can fail, so we have to check success).
|
MMOSimca@381
|
38 -- They reward loot via loot toast popups upon completion of that spell.
|
MMOSimca@381
|
39 -- SHOW_LOOT_TOAST can be used to track loot.
|
MMOSimca@381
|
40 private.LOOT_TOAST_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP = {
|
MMOSimca@345
|
41 [142397] = 98134, -- Heroic Cache of Treasures
|
MMOSimca@345
|
42 [142901] = 98546, -- Bulging Heroic Cache of Treasures
|
MMOSimca@345
|
43 [143506] = 98095, -- Brawler's Pet Supplies
|
MMOSimca@345
|
44 [143507] = 94207, -- Fabled Pandaren Pet Supplies
|
MMOSimca@345
|
45 [143508] = 89125, -- Sack of Pet Supplies
|
MMOSimca@345
|
46 [143509] = 93146, -- Pandaren Spirit Pet Supplies
|
MMOSimca@345
|
47 [143510] = 93147, -- Pandaren Spirit Pet Supplies
|
MMOSimca@345
|
48 [143511] = 93149, -- Pandaren Spirit Pet Supplies
|
MMOSimca@345
|
49 [143512] = 93148, -- Pandaren Spirit Pet Supplies
|
MMOSimca@345
|
50 [146885] = 103535, -- Bulging Bag of Charms
|
MMOSimca@345
|
51 [147598] = 104014, -- Pouch of Timeless Coins
|
MMOSimca@345
|
52 [149222] = 105911, -- Pouch of Enduring Wisdom
|
MMOSimca@345
|
53 [149223] = 105912, -- Oversized Pouch of Enduring Wisdom
|
MMOSimca@345
|
54 [171513] = 116414, -- Pet Supplies
|
MMOSimca@345
|
55 [175767] = 118697, -- Big Bag of Pet Supplies
|
MMOSimca@345
|
56 [178508] = 120321, -- Mystery Bag
|
MMOSimca@345
|
57 }
|
MMOSimca@345
|
58
|
MMOSimca@381
|
59 -- Mapping of items that, when right-clicked, fire a spell (which can fail, so we have to check success).
|
MMOSimca@381
|
60 -- They reward loot upon completion of that spell.
|
MMOSimca@381
|
61 -- CHAT_MSG_LOOT -must- be used to track loot, which is definitely not ideal.
|
MMOSimca@381
|
62 private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP = {
|
MMOSimca@392
|
63 [109954] = 77952, -- Elementium Gem Cluster (Reveal the Shadows)
|
MMOSimca@392
|
64 [109946] = 78890, -- Crystalline Geode (Crystalline Geode)
|
MMOSimca@392
|
65 [109948] = 78892, -- Perfect Geode (Perfect Geode)
|
MMOSimca@392
|
66 [146238] = 102263, -- Timeless Plate Chestpiece (Create Chestpiece)
|
MMOSimca@392
|
67 [146237] = 102264, -- Timeless Plate Boots (Create Boots)
|
MMOSimca@392
|
68 [146239] = 102265, -- Timeless Plate Gloves (Create Gloves)
|
MMOSimca@392
|
69 [146240] = 102266, -- Timeless Plate Helm (Create Helm)
|
MMOSimca@392
|
70 [147433] = 102266, -- Timeless Plate Helm (Create Class Helm)
|
MMOSimca@392
|
71 [147434] = 102266, -- Timeless Plate Helm (Create Class Helm)
|
MMOSimca@392
|
72 [147435] = 102266, -- Timeless Plate Helm (Create Class Helm)
|
MMOSimca@392
|
73 [146241] = 102267, -- Timeless Plate Leggings (Create Leggings)
|
MMOSimca@392
|
74 [146242] = 102268, -- Timeless Plate Spaulders (Create Shoulders)
|
MMOSimca@392
|
75 [146236] = 102269, -- Timeless Plate Belt (Create Belt)
|
MMOSimca@392
|
76 [146261] = 102270, -- Timeless Mail Chestpiece (Create Chestpiece)
|
MMOSimca@392
|
77 [146260] = 102271, -- Timeless Mail Boots (Create Boots)
|
MMOSimca@392
|
78 [146263] = 102272, -- Timeless Mail Gloves (Create Gloves)
|
MMOSimca@392
|
79 [146264] = 102273, -- Timeless Mail Helm (Create Helm)
|
MMOSimca@392
|
80 [146265] = 102274, -- Timeless Mail Leggings (Create Leggings)
|
MMOSimca@392
|
81 [146266] = 102275, -- Timeless Mail Spaulders (Create Shoulders)
|
MMOSimca@392
|
82 [146259] = 102276, -- Timeless Mail Belt (Create Belt)
|
MMOSimca@392
|
83 [146270] = 102277, -- Timeless Leather Chestpiece (Create Chestpiece)
|
MMOSimca@392
|
84 [146269] = 102278, -- Timeless Leather Boots (Create Boots)
|
MMOSimca@392
|
85 [146271] = 102279, -- Timeless Leather Gloves (Create Gloves)
|
MMOSimca@392
|
86 [146272] = 102280, -- Timeless Leather Helm (Create Helm)
|
MMOSimca@392
|
87 [146273] = 102281, -- Timeless Leather Leggings (Create Leggings)
|
MMOSimca@392
|
88 [146274] = 102282, -- Timeless Leather Spaulders (Create Shoulders)
|
MMOSimca@392
|
89 [146268] = 102283, -- Timeless Leather Belt (Create Belt)
|
MMOSimca@392
|
90 [146278] = 102284, -- Timeless Cloth Robes (Create Robes)
|
MMOSimca@392
|
91 [146277] = 102285, -- Timeless Cloth Boots (Create Boots)
|
MMOSimca@392
|
92 [146279] = 102286, -- Timeless Cloth Gloves (Create Gloves)
|
MMOSimca@392
|
93 [146280] = 102287, -- Timeless Cloth Helm (Create Helm)
|
MMOSimca@392
|
94 [146281] = 102288, -- Timeless Cloth Leggings (Create Leggings)
|
MMOSimca@392
|
95 [146282] = 102289, -- Timeless Cloth Spaulders (Create Shoulders)
|
MMOSimca@392
|
96 [146276] = 102290, -- Timeless Cloth Belt (Create Belt)
|
MMOSimca@392
|
97 [146244] = 102291, -- Timeless Signet (Create Ring)
|
MMOSimca@392
|
98 [146246] = 102318, -- Timeless Cloak (Create Cloak)
|
MMOSimca@392
|
99 [146243] = 102320, -- Timeless Plate Bracers (Create Bracer)
|
MMOSimca@392
|
100 [146267] = 102327, -- Timeless Mail Bracers (Create Bracer)
|
MMOSimca@392
|
101 [146275] = 102334, -- Timeless Leather Bracers (Create Bracer)
|
MMOSimca@392
|
102 [146283] = 102341, -- Timeless Cloth Bracers (Create Bracer)
|
MMOSimca@392
|
103 [147597] = 104009, -- Timeless Plate Armor Cache (Unlock Armor Cache)
|
MMOSimca@392
|
104 [148099] = 104010, -- Timeless Mail Armor Cache (Unlock Armor Cache)
|
MMOSimca@392
|
105 [148103] = 104012, -- Timeless Leather Armor Cache (Unlock Armor Cache)
|
MMOSimca@392
|
106 [148104] = 104013, -- Timeless Cloth Armor Cache (Unlock Armor Cache)
|
MMOSimca@392
|
107 [148740] = 104345, -- Timeless Lavalliere (Create Lavalliere)
|
MMOSimca@392
|
108 [148746] = 104347, -- Timeless Curio (Create Curio)
|
MMOSimca@392
|
109 [155445] = 107649, -- Strange Meteorite (Refine Meteorite)
|
MMOSimca@392
|
110 [166263] = 111589, -- Small Crescent Saberfish (Gut)
|
MMOSimca@392
|
111 [166264] = 111595, -- Crescent Saberfish (Gut)
|
MMOSimca@392
|
112 [166265] = 111601, -- Enormous Crescent Saberfish (Gut)
|
MMOSimca@392
|
113 [166266] = 111650, -- Small Jawless Skulker (Gut)
|
MMOSimca@392
|
114 [166267] = 111651, -- Small Fat Sleeper (Gut)
|
MMOSimca@392
|
115 [166268] = 111652, -- Small Blind Lake Sturgeon (Gut)
|
MMOSimca@392
|
116 [166269] = 111656, -- Small Fire Ammonite (Gut)
|
MMOSimca@392
|
117 [166270] = 111658, -- Small Sea Scorpion (Gut)
|
MMOSimca@392
|
118 [166271] = 111659, -- Small Abyssal Gulper Eel (Gut)
|
MMOSimca@392
|
119 [166272] = 111662, -- Small Blackwater Whiptail (Gut)
|
MMOSimca@392
|
120 [166273] = 111663, -- Blackwater Whiptail (Gut)
|
MMOSimca@392
|
121 [166274] = 111664, -- Abyssal Gulper Eel (Gut)
|
MMOSimca@392
|
122 [166275] = 111665, -- Sea Scorpion (Gut)
|
MMOSimca@392
|
123 [166276] = 111666, -- Fire Ammonite (Gut)
|
MMOSimca@392
|
124 [166277] = 111667, -- Blind Lake Sturgeon (Gut)
|
MMOSimca@392
|
125 [166278] = 111668, -- Fat Sleeper (Gut)
|
MMOSimca@392
|
126 [166279] = 111669, -- Jawless Skulker (Gut)
|
MMOSimca@392
|
127 [166280] = 111670, -- Enormous Blackwater Whiptail (Gut)
|
MMOSimca@392
|
128 [166281] = 111671, -- Enormous Abyssal Gulper Eel (Gut)
|
MMOSimca@392
|
129 [166282] = 111672, -- Enormous Sea Scorpion (Gut)
|
MMOSimca@392
|
130 [166283] = 111673, -- Enormous Fire Ammonite (Gut)
|
MMOSimca@392
|
131 [166284] = 111674, -- Enormous Blind Lake Sturgeon (Gut)
|
MMOSimca@392
|
132 [166285] = 111675, -- Enormous Fat Sleeper (Gut)
|
MMOSimca@392
|
133 [166286] = 111676, -- Enormous Jawless Skulker (Gut)
|
MMOSimca@392
|
134 [166030] = 113203, -- Punctured Breastplate (Repair Item)
|
MMOSimca@392
|
135 [166153] = 113244, -- Soleless Treads (Repair Item)
|
MMOSimca@392
|
136 [166156] = 113245, -- Shredded Greaves (Repair Item)
|
MMOSimca@392
|
137 [166460] = 113295, -- Cracked Potion Vial (Repair Item)
|
MMOSimca@392
|
138 [166481] = 113307, -- Impotent Healing Potion (Repair Item)
|
MMOSimca@392
|
139 [166487] = 113310, -- Unstable Elixir (Repair Item)
|
MMOSimca@392
|
140 [166507] = 113313, -- Unorganized Alchemist Notes (Repair Item)
|
MMOSimca@392
|
141 [166509] = 113316, -- Mangled Long Sword (Repair Item)
|
MMOSimca@392
|
142 [166513] = 113321, -- Battered Shield (Repair Item)
|
MMOSimca@392
|
143 [166520] = 113324, -- Ritual Mask Shards (Repair Item)
|
MMOSimca@392
|
144 [166739] = 113327, -- Weathered Bedroll (Repair Item)
|
MMOSimca@392
|
145 [166526] = 113328, -- Torn Voodoo Doll (Repair Item)
|
MMOSimca@392
|
146 [166744] = 113329, -- Ripped Lace Kerchief (Repair Item)
|
MMOSimca@392
|
147 [166529] = 113332, -- Cracked Wand (Repair Item)
|
MMOSimca@392
|
148 [166531] = 113336, -- Gnarled, Splintering Staff (Repair Item)
|
MMOSimca@392
|
149 [166574] = 113358, -- Felled Totem (Repair Item)
|
MMOSimca@392
|
150 [166578] = 113361, -- Tattered Scroll (Repair Item)
|
MMOSimca@392
|
151 [166582] = 113365, -- Ruined Painting (Repair Item)
|
MMOSimca@392
|
152 [166586] = 113367, -- Waterlogged Book (Repair Item)
|
MMOSimca@392
|
153 [166589] = 113371, -- Torn Card (Repair Item)
|
MMOSimca@392
|
154 [166593] = 113376, -- Faintly Magical Vellum (Repair Item)
|
MMOSimca@392
|
155 [166599] = 113381, -- Crumbling Statue (Repair Item)
|
MMOSimca@392
|
156 [166600] = 113384, -- Crushed Locket (Repair Item)
|
MMOSimca@392
|
157 [166606] = 113387, -- Cracked Band (Repair Item)
|
MMOSimca@392
|
158 [166611] = 113391, -- Crystal Shards (Repair Item)
|
MMOSimca@392
|
159 [166619] = 113394, -- Headless Figurine (Repair Item)
|
MMOSimca@392
|
160 [166764] = 113411, -- Bloodstained Mage Robe (Repair Item)
|
MMOSimca@392
|
161 [166770] = 113417, -- Torn Knapsack (Repair Item)
|
MMOSimca@392
|
162 [166788] = 113420, -- Desiccated Leather Cloak (Repair Item)
|
MMOSimca@392
|
163 [166796] = 113423, -- Scorched Leather Cap (Repair Item)
|
MMOSimca@392
|
164 [166800] = 113426, -- Mangled Saddle Bag (Repair Item)
|
MMOSimca@392
|
165 [166801] = 113429, -- Cracked Hand Drum (Repair Item)
|
MMOSimca@392
|
166 [166900] = 113452, -- Trampled Survey Bot (Repair Item)
|
MMOSimca@392
|
167 [166905] = 113465, -- Broken Hunting Scope (Repair Item)
|
MMOSimca@392
|
168 [166909] = 113468, -- Faulty Grenade (Repair Item)
|
MMOSimca@392
|
169 [166915] = 113471, -- Busted Alarm Bot (Repair Item)
|
MMOSimca@392
|
170 [166980] = 113478, -- Abandoned Medic Kit (Repair Item)
|
MMOSimca@392
|
171 [166985] = 113483, -- Lightweight Medic Vest (Repair Item)
|
MMOSimca@392
|
172 [167089] = 113495, -- Venom Extraction Kit (Repair Item)
|
MMOSimca@392
|
173 [167096] = 113499, -- Notes of Natural Cures (Repair Item)
|
MMOSimca@392
|
174 [167981] = 114002, -- Encoded Message (Decoding)
|
MMOSimca@392
|
175 [168084] = 114039, -- Spectral Bracers (Create Bracer)
|
MMOSimca@392
|
176 [168688] = 114040, -- Spectral Robes (Create Chest)
|
MMOSimca@392
|
177 [168687] = 114041, -- Spectral Treads (Create Boot)
|
MMOSimca@392
|
178 [168686] = 114042, -- Spectral Gauntlets (Create Glove)
|
MMOSimca@392
|
179 [168685] = 114043, -- Spectral Hood (Create Helm)
|
MMOSimca@392
|
180 [168684] = 114044, -- Spectral Leggings (Create Legs)
|
MMOSimca@392
|
181 [168683] = 114045, -- Spectral Spaulders (Create Shoulders)
|
MMOSimca@392
|
182 [168682] = 114046, -- Spectral Girdle (Create Belt)
|
MMOSimca@392
|
183 [168681] = 114047, -- Spectral Ring (Create Ring)
|
MMOSimca@392
|
184 [168680] = 114048, -- Spectral Choker (Create Neck)
|
MMOSimca@392
|
185 [168679] = 114049, -- Spectral Cloak (Create Cloak)
|
MMOSimca@392
|
186 [168678] = 114051, -- Spectral Trinket (Create Trinket)
|
MMOSimca@392
|
187 [168103] = 114052, -- Gleaming Ring (Create Ring)
|
MMOSimca@392
|
188 [168115] = 114053, -- Shimmering Gauntlets (Create Glove)
|
MMOSimca@392
|
189 [168725] = 114057, -- Munificent Bracers (Create Bracer)
|
MMOSimca@392
|
190 [168724] = 114058, -- Munificent Robes (Create Chest)
|
MMOSimca@392
|
191 [168723] = 114059, -- Munificent Treads (Create Boot)
|
MMOSimca@392
|
192 [168722] = 114060, -- Munificent Gauntlets (Create Glove)
|
MMOSimca@392
|
193 [168721] = 114061, -- Munificent Hood (Create Helm)
|
MMOSimca@392
|
194 [168720] = 114062, -- Munificent Leggings (Create Legs)
|
MMOSimca@392
|
195 [168719] = 114063, -- Munificent Spaulders (Create Shoulders)
|
MMOSimca@392
|
196 [168718] = 114064, -- Munificent Girdle (Create Belt)
|
MMOSimca@392
|
197 [168717] = 114065, -- Munificent Ring (Create Ring)
|
MMOSimca@392
|
198 [168716] = 114066, -- Munificent Choker (Create Neck)
|
MMOSimca@392
|
199 [168715] = 114067, -- Munificent Cloak (Create Cloak)
|
MMOSimca@392
|
200 [168714] = 114068, -- Munificent Trinket (Create Trinket)
|
MMOSimca@392
|
201 [168738] = 114069, -- Turbulent Bracers (Create Bracer)
|
MMOSimca@392
|
202 [168737] = 114070, -- Turbulent Robes (Create Chest)
|
MMOSimca@392
|
203 [168736] = 114071, -- Turbulent Treads (Create Boot)
|
MMOSimca@392
|
204 [168735] = 114072, -- Turbulent Gauntlets (Create Glove)
|
MMOSimca@392
|
205 [168734] = 114073, -- Turbulent Hood (Create Helm)
|
MMOSimca@392
|
206 [168733] = 114074, -- Turbulent Leggings (Create Legs)
|
MMOSimca@392
|
207 [168732] = 114075, -- Turbulent Spaulders (Create Shoulders)
|
MMOSimca@392
|
208 [168731] = 114076, -- Turbulent Girdle (Create Belt)
|
MMOSimca@392
|
209 [168730] = 114077, -- Turbulent Ring (Create Ring)
|
MMOSimca@392
|
210 [168729] = 114078, -- Turbulent Choker (Create Neck)
|
MMOSimca@392
|
211 [168728] = 114079, -- Turbulent Cloak (Create Cloak)
|
MMOSimca@392
|
212 [168727] = 114080, -- Turbulent Trinket (Create Trinket)
|
MMOSimca@392
|
213 [168751] = 114082, -- Grandiose Bracers (Create Bracer)
|
MMOSimca@392
|
214 [168750] = 114083, -- Grandiose Robes (Create Chest)
|
MMOSimca@392
|
215 [168749] = 114084, -- Grandiose Treads (Create Boot)
|
MMOSimca@392
|
216 [168745] = 114085, -- Grandiose Spaulders (Create Shoulders)
|
MMOSimca@392
|
217 [168742] = 114086, -- Grandiose Choker (Create Neck)
|
MMOSimca@392
|
218 [168740] = 114087, -- Grandiose Trinket (Create Trinket)
|
MMOSimca@392
|
219 [168764] = 114088, -- Formidable Bracers (Create Bracer)
|
MMOSimca@392
|
220 [168763] = 114089, -- Formidable Robes (Create Chest)
|
MMOSimca@392
|
221 [168762] = 114090, -- Formidable Treads (Create Boot)
|
MMOSimca@392
|
222 [168758] = 114091, -- Formidable Spaulders (Create Shoulders)
|
MMOSimca@392
|
223 [168755] = 114092, -- Formidable Choker (Create Neck)
|
MMOSimca@392
|
224 [168753] = 114093, -- Formidable Trinket (Create Trinket)
|
MMOSimca@392
|
225 [168712] = 114094, -- Tormented Bracers (Create Bracer)
|
MMOSimca@392
|
226 [168711] = 114095, -- Tormented Robes (Create Chest)
|
MMOSimca@392
|
227 [168710] = 114096, -- Tormented Treads (Create Boot)
|
MMOSimca@392
|
228 [168709] = 114097, -- Tormented Gauntlets (Create Glove)
|
MMOSimca@392
|
229 [168708] = 114098, -- Tormented Hood (Create Helm)
|
MMOSimca@392
|
230 [168707] = 114099, -- Tormented Leggings (Create Legs)
|
MMOSimca@392
|
231 [168706] = 114100, -- Tormented Spaulders (Create Shoulders)
|
MMOSimca@392
|
232 [168705] = 114101, -- Tormented Girdle (Create Belt)
|
MMOSimca@392
|
233 [168704] = 114102, -- Tormented Ring (Create Ring)
|
MMOSimca@392
|
234 [168703] = 114103, -- Tormented Choker (Create Neck)
|
MMOSimca@392
|
235 [168702] = 114104, -- Tormented Cloak (Create Cloak)
|
MMOSimca@392
|
236 [168701] = 114105, -- Tormented Trinket (Create Trinket)
|
MMOSimca@392
|
237 [168677] = 114106, -- Spectral Armament (Create Weapon)
|
MMOSimca@392
|
238 [168700] = 114108, -- Tormented Armament (Create Weapon)
|
MMOSimca@392
|
239 [168713] = 114109, -- Munificent Armament (Create Weapon)
|
MMOSimca@392
|
240 [168726] = 114110, -- Turbulent Armament (Create Weapon)
|
MMOSimca@392
|
241 [168752] = 114111, -- Formidable Armament (Create Weapon)
|
MMOSimca@392
|
242 [168739] = 114112, -- Grandiose Armament (Create Weapon)
|
MMOSimca@392
|
243 [168178] = 114116, -- Bag of Salvaged Goods (Salvage)
|
MMOSimca@392
|
244 [168179] = 114119, -- Crate of Salvage (Salvage)
|
MMOSimca@392
|
245 [168180] = 114120, -- Big Crage of Salvage (Salvage)
|
MMOSimca@392
|
246 [169508] = 115018, -- Patched Shadowmoon Cloth (Imbue Cloth)
|
MMOSimca@392
|
247 [170566] = 115591, -- Woven Fur (Imbue Cloth)
|
MMOSimca@392
|
248 [176482] = 118592, -- Forged Receipt: Gizmothingies (Combine)
|
MMOSimca@392
|
249 [176483] = 119094, -- Partial Receipt: Flask of Funk (Combine)
|
MMOSimca@392
|
250 [176484] = 119095, -- Partial Receipt: Tailored Underwear (Combine)
|
MMOSimca@392
|
251 [176934] = 119095, -- Partial Receipt: Tailored Underwear (Combine)
|
MMOSimca@392
|
252 [176485] = 119096, -- Partial Receipt: Book of Troll Poetry (Combine)
|
MMOSimca@392
|
253 [176486] = 119097, -- Partial Receipt: Gently-Used Bandages (Combine)
|
MMOSimca@392
|
254 [176487] = 119098, -- Partial Receipt: Druidskin Rug (Combine)
|
MMOSimca@392
|
255 [176488] = 119099, -- Partial Receipt: Chainmail Socks (Combine)
|
MMOSimca@392
|
256 [176489] = 119100, -- Partial Receipt: Pickled Red Herring (Combine)
|
MMOSimca@392
|
257 [176490] = 119101, -- Partial Receipt: Invisible Dust (Combine)
|
MMOSimca@392
|
258 [176491] = 119102, -- Partial Receipt: True Iron Door Handles (Combine)
|
MMOSimca@392
|
259 [168748] = 119114, -- Grandiose Gauntlets (Create Glove)
|
MMOSimca@392
|
260 [168761] = 119115, -- Formidable Gauntlets (Create Glove)
|
MMOSimca@392
|
261 [168747] = 119116, -- Grandiose Hood (Create Helm)
|
MMOSimca@392
|
262 [168760] = 119117, -- Formidable Hood (Create Helm)
|
MMOSimca@392
|
263 [168746] = 119118, -- Grandiose Leggings (Create Legs)
|
MMOSimca@392
|
264 [168759] = 119119, -- Formidable Leggings (Create Legs)
|
MMOSimca@392
|
265 [168744] = 119120, -- Grandiose Girdle (Create Belt)
|
MMOSimca@392
|
266 [168757] = 119121, -- Formidable Girdle (Create Belt)
|
MMOSimca@392
|
267 [168743] = 119122, -- Grandiose Ring (Create Ring)
|
MMOSimca@392
|
268 [168756] = 119123, -- Formidable Ring (Create Ring)
|
MMOSimca@392
|
269 [168741] = 119124, -- Grandiose Cloak (Create Cloak)
|
MMOSimca@392
|
270 [168754] = 119125, -- Formidable Cloak (Create Cloak)
|
MMOSimca@392
|
271 [176791] = 119185, -- Expired Receipt (Combine)
|
MMOSimca@392
|
272 [178444] = 120301, -- Armor Enhancement Token (Create Armor Enhancement)
|
MMOSimca@392
|
273 [178445] = 120302, -- Weapon Enhancement Token (Create Weapon Boost)
|
MMOSimca@381
|
274 }
|
MMOSimca@381
|
275
|
MMOSimca@387
|
276 -- List of items that, when right-clicked, reward loot (includes items from DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP).
|
MMOSimca@387
|
277 -- This means they -must- be tracked via CHAT_MSG_LOOT.
|
MMOSimca@387
|
278 -- It also means there is a high margin for bad data since multiple bags can be clicked within a small time frame.
|
MMOSimca@387
|
279 -- True = instant cast; false = cast time
|
MMOSimca@387
|
280 private.CONTAINER_ITEM_ID_LIST = {
|
MMOSimca@387
|
281 [116980] = true, -- Invader's Forgotten Treasure
|
MMOSimca@393
|
282 [118529] = true, -- Cache of Highmaul Treasures (Normal)
|
MMOSimca@393
|
283 [118530] = true, -- Cache of Highmaul Treasures (Heroic)
|
MMOSimca@393
|
284 [118531] = true, -- Cache of Highmaul Treasures (Mythic)
|
MMOSimca@393
|
285 [119036] = true, -- Box of Storied Treasures
|
MMOSimca@393
|
286 [119037] = true, -- Supply of Storied Rarities
|
MMOSimca@387
|
287 [120319] = true, -- Invader's Damaged Cache
|
MMOSimca@387
|
288 [120320] = true, -- Invader's Abandoned Sack
|
MMOSimca@387
|
289 }
|
MMOSimca@391
|
290 for key, value in next, private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP do
|
MMOSimca@391
|
291 private.CONTAINER_ITEM_ID_LIST[value] = false
|
MMOSimca@391
|
292 end
|
MMOSimca@387
|
293
|
MMOSimca@391
|
294 -- Mapping of Spell IDs for bonus roll confirmation prompts to raid bosses
|
MMOSimca@391
|
295 -- In some cases this records only bonus loot, and in other cases this is needed for all loot.
|
MMOSimca@381
|
296 private.RAID_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = {
|
MMOSimca@381
|
297 -----------------------------------------------------------------------
|
MMOSimca@381
|
298 -- World Bosses
|
MMOSimca@381
|
299 -----------------------------------------------------------------------
|
MMOSimca@381
|
300 [132205] = 60491, -- Sha of Anger Bonus (Sha of Anger)
|
MMOSimca@381
|
301 [132206] = 62346, -- Galleon Bonus (Galleon)
|
MMOSimca@381
|
302 [136381] = 69099, -- Nalak Bonus (Nalak)
|
MMOSimca@381
|
303 [137554] = 69161, -- Oondasta Bonus (Oondasta)
|
MMOSimca@381
|
304 [148317] = 71952, -- Celestials Bonus (Chi-Ji)
|
MMOSimca@381
|
305 [148316] = 72057, -- Ordos Bonus (Ordos)
|
MMOSimca@389
|
306 [178847] = 81252, -- Drov Bonus (Drov the Ruiner)
|
MMOSimca@389
|
307 [178849] = 81535, -- Tarlna Bonus (Tarlna the Ageless)
|
MMOSimca@389
|
308 [178851] = 83746, -- Rukhmar Bonus (Rukhmar)
|
MMOSimca@381
|
309
|
MMOSimca@381
|
310 -----------------------------------------------------------------------
|
MMOSimca@381
|
311 -- Blackrock Foundry
|
MMOSimca@381
|
312 -----------------------------------------------------------------------
|
MMOSimca@389
|
313 [177529] = 76877, -- Gruul Bonus (Gruul)
|
MMOSimca@389
|
314 [177530] = 77182, -- Oregorger Bonus (Oregorger)
|
MMOSimca@389
|
315 [177531] = 76809, -- Blast Furnace (Foreman Feldspar)
|
MMOSimca@389
|
316 [177533] = 76973, -- Hans'gar & Franzok Bonus (Hans'gar)
|
MMOSimca@389
|
317 [177534] = 76814, -- Flamebender Ka'graz Bonus (Flamebender Ka'graz)
|
MMOSimca@389
|
318 [177535] = 77692, -- Kromog Bonus (Kromog)
|
MMOSimca@389
|
319 [177536] = 76865, -- Beastlord Darmac Bonus (Beastlord Darmac)
|
MMOSimca@389
|
320 [177537] = 76906, -- Operator Thogar Bonus (Operator Thogar)
|
MMOSimca@389
|
321 [177538] = 77557, -- The Iron Maidens Bonus (Admiral Gar'an)
|
MMOSimca@389
|
322 [177539] = 77325, -- Blackhand Bonus (Blackhand)
|
MMOSimca@381
|
323
|
MMOSimca@381
|
324 -----------------------------------------------------------------------
|
MMOSimca@381
|
325 -- Highmaul
|
MMOSimca@381
|
326 -----------------------------------------------------------------------
|
MMOSimca@389
|
327 [177521] = 78714, -- Kargath Bladefist Bonus (Kargath Bladefist)
|
MMOSimca@389
|
328 [177522] = 77404, -- Butcher Bonus (The Butcher)
|
MMOSimca@389
|
329 [177523] = 78948, -- Tectus Bonus (Tectus)
|
MMOSimca@389
|
330 [177524] = 78491, -- Brackenspore Bonus (Brackenspore)
|
MMOSimca@389
|
331 [177525] = 78237, -- Twin Ogron Bonus (Phemos)
|
MMOSimca@389
|
332 [177526] = 79015, -- Ko'ragh Bonus (Ko'ragh)
|
MMOSimca@389
|
333 [177528] = 77428, -- Imperator Mar'gok Bonus (Imperator Mar'gok)
|
MMOSimca@381
|
334
|
MMOSimca@381
|
335 -----------------------------------------------------------------------
|
MMOSimca@381
|
336 -- Mists of Pandaria
|
MMOSimca@381
|
337 -----------------------------------------------------------------------
|
MMOSimca@381
|
338 [125144] = 59915, -- Stone Guard Bonus (Jasper Guardian)
|
MMOSimca@381
|
339 [132189] = 60009, -- Feng the Accursed Bonus (Feng the Accursed)
|
MMOSimca@381
|
340 [132190] = 60143, -- Gara'jal the Spiritbinder Bonus (Gara'jal the Spiritbinder)
|
MMOSimca@381
|
341 [132191] = 60709, -- Spirit Kings Bonus (Qiang the Merciless)
|
MMOSimca@381
|
342 [132192] = 60410, -- Elegon Bonus (Elegon)
|
MMOSimca@381
|
343 [132193] = 60399, -- Will of the Emperor Bonus (Qin-xi)
|
MMOSimca@381
|
344 [132200] = 60583, -- Protectors of the Endless Bonus (Protector Kaolan)
|
MMOSimca@381
|
345 [132204] = 60583, -- Protectors of the Endless (Elite) Bonus (Protector Kaolan)
|
MMOSimca@381
|
346 [132201] = 62442, -- Tsulong Bonus (Tsulong)
|
MMOSimca@381
|
347 [132202] = 62983, -- Lei Shi Bonus (Lei Shi)
|
MMOSimca@381
|
348 [132203] = 60999, -- Sha of Fear Bonus (Sha of Fear)
|
MMOSimca@381
|
349 [132194] = 62980, -- Imperial Vizier Zor'lok Bonus (Imperial Vizier Zor'lok)
|
MMOSimca@381
|
350 [132195] = 62543, -- Blade Lord Tay'ak Bonus (Blade Lord Ta'yak)
|
MMOSimca@381
|
351 [132196] = 62164, -- Garalon Bonus (Garalon)
|
MMOSimca@381
|
352 [132197] = 62397, -- Wind Lord Mel'jarak Bonus (Wind Lord Mel'jarak)
|
MMOSimca@381
|
353 [132198] = 62511, -- Amber-Shaper Un'sok Bonus (Amber-Shaper Un'sok)
|
MMOSimca@381
|
354 [132199] = 62837, -- Grand Empress Shek'zeer Bonus (Grand Empress Shek'zeer)
|
MMOSimca@381
|
355 [139674] = 69465, -- Jin'rokh the Breaker Bonus (Jin'rokh the Breaker)
|
MMOSimca@381
|
356 [139677] = 68476, -- Horridon Bonus (Horridon)
|
MMOSimca@381
|
357 [139679] = 69078, -- Zandalari Troll Council Bonus (Sul the Sandcrawler)
|
MMOSimca@381
|
358 [139680] = 67977, -- Tortos Bonus (Tortos)
|
MMOSimca@381
|
359 [139682] = 68065, -- Magaera Bonus (Megaera)
|
MMOSimca@381
|
360 [139684] = 69712, -- Ji'kun, the Ancient Mother Bonus (Ji-Kun)
|
MMOSimca@381
|
361 [139686] = 68036, -- Durumu the Forgotten Bonus (Durumu the Forgotten)
|
MMOSimca@381
|
362 [139687] = 69017, -- Primordious Bonus (Primordius)
|
MMOSimca@381
|
363 [139688] = 69427, -- Dark Animus Bonus (Dark Animus)
|
MMOSimca@381
|
364 [139689] = 68078, -- Iron Qon Bonus (Iron Qon)
|
MMOSimca@381
|
365 [139690] = 68904, -- The Empyreal Queens Bonus (Suen)
|
MMOSimca@381
|
366 [139691] = 68397, -- Lei Shen, The Thunder King Bonus (Lei Shen)
|
MMOSimca@381
|
367 [139692] = 69473, -- Ra-den Bonus (Ra-den)
|
MMOSimca@381
|
368 [145909] = 71543, -- Immerseus Bonus (Immerseus)
|
MMOSimca@381
|
369 [145910] = 71475, -- Fallen Protectors Bonus (Rook Stonetoe)
|
MMOSimca@381
|
370 [145911] = 72276, -- Norushen Bonus (Amalgam of Corruption)
|
MMOSimca@381
|
371 [145912] = 71734, -- Sha of Pride Bonus (Sha of Pride)
|
MMOSimca@381
|
372 [145913] = 72249, -- Galakras Bonus (Galakras)
|
MMOSimca@381
|
373 [145914] = 71466, -- Iron Juggernaut Bonus (Iron Juggernaut)
|
MMOSimca@381
|
374 [145915] = 71859, -- Dark Shaman Bonus (Earthbreaker Haromm)
|
MMOSimca@381
|
375 [145916] = 71515, -- General Nazgrim Bonus (General Nazgrim)
|
MMOSimca@381
|
376 [145917] = 71454, -- Malkorok Bonus (Malkorok)
|
MMOSimca@381
|
377 [145919] = 71889, -- Spoils of Pandaria Bonus (Secured Stockpile of Pandaren Spoils)
|
MMOSimca@381
|
378 [145920] = 71529, -- Thok the Bloodthirsty Bonus (Thok the Bloodthirsty)
|
MMOSimca@381
|
379 [145918] = 71504, -- Siegecrafter Blackfuse Bonus (Siegecrafter Blackfuse)
|
MMOSimca@381
|
380 [145921] = 71161, -- Klaxxi Paragons Bonus (Kil'ruk the Wind-Reaver)
|
MMOSimca@381
|
381 [145922] = 71865, -- Garrosh Hellscream Bonus (Garrosh Hellscream)
|
MMOSimca@381
|
382 }
|
MMOSimca@381
|
383
|
MMOSimca@381
|
384
|
MMOSimca@381
|
385 -----------------------------------------------------------------------
|
MMOSimca@381
|
386 -- Fundamental Constants.
|
MMOSimca@381
|
387 -----------------------------------------------------------------------
|
MMOSimca@381
|
388 private.wow_version, private.build_num = _G.GetBuildInfo()
|
MMOSimca@381
|
389 private.region = GetCVar("portal"):sub(0,2):upper()
|
MMOSimca@381
|
390 -- PTR/Beta return "public-test", but they are properly called "XX"
|
MMOSimca@381
|
391 if private.region == "PU" then private.region = "XX" end
|
MMOSimca@381
|
392
|
MMOSimca@381
|
393 private.UNIT_TYPES = {
|
MMOSimca@381
|
394 PLAYER = "Player",
|
MMOSimca@381
|
395 OBJECT = "GameObject",
|
MMOSimca@381
|
396 UNKNOWN = "Unknown",
|
MMOSimca@381
|
397 NPC = "Creature",
|
MMOSimca@381
|
398 PET = "Pet",
|
MMOSimca@381
|
399 VEHICLE = "Vehicle",
|
MMOSimca@381
|
400 ITEM = "Item",
|
MMOSimca@381
|
401 }
|
MMOSimca@381
|
402
|
MMOSimca@381
|
403 private.UNIT_TYPE_NAMES = {
|
MMOSimca@381
|
404 ["Player"] = "PLAYER",
|
MMOSimca@381
|
405 ["GameObject"] = "OBJECT",
|
MMOSimca@381
|
406 ["Unknown"] = "UNKNOWN",
|
MMOSimca@381
|
407 ["Creature"] = "NPC",
|
MMOSimca@381
|
408 ["Pet"] = "PET",
|
MMOSimca@381
|
409 ["Vehicle"] = "VEHICLE",
|
MMOSimca@381
|
410 ["Item"] = "ITEM",
|
MMOSimca@381
|
411 }
|
MMOSimca@381
|
412
|
MMOSimca@381
|
413 private.ACTION_TYPE_FLAGS = {
|
MMOSimca@381
|
414 ITEM = 0x00000001,
|
MMOSimca@381
|
415 NPC = 0x00000002,
|
MMOSimca@381
|
416 OBJECT = 0x00000004,
|
MMOSimca@381
|
417 ZONE = 0x00000008,
|
MMOSimca@381
|
418 }
|
MMOSimca@381
|
419
|
MMOSimca@381
|
420 private.ACTION_TYPE_NAMES = {}
|
MMOSimca@381
|
421
|
MMOSimca@381
|
422 for name, bit in _G.pairs(private.ACTION_TYPE_FLAGS) do
|
MMOSimca@381
|
423 private.ACTION_TYPE_NAMES[bit] = name
|
MMOSimca@381
|
424 end
|
MMOSimca@381
|
425
|
MMOSimca@381
|
426 private.SPELL_LABELS_BY_NAME = {
|
MMOSimca@381
|
427 [_G.GetSpellInfo(13262)] = "DISENCHANT",
|
MMOSimca@381
|
428 [_G.GetSpellInfo(4036)] = "ENGINEERING",
|
MMOSimca@381
|
429 [_G.GetSpellInfo(30427)] = "EXTRACT_GAS",
|
MMOSimca@381
|
430 [_G.GetSpellInfo(131476)] = "FISHING",
|
MMOSimca@381
|
431 [_G.GetSpellInfo(2366)] = "HERB_GATHERING",
|
MMOSimca@381
|
432 [_G.GetSpellInfo(51005)] = "MILLING",
|
MMOSimca@381
|
433 [_G.GetSpellInfo(605)] = "MIND_CONTROL",
|
MMOSimca@381
|
434 [_G.GetSpellInfo(2575)] = "MINING",
|
MMOSimca@381
|
435 [_G.GetSpellInfo(3365)] = "OPENING",
|
MMOSimca@381
|
436 [_G.GetSpellInfo(921)] = "PICK_POCKET",
|
MMOSimca@381
|
437 [_G.GetSpellInfo(31252)] = "PROSPECTING",
|
MMOSimca@381
|
438 [_G.GetSpellInfo(73979)] = "SEARCHING_FOR_ARTIFACTS",
|
MMOSimca@381
|
439 [_G.GetSpellInfo(8613)] = "SKINNING",
|
MMOSimca@381
|
440 }
|
MMOSimca@381
|
441
|
MMOSimca@381
|
442 private.NON_LOOT_SPELL_LABELS = {
|
MMOSimca@381
|
443 MIND_CONTROL = true,
|
MMOSimca@381
|
444 }
|
MMOSimca@381
|
445
|
MMOSimca@381
|
446 local AF = private.ACTION_TYPE_FLAGS
|
MMOSimca@381
|
447
|
MMOSimca@381
|
448 private.SPELL_FLAGS_BY_LABEL = {
|
MMOSimca@381
|
449 DISENCHANT = AF.ITEM,
|
MMOSimca@381
|
450 ENGINEERING = AF.NPC,
|
MMOSimca@381
|
451 EXTRACT_GAS = AF.ZONE,
|
MMOSimca@381
|
452 FISHING = AF.ZONE,
|
MMOSimca@381
|
453 HERB_GATHERING = bit.bor(AF.NPC, AF.OBJECT),
|
MMOSimca@381
|
454 MILLING = AF.ITEM,
|
MMOSimca@381
|
455 MIND_CONTROL = AF.NPC,
|
MMOSimca@381
|
456 MINING = bit.bor(AF.NPC, AF.OBJECT),
|
MMOSimca@381
|
457 OPENING = AF.OBJECT,
|
MMOSimca@381
|
458 PICK_POCKET = AF.NPC,
|
MMOSimca@381
|
459 PROSPECTING = AF.ITEM,
|
MMOSimca@381
|
460 SEARCHING_FOR_ARTIFACTS = AF.OBJECT,
|
MMOSimca@381
|
461 SKINNING = AF.NPC,
|
MMOSimca@381
|
462 }
|
MMOSimca@381
|
463
|
MMOSimca@381
|
464
|
MMOSimca@381
|
465 -----------------------------------------------------------------------
|
MMOSimca@381
|
466 -- Faction/Reputation Data Constants.
|
MMOSimca@381
|
467 -----------------------------------------------------------------------
|
MMOSimca@381
|
468
|
MMOSimca@340
|
469 private.FACTION_DATA = {
|
MMOSimca@340
|
470 -- Used only for private.REP_BUFFS
|
MMOSimca@340
|
471 ARGENT_CRUSADE = { 1106, _G.GetFactionInfoByID(1106) },
|
MMOSimca@340
|
472 BILGEWATER_CARTEL = { 1133, _G.GetFactionInfoByID(1133) },
|
MMOSimca@340
|
473 CENARION_CIRCLE = { 609, _G.GetFactionInfoByID(609) },
|
MMOSimca@340
|
474 DARKSPEAR = { 530, _G.GetFactionInfoByID(530) },
|
MMOSimca@340
|
475 DARNASSUS = { 69, _G.GetFactionInfoByID(69) },
|
MMOSimca@340
|
476 DRAGONMAW_CLAN = { 1172, _G.GetFactionInfoByID(1172) },
|
MMOSimca@340
|
477 EARTHEN_RING = { 1135, _G.GetFactionInfoByID(1135) },
|
MMOSimca@340
|
478 EBON_BLADE = { 1098, _G.GetFactionInfoByID(1098) },
|
MMOSimca@340
|
479 EXODAR = { 930, _G.GetFactionInfoByID(930) },
|
MMOSimca@340
|
480 GILNEAS = { 1134, _G.GetFactionInfoByID(1134) },
|
MMOSimca@340
|
481 GNOMEREGAN = { 54, _G.GetFactionInfoByID(54) },
|
MMOSimca@340
|
482 GUARDIANS_OF_HYJAL = { 1158, _G.GetFactionInfoByID(1158) },
|
MMOSimca@340
|
483 GUILD = { 1168, _G.GetFactionInfoByID(1168) },
|
MMOSimca@340
|
484 HONOR_HOLD = { 946, _G.GetFactionInfoByID(946) },
|
MMOSimca@340
|
485 HUOJIN = { 1352, _G.GetFactionInfoByID(1352) },
|
MMOSimca@340
|
486 IRONFORGE = { 47, _G.GetFactionInfoByID(47) },
|
MMOSimca@340
|
487 KIRIN_TOR = { 1090, _G.GetFactionInfoByID(1090) },
|
MMOSimca@340
|
488 ORGRIMMAR = { 76, _G.GetFactionInfoByID(76) },
|
MMOSimca@340
|
489 RAMKAHEN = { 1173, _G.GetFactionInfoByID(1173) },
|
MMOSimca@340
|
490 SHATAR = { 935, _G.GetFactionInfoByID(935) },
|
MMOSimca@340
|
491 SILVERMOON = { 911, _G.GetFactionInfoByID(911) },
|
MMOSimca@340
|
492 STORMWIND = { 72, _G.GetFactionInfoByID(72) },
|
MMOSimca@340
|
493 THERAZANE = { 1171, _G.GetFactionInfoByID(1171) },
|
MMOSimca@340
|
494 THRALLMAR = { 947, _G.GetFactionInfoByID(947) },
|
MMOSimca@340
|
495 THUNDER_BLUFF = { 81, _G.GetFactionInfoByID(81) },
|
MMOSimca@340
|
496 TUSHUI = { 1353, _G.GetFactionInfoByID(1353) },
|
MMOSimca@340
|
497 UNDERCITY = { 68, _G.GetFactionInfoByID(68) },
|
MMOSimca@340
|
498 WILDHAMMER_CLAN = { 1174, _G.GetFactionInfoByID(1174) },
|
MMOSimca@340
|
499 WYRMREST_ACCORD = { 1091, _G.GetFactionInfoByID(1091) },
|
MMOSimca@340
|
500 -- Commendation Factions
|
MMOSimca@340
|
501 ANGLERS = { 1302, _G.GetFactionInfoByID(1302) },
|
MMOSimca@340
|
502 AUGUST_CELESTIALS = { 1341, _G.GetFactionInfoByID(1341) },
|
MMOSimca@340
|
503 DOMINANCE_OFFENSIVE = { 1375, _G.GetFactionInfoByID(1375) },
|
MMOSimca@340
|
504 GOLDEN_LOTUS = { 1269, _G.GetFactionInfoByID(1269) },
|
MMOSimca@340
|
505 KIRIN_TOR_OFFENSIVE = { 1387, _G.GetFactionInfoByID(1387) },
|
MMOSimca@340
|
506 KLAXXI = { 1337, _G.GetFactionInfoByID(1337) },
|
MMOSimca@340
|
507 LOREWALKERS = { 1345, _G.GetFactionInfoByID(1345) },
|
MMOSimca@340
|
508 OPERATION_SHIELDWALL = { 1376, _G.GetFactionInfoByID(1376) },
|
MMOSimca@340
|
509 ORDER_OF_THE_CLOUD_SERPENTS = { 1271, _G.GetFactionInfoByID(1271) },
|
MMOSimca@340
|
510 SHADO_PAN = { 1270, _G.GetFactionInfoByID(1270) },
|
MMOSimca@340
|
511 SHADO_PAN_ASSAULT = { 1435, _G.GetFactionInfoByID(1435) },
|
MMOSimca@340
|
512 SUNREAVER_ONSLAUGHT = { 1388, _G.GetFactionInfoByID(1388) },
|
MMOSimca@340
|
513 TILLERS = { 1272, _G.GetFactionInfoByID(1272) },
|
MMOSimca@337
|
514 }
|
MMOSimca@337
|
515
|
MMOSimca@337
|
516 private.REP_BUFFS = {
|
MMOSimca@340
|
517 -- Tabard Buffs
|
MMOSimca@340
|
518 [_G.GetSpellInfo(93830)] = { -- BILGEWATER CARTEL TABARD
|
MMOSimca@340
|
519 faction = private.FACTION_DATA.BILGEWATER_CARTEL[2],
|
MMOSimca@340
|
520 ignore = true,
|
MMOSimca@340
|
521 },
|
MMOSimca@340
|
522 [_G.GetSpellInfo(93827)] = { -- DARKSPEAR TABARD
|
MMOSimca@340
|
523 faction = private.FACTION_DATA.DARKSPEAR[2],
|
MMOSimca@340
|
524 ignore = true,
|
MMOSimca@340
|
525 },
|
MMOSimca@340
|
526 [_G.GetSpellInfo(93806)] = { -- DARNASSUS TABARD
|
MMOSimca@340
|
527 faction = private.FACTION_DATA.DARNASSUS[2],
|
MMOSimca@340
|
528 ignore = true,
|
MMOSimca@340
|
529 },
|
MMOSimca@340
|
530 [_G.GetSpellInfo(93811)] = { -- EXODAR TABARD
|
MMOSimca@340
|
531 faction = private.FACTION_DATA.EXODAR[2],
|
MMOSimca@340
|
532 ignore = true,
|
MMOSimca@340
|
533 },
|
MMOSimca@340
|
534 [_G.GetSpellInfo(93816)] = { -- GILNEAS TABARD
|
MMOSimca@340
|
535 faction = private.FACTION_DATA.GILNEAS[2],
|
MMOSimca@340
|
536 ignore = true,
|
MMOSimca@340
|
537 },
|
MMOSimca@340
|
538 [_G.GetSpellInfo(93821)] = { -- GNOMEREGAN TABARD
|
MMOSimca@340
|
539 faction = private.FACTION_DATA.GNOMEREGAN[2],
|
MMOSimca@340
|
540 ignore = true,
|
MMOSimca@340
|
541 },
|
MMOSimca@340
|
542 [_G.GetSpellInfo(126436)] = { -- HUOJIN TABARD
|
MMOSimca@340
|
543 faction = private.FACTION_DATA.HUOJIN[2],
|
MMOSimca@340
|
544 ignore = true,
|
MMOSimca@340
|
545 },
|
MMOSimca@340
|
546 [_G.GetSpellInfo(97340)] = { -- ILLUSTRIOUS GUILD TABARD
|
MMOSimca@340
|
547 faction = private.FACTION_DATA.GUILD[2],
|
MMOSimca@340
|
548 modifier = 1,
|
MMOSimca@340
|
549 },
|
MMOSimca@340
|
550 [_G.GetSpellInfo(93805)] = { -- IRONFORGE TABARD
|
MMOSimca@340
|
551 faction = private.FACTION_DATA.IRONFORGE[2],
|
MMOSimca@340
|
552 ignore = true,
|
MMOSimca@340
|
553 },
|
MMOSimca@340
|
554 [_G.GetSpellInfo(93825)] = { -- ORGRIMMAR TABARD
|
MMOSimca@340
|
555 faction = private.FACTION_DATA.ORGRIMMAR[2],
|
MMOSimca@340
|
556 ignore = true,
|
MMOSimca@340
|
557 },
|
MMOSimca@340
|
558 [_G.GetSpellInfo(97341)] = { -- RENOWNED GUILD TABARD
|
MMOSimca@340
|
559 faction = private.FACTION_DATA.GUILD[2],
|
MMOSimca@340
|
560 modifier = 0.5,
|
MMOSimca@340
|
561 },
|
MMOSimca@340
|
562 [_G.GetSpellInfo(93828)] = { -- SILVERMOON CITY TABARD
|
MMOSimca@340
|
563 faction = private.FACTION_DATA.SILVERMOON[2],
|
MMOSimca@340
|
564 ignore = true,
|
MMOSimca@340
|
565 },
|
MMOSimca@340
|
566 [_G.GetSpellInfo(93795)] = { -- STORMWIND TABARD
|
MMOSimca@340
|
567 faction = private.FACTION_DATA.STORMWIND[2],
|
MMOSimca@340
|
568 ignore = true,
|
MMOSimca@340
|
569 },
|
MMOSimca@340
|
570 [_G.GetSpellInfo(93337)] = { -- TABARD OF RAMKAHEN
|
MMOSimca@340
|
571 faction = private.FACTION_DATA.RAMKAHEN[2],
|
MMOSimca@340
|
572 ignore = true,
|
MMOSimca@340
|
573 },
|
MMOSimca@340
|
574 [_G.GetSpellInfo(57819)] = { -- TABARD OF THE ARGENT CRUSADE
|
MMOSimca@340
|
575 faction = private.FACTION_DATA.ARGENT_CRUSADE[2],
|
MMOSimca@340
|
576 ignore = true,
|
MMOSimca@340
|
577 },
|
MMOSimca@340
|
578 [_G.GetSpellInfo(94158)] = { -- TABARD OF THE DRAGONMAW CLAN
|
MMOSimca@340
|
579 faction = private.FACTION_DATA.DRAGONMAW_CLAN[2],
|
MMOSimca@340
|
580 ignore = true,
|
MMOSimca@340
|
581 },
|
MMOSimca@340
|
582 [_G.GetSpellInfo(93339)] = { -- TABARD OF THE EARTHEN RING
|
MMOSimca@340
|
583 faction = private.FACTION_DATA.EARTHEN_RING[2],
|
MMOSimca@340
|
584 ignore = true,
|
MMOSimca@340
|
585 },
|
MMOSimca@340
|
586 [_G.GetSpellInfo(57820)] = { -- TABARD OF THE EBON BLADE
|
MMOSimca@340
|
587 faction = private.FACTION_DATA.EBON_BLADE[2],
|
MMOSimca@340
|
588 ignore = true,
|
MMOSimca@340
|
589 },
|
MMOSimca@340
|
590 [_G.GetSpellInfo(93341)] = { -- TABARD OF THE GUARDIANS OF HYJAL
|
MMOSimca@340
|
591 faction = private.FACTION_DATA.GUARDIANS_OF_HYJAL[2],
|
MMOSimca@340
|
592 ignore = true,
|
MMOSimca@340
|
593 },
|
MMOSimca@340
|
594 [_G.GetSpellInfo(57821)] = { -- TABARD OF THE KIRIN TOR
|
MMOSimca@340
|
595 faction = private.FACTION_DATA.KIRIN_TOR[2],
|
MMOSimca@340
|
596 ignore = true,
|
MMOSimca@340
|
597 },
|
MMOSimca@340
|
598 [_G.GetSpellInfo(93368)] = { -- TABARD OF THE WILDHAMMER CLAN
|
MMOSimca@340
|
599 faction = private.FACTION_DATA.WILDHAMMER_CLAN[2],
|
MMOSimca@340
|
600 ignore = true,
|
MMOSimca@340
|
601 },
|
MMOSimca@340
|
602 [_G.GetSpellInfo(57822)] = { -- TABARD OF THE WYRMREST ACCORD
|
MMOSimca@340
|
603 faction = private.FACTION_DATA.WYRMREST_ACCORD[2],
|
MMOSimca@340
|
604 ignore = true,
|
MMOSimca@340
|
605 },
|
MMOSimca@340
|
606 [_G.GetSpellInfo(93347)] = { -- TABARD OF THERAZANE
|
MMOSimca@340
|
607 faction = private.FACTION_DATA.THERAZANE[2],
|
MMOSimca@340
|
608 ignore = true,
|
MMOSimca@340
|
609 },
|
MMOSimca@340
|
610 [_G.GetSpellInfo(94463)] = { -- THUNDERBLUFF TABARD
|
MMOSimca@340
|
611 faction = private.FACTION_DATA.THUNDER_BLUFF[2],
|
MMOSimca@340
|
612 ignore = true,
|
MMOSimca@340
|
613 },
|
MMOSimca@340
|
614 [_G.GetSpellInfo(126434)] = { -- TUSHUI TABARD
|
MMOSimca@340
|
615 faction = private.FACTION_DATA.TUSHUI[2],
|
MMOSimca@340
|
616 ignore = true,
|
MMOSimca@340
|
617 },
|
MMOSimca@340
|
618 [_G.GetSpellInfo(94462)] = { -- UNDERCITY TABARD
|
MMOSimca@340
|
619 faction = private.FACTION_DATA.UNDERCITY[2],
|
MMOSimca@340
|
620 ignore = true,
|
MMOSimca@340
|
621 },
|
MMOSimca@340
|
622
|
MMOSimca@340
|
623 -- Banner Buffs
|
MMOSimca@340
|
624 [_G.GetSpellInfo(90216)] = { -- ALLIANCE GUILD STANDARD
|
MMOSimca@340
|
625 ignore = true,
|
MMOSimca@340
|
626 },
|
MMOSimca@340
|
627 [_G.GetSpellInfo(90708)] = { -- HORDE GUILD STANDARD
|
MMOSimca@340
|
628 ignore = true,
|
MMOSimca@340
|
629 },
|
MMOSimca@340
|
630
|
MMOSimca@340
|
631 -- Holiday Buffs
|
MMOSimca@340
|
632 [_G.GetSpellInfo(136583)] = { -- DARKMOON TOP HAT
|
MMOSimca@340
|
633 modifier = 0.1,
|
MMOSimca@337
|
634 },
|
MMOSimca@337
|
635 [_G.GetSpellInfo(24705)] = { -- GRIM VISAGE
|
MMOSimca@337
|
636 modifier = 0.1,
|
MMOSimca@337
|
637 },
|
MMOSimca@337
|
638 [_G.GetSpellInfo(61849)] = { -- SPIRIT OF SHARING
|
MMOSimca@337
|
639 modifier = 0.1,
|
MMOSimca@337
|
640 },
|
MMOSimca@340
|
641 [_G.GetSpellInfo(95987)] = { -- UNBURDENED
|
MMOSimca@337
|
642 modifier = 0.1,
|
MMOSimca@337
|
643 },
|
MMOSimca@340
|
644 [_G.GetSpellInfo(46668)] = { -- WHEE!
|
MMOSimca@337
|
645 modifier = 0.1,
|
MMOSimca@337
|
646 },
|
MMOSimca@337
|
647 [_G.GetSpellInfo(100951)] = { -- WOW 8TH ANNIVERSARY
|
MMOSimca@337
|
648 modifier = 0.08,
|
MMOSimca@337
|
649 },
|
MMOSimca@337
|
650 [_G.GetSpellInfo(132700)] = { -- WOW 9TH ANNIVERSARY
|
MMOSimca@337
|
651 modifier = 0.09,
|
MMOSimca@337
|
652 },
|
MMOSimca@337
|
653 [_G.GetSpellInfo(150986)] = { -- WOW 10TH ANNIVERSARY
|
MMOSimca@337
|
654 modifier = 0.1,
|
MMOSimca@341
|
655 },
|
MMOSimca@340
|
656
|
MMOSimca@340
|
657 -- Situational Buffs
|
MMOSimca@340
|
658 [_G.GetSpellInfo(39953)] = { -- ADALS SONG OF BATTLE
|
MMOSimca@340
|
659 faction = private.FACTION_DATA.SHATAR[2],
|
MMOSimca@340
|
660 modifier = 0.1,
|
MMOSimca@340
|
661 },
|
MMOSimca@340
|
662 [_G.GetSpellInfo(30754)] = { -- CENARION FAVOR
|
MMOSimca@340
|
663 faction = private.FACTION_DATA.CENARION_CIRCLE[2],
|
MMOSimca@340
|
664 modifier = 0.25,
|
MMOSimca@340
|
665 },
|
MMOSimca@340
|
666 [_G.GetSpellInfo(32098)] = { -- HONOR HOLD FAVOR
|
MMOSimca@340
|
667 faction = private.FACTION_DATA.HONOR_HOLD[2],
|
MMOSimca@340
|
668 modifier = 0.25,
|
MMOSimca@340
|
669 },
|
MMOSimca@340
|
670 [_G.GetSpellInfo(39913)] = { -- NAZGRELS FERVOR
|
MMOSimca@340
|
671 faction = private.FACTION_DATA.THRALLMAR[2],
|
MMOSimca@340
|
672 modifier = 0.1,
|
MMOSimca@340
|
673 },
|
MMOSimca@340
|
674 [_G.GetSpellInfo(32096)] = { -- THRALLMARS FAVOR
|
MMOSimca@340
|
675 faction = private.FACTION_DATA.THRALLMAR[2],
|
MMOSimca@340
|
676 modifier = 0.25,
|
MMOSimca@340
|
677 },
|
MMOSimca@340
|
678 [_G.GetSpellInfo(39911)] = { -- TROLLBANES COMMAND
|
MMOSimca@340
|
679 faction = private.FACTION_DATA.HONOR_HOLD[2],
|
MMOSimca@340
|
680 modifier = 0.1,
|
MMOSimca@340
|
681 },
|
MMOSimca@337
|
682 }
|