Advertisement
Zerewa

Untitled

Feb 20th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.00 KB | None | 0 0
  1. -- Based on Skada's Healing.lua, Overhealing.lua, TotalHealing.lua, Absorbs.lua
  2. -- Depends upon SkadaHealing and replaces SkadaAborbs module
  3.  
  4. -- NOTE: have to disable SkadaAbsorbs currently or both addons will double count absorbs
  5.  
  6. local L = LibStub("AceLocale-3.0"):GetLocale("SkadaHealAbsorbs", false)
  7.  
  8. local Skada = Skada
  9.  
  10. -- hacked out local crap here
  11. local mod = Skada:NewModule("Healing and Absorbs")
  12. local spellsmod = Skada:NewModule("Healing and Absorbs spell list")
  13. local healedmod = Skada:NewModule("Healed and Absorbed players")
  14.  
  15.  
  16. -- This bit shamelessly copied straight from RecountGuessedAbsorbs - thanks!
  17. local AbsorbSpellDuration =
  18. {
  19.     -- Death Knight
  20.     [48707] = 5, -- Anti-Magic Shell (DK) Rank 1 -- Does not currently seem to show tracable combat log events. It shows energizes which do not reveal the amount of damage absorbed
  21.     [51052] = 10, -- Anti-Magic Zone (DK)( Rank 1 (Correct spellID?)
  22.         -- Does DK Spell Deflection show absorbs in the CL?
  23.     [51271] = 20, -- Unbreakable Armor (DK)
  24.     [77535] = 10, -- Blood Shield (DK)
  25.     -- Druid
  26.     [62606] = 10, -- Savage Defense proc. (Druid) Tooltip of the original spell doesn't clearly state that this is an absorb, but the buff does.
  27.     -- Mage
  28.     [11426] = 60, -- Ice Barrier (Mage) Rank 1
  29.     [13031] = 60,
  30.     [13032] = 60,
  31.     [13033] = 60,
  32.     [27134] = 60,
  33.     [33405] = 60,
  34.     [43038] = 60,
  35.     [43039] = 60, -- Rank 8
  36.     [6143] = 30, -- Frost Ward (Mage) Rank 1
  37.     [8461] = 30,
  38.     [8462] = 30,  
  39.     [10177] = 30,  
  40.     [28609] = 30,
  41.     [32796] = 30,
  42.     [43012] = 30, -- Rank 7
  43.     [1463] = 60, --  Mana shield (Mage) Rank 1
  44.     [8494] = 60,
  45.     [8495] = 60,
  46.     [10191] = 60,
  47.     [10192] = 60,
  48.     [10193] = 60,
  49.     [27131] = 60,
  50.     [43019] = 60,
  51.     [43020] = 60, -- Rank 9
  52.     [543] = 30 , -- Fire Ward (Mage) Rank 1
  53.     [8457] = 30,
  54.     [8458] = 30,
  55.     [10223] = 30,
  56.     [10225] = 30,
  57.     [27128] = 30,
  58.     [43010] = 30, -- Rank 7
  59.     -- Paladin
  60.     [58597] = 6, -- Sacred Shield (Paladin) proc (Fixed, thanks to Julith)
  61.     [86273] = 6, -- Illuminated Healing
  62.     [88063] = 6, -- Guarded by the Light
  63.     -- Priest
  64.     [17] = 30, -- Power Word: Shield (Priest) Rank 1
  65.     [592] = 30,
  66.     [600] = 30,
  67.     [3747] = 30,
  68.     [6065] = 30,
  69.     [6066] = 30,
  70.     [10898] = 30,
  71.     [10899] = 30,
  72.     [10900] = 30,
  73.     [10901] = 30,
  74.     [25217] = 30,
  75.     [25218] = 30,
  76.     [48065] = 30,
  77.     [48066] = 30, -- Rank 14
  78.     [47509] = 12, -- Divine Aegis (Priest) Rank 1
  79.     [47511] = 12,
  80.     [47515] = 12, -- Divine Aegis (Priest) Rank 3 (Some of these are not actual buff spellIDs)
  81.     [47753] = 12, -- Divine Aegis (Priest) Rank 1
  82.     [54704] = 12, -- Divine Aegis (Priest) Rank 1
  83.     [47788] = 10, -- Guardian Spirit  (Priest) (50 nominal absorb, this may not show in the CL)
  84.     [62618] = 25, -- Power Word: Barrier
  85.     [81781] = 25,
  86.     -- Warlock
  87.     [7812] = 30, -- Sacrifice (warlock) Rank 1
  88.     [19438] = 30,
  89.     [19440] = 30,
  90.     [19441] = 30,
  91.     [19442] = 30,
  92.     [19443] = 30,
  93.     [27273] = 30,
  94.     [47985] = 30,
  95.     [47986] = 30, -- rank 9
  96.     [6229] = 30, -- Shadow Ward (warlock) Rank 1
  97.     [11739] = 30,
  98.     [11740] = 30,
  99.     [28610] = 30,
  100.     [47890] = 30,
  101.     [47891] = 30, -- Rank 6
  102.     -- Consumables
  103.     [29674] = 86400, -- Lesser Ward of Shielding
  104.     [29719] = 86400, -- Greater Ward of Shielding (these have infinite duration, set for a day here :P)
  105.     [29701] = 86400,
  106.     [28538] = 120, -- Major Holy Protection Potion
  107.     [28537] = 120, -- Major Shadow
  108.     [28536] = 120, --  Major Arcane
  109.     [28513] = 120, -- Major Nature
  110.     [28512] = 120, -- Major Frost
  111.     [28511] = 120, -- Major Fire
  112.     [7233] = 120, -- Fire
  113.     [7239] = 120, -- Frost
  114.     [7242] = 120, -- Shadow Protection Potion
  115.     [7245] = 120, -- Holy
  116.     [6052] = 120, -- Nature Protection Potion
  117.     [53915] = 120, -- Mighty Shadow Protection Potion
  118.     [53914] = 120, -- Mighty Nature Protection Potion
  119.     [53913] = 120, -- Mighty Frost Protection Potion
  120.     [53911] = 120, -- Mighty Fire
  121.     [53910] = 120, -- Mighty Arcane
  122.     [17548] = 120, --  Greater Shadow
  123.     [17546] = 120, -- Greater Nature
  124.     [17545] = 120, -- Greater Holy
  125.     [17544] = 120, -- Greater Frost
  126.     [17543] = 120, -- Greater Fire
  127.     [17549] = 120, -- Greater Arcane
  128.     [28527] = 15, -- Fel Blossom
  129.     [29432] = 3600, -- Frozen Rune usage (Naxx classic)
  130.     -- Item usage
  131.     [36481] = 4, -- Arcane Barrier (TK Kael'Thas) Shield
  132.     [57350] = 6, -- Darkmoon Card: Illusion
  133.     [17252] = 30, -- Mark of the Dragon Lord (LBRS epic ring) usage
  134.     [25750] = 15, -- Defiler's Talisman/Talisman of Arathor Rank 1
  135.     [25747] = 15,
  136.     [25746] = 15,
  137.     [23991] = 15,
  138.     [31000] = 300, -- Pendant of Shadow's End Usage
  139.     [30997] = 300, -- Pendant of Frozen Flame Usage
  140.     [31002] = 300, -- Pendant of the Null Rune
  141.     [30999] = 300, -- Pendant of Withering
  142.     [30994] = 300, -- Pendant of Thawing
  143.     [31000] = 300, --
  144.     [23506]= 20, -- Arena Grand Master Usage (Aura of Protection)
  145.     [12561] = 60, -- Goblin Construction Helmet usage
  146.     [31771] = 20, -- Runed Fungalcap usage
  147.     [21956] = 10, -- Mark of Resolution usage
  148.     [29506] = 20, -- The Burrower's Shell
  149.     [4057] = 60, -- Flame Deflector
  150.     [4077] = 60, -- Ice Deflector
  151.     [39228] = 20, -- Argussian Compass (may not be an actual absorb)
  152.     -- Item procs
  153.     [27779] = 30, -- Divine Protection - Priest dungeon set 1/2  Proc
  154.     [11657] = 20, -- Jang'thraze (Zul Farrak) proc
  155.     [10368] = 15, -- Uther's Strength proc
  156.     [37515] = 15, -- Warbringer Armor Proc
  157.     [42137] = 86400, -- Greater Rune of Warding Proc
  158.     [26467] = 30, -- Scarab Brooch proc
  159.     [26470] = 8, -- Scarab Brooch proc (actual)
  160.     [27539] = 6, -- Thick Obsidian Breatplate proc
  161.     [28810] = 30, -- Faith Set Proc Armor of Faith
  162.     [54808] = 12, -- Noise Machine proc Sonic Shield
  163.     [55019] = 12, -- Sonic Shield (one of these too ought to be wrong)
  164.     [64411] = 15, -- Blessing of the Ancient (Val'anyr Hammer of Ancient Kings equip effect)
  165.     [64413] = 8, -- Val'anyr, Hammer of Ancient Kings proc Protection of Ancient Kings
  166.     -- Misc
  167.     [40322] = 30, -- Teron's Vengeful Spirit Ghost - Spirit Shield
  168.     -- Boss abilities
  169.     [65874] = 15, -- Twin Val'kyr's Shield of Darkness 175000
  170.     [67257] = 15, -- 300000
  171.     [67256] = 15, -- 700000
  172.     [67258] = 15, -- 1200000
  173.     [65858] = 15, -- Twin Val'kyr's Shield of Lights 175000
  174.     [67260] = 15, -- 300000
  175.     [67259] = 15, -- 700000
  176.     [67261] = 15, -- 1200000
  177. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement