diff Constants.lua @ 306:7feb687b1b22

Fixes
author James D. Callahan III <jcallahan@curse.com>
date Tue, 23 Jul 2013 18:07:07 -0500
parents 3fe3e55c327e
children c33ab3413737
line wrap: on
line diff
--- a/Constants.lua	Mon Jul 08 16:35:15 2013 -0500
+++ b/Constants.lua	Tue Jul 23 18:07:07 2013 -0500
@@ -68,10 +68,12 @@
     [_G.GetSpellInfo(8613)] = "SKINNING",
 }
 
+
 private.NON_LOOT_SPELL_LABELS = {
     MIND_CONTROL = true,
 }
 
+
 local AF = private.ACTION_TYPE_FLAGS
 
 private.SPELL_FLAGS_BY_LABEL = {
@@ -90,6 +92,20 @@
     SKINNING = AF.NPC,
 }
 
+
+private.LOOT_SPELL_ID_TO_ITEM_ID_MAP = {
+    [142397] = 98134, -- Heroic Cache of Treasures
+    [143506] = 98095, -- Brawler's Pet Supplies
+    [143507] = 94207, -- Fabled Pandaren Pet Supplies
+    [143512] = 93148, -- Pandaren Spirit Pet Supplies
+    [143511] = 93149, -- Pandaren Spirit Pet Supplies
+    [143510] = 93147, -- Pandaren Spirit Pet Supplies
+    [143509] = 93146, -- Pandaren Spirit Pet Supplies
+    [143508] = 89125, -- Sack of Pet Supplies
+    --[??????] = 104014, -- Pouch of Timeless Coins
+}
+
+
 private.RAID_FINDER_BOSS_IDS = {
     -----------------------------------------------------------------------
     -- Mogu'shan Vaults
@@ -149,6 +165,36 @@
     [68904] = true, -- Suen
     [68905] = true, -- Lu'lin
     [68397] = true, -- Lei Shen
+
+    -----------------------------------------------------------------------
+    -- Siege of Orgrimmar
+    -----------------------------------------------------------------------
+    [71543] = true, -- Immerseus
+    [71475] = true, -- Rook Stonetoe (Fallen Protectors encounter)
+    [71479] = true, -- He Softfoot (Fallen Protectors encounter)
+    [71480] = true, -- Sun Tenderheart (Fallen Protectors encounter)
+    [71967] = true, -- Norushen (Norushen encounter)
+    [72276] = true, -- Amalgam of Corruption (Norushen encounter)
+    [71734] = true, -- Sha of Pride
+    [72249] = true, -- Galakras
+    [71466] = true, -- Iron Juggernaut
+    [71858] = true, -- Wavebinder Kardris (Kor'kron Dark Shaman encounter)
+    [71859] = true, -- Earthbreaker Haromm (Kor'kron Dark Shaman encounter)
+    [71515] = true, -- General Nazgrim
+    [71454] = true, -- Malkorok
+    [71889] = true, -- Secured Stockpile of Pandaren Spoils (Spoils of Pandaria encounter)
+    [71529] = true, -- Thok the Bloodthirsty
+    [71504] = true, -- Siegecrafter Blackfuse
+    [71152] = true, -- Skeer the Bloodseeker (Paragons of the Klaxxi encounter)
+    [71153] = true, -- Hisek the Swarmkeeper (Paragons of the Klaxxi encounter)
+    [71154] = true, -- Ka'roz the Locust (Paragons of the Klaxxi encounter)
+    [71155] = true, -- Korven the Prime (Paragons of the Klaxxi encounter)
+    [71156] = true, -- Kaz'tik the Manipulator (Paragons of the Klaxxi encounter)
+    [71157] = true, -- Xaril the Poisoned Mind (Paragons of the Klaxxi encounter)
+    [71158] = true, -- Rik'kal the Dissector (Paragons of the Klaxxi encounter)
+    [71160] = true, -- Iyyokuk the Lucid (Paragons of the Klaxxi encounter)
+    [71161] = true, -- Kil'ruk the Wind-Reaver (Paragons of the Klaxxi encounter)
+    [71865] = true, -- Garrosh Hellscream
 }
 
 
@@ -157,4 +203,89 @@
     [62346] = true, -- Galleon
     [69099] = true, -- Nalak
     [69161] = true, -- Oondasta
+    [71952] = true, -- Chi-Ji
+    [71953] = true, -- Xuen
+    [71954] = true, -- Niuzao
+    [71955] = true, -- Yu'lon
+    [72057] = true, -- Ordos
 }
+
+
+private.RAID_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = {
+    -----------------------------------------------------------------------
+    -- Mogu'shan Vaults
+    -----------------------------------------------------------------------
+    [125144] = 59915, -- Stone Guard Bonus (Jasper Guardian)
+    [132189] = 60009, -- Feng the Accursed Bonus (Feng the Accursed)
+    [132190] = 60143, -- Gara'jal the Spiritbinder Bonus (Gara'jal the Spiritbinder)
+    [132191] = 60709, -- Spirit Kings Bonus (Qiang the Merciless)
+    [132192] = 60410, -- Elegon Bonus (Elegon)
+    [132193] = 60399, -- Will of the Emperor Bonus (Qin-xi)
+
+    -----------------------------------------------------------------------
+    -- Terrace of Endless Spring
+    -----------------------------------------------------------------------
+    [132200] = 60583, -- Protectors of the Endless Bonus (Protector Kaolan)
+    [132204] = 60583, -- Protectors of the Endless (Elite) Bonus (Protector Kaolan)
+    [132201] = 62442, -- Tsulong Bonus (Tsulong)
+    [132202] = 62983, -- Lei Shi Bonus (Lei Shi)
+    [132203] = 60999, -- Sha of Fear Bonus (Sha of Fear)
+
+    -----------------------------------------------------------------------
+    -- Heart of Fear
+    -----------------------------------------------------------------------
+    [132194] = 62980, -- Imperial Vizier Zor'lok Bonus (Imperial Vizier Zor'lok)
+    [132195] = 62543, -- Blade Lord Tay'ak Bonus (Blade Lord Ta'yak)
+    [132196] = 62164, -- Garalon Bonus (Garalon)
+    [132197] = 62397, -- Wind Lord Mel'jarak Bonus (Wind Lord Mel'jarak)
+    [132198] = 62511, -- Amber-Shaper Un'sok Bonus (Amber-Shaper Un'sok)
+    [132199] = 62837, -- Grand Empress Shek'zeer Bonus (Grand Empress Shek'zeer)
+
+    -----------------------------------------------------------------------
+    -- Throne of Thunder
+    -----------------------------------------------------------------------
+    [139674] = 69465, -- Jin'rokh the Breaker Bonus (Jin'rokh the Breaker)
+    [139677] = 68476, -- Horridon Bonus (Horridon)
+    [139679] = 69078, -- Zandalari Troll Council Bonus (Sul the Sandcrawler)
+    [139680] = 67977, -- Tortos Bonus (Tortos)
+    [139682] = 68065, -- Magaera Bonus (Megaera)
+    [139684] = 69712, -- Ji'kun, the Ancient Mother Bonus (Ji-Kun)
+    [139686] = 68036, -- Durumu the Forgotten Bonus (Durumu the Forgotten)
+    [139687] = 69017, -- Primordious Bonus (Primordius)
+    [139688] = 69427, -- Dark Animus Bonus (Dark Animus)
+    [139689] = 68078, -- Iron Qon Bonus (Iron Qon)
+    [139690] = 68904, -- The Empyreal Queens Bonus (Suen)
+    [139691] = 68397, -- Lei Shen, The Thunder King Bonus (Lei Shen)
+    [139692] = 69473, -- Ra-den Bonus (Ra-den)
+
+    -----------------------------------------------------------------------
+    -- Siege of Orgrimmar
+    -----------------------------------------------------------------------
+    [145909] = 71543, -- Immerseus Bonus (Immerseus)
+    [145910] = 71475, -- Fallen Protectors Bonus (Rook Stonetoe)
+    [145911] = 72276, -- Norushen Bonus (Amalgam of Corruption)
+    [145912] = 71734, -- Sha of Pride Bonus (Sha of Pride)
+    [145913] = 72249, -- Galakras Bonus (Galakras)
+    [145914] = 71466, -- Iron Juggernaut Bonus (Iron Juggernaut)
+    [145915] = 71859, -- Dark Shaman Bonus (Earthbreaker Haromm)
+    [145916] = 71515, -- General Nazgrim Bonus (General Nazgrim)
+    [145917] = 71454, -- Malkorok Bonus (Malkorok)
+    [145919] = 71889, -- Spoils of Pandaria Bonus (Secured Stockpile of Pandaren Spoils)
+    [145920] = 71529, -- Thok the Bloodthirsty Bonus (Thok the Bloodthirsty)
+    [145918] = 71504, -- Siegecrafter Blackfuse Bonus (Siegecrafter Blackfuse)
+    [145921] = 71161, -- Klaxxi Paragons Bonus (Kil'ruk the Wind-Reaver)
+    [145922] = 71865, -- Garrosh Hellscream Bonus (Garrosh Hellscream)
+}
+
+
+private.WORLD_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = {
+    [132205] = 60491, -- Sha of Anger Bonus (Sha of Anger)
+    [132206] = 62346, -- Galleon Bonus (Galleon)
+    [136381] = 69099, -- Nalak Bonus (Nalak)
+    [137554] = 69161, -- Oondasta Bonus (Oondasta)
+    --[NYI] = 71952, -- Chi-Ji
+    --[NYI] = 71953, -- Xuen
+    --[NYI] = 71954, -- Niuzao
+    --[NYI] = 71955, -- Yu'lon
+    --[NYI] = 72057, -- Ordos
+}