/Tukui/modules/nameplates/raid.lua

http://github.com/Asphyxia/Tukui · Lua · 280 lines · 174 code · 36 blank · 70 comment · 0 complexity · d0128fa06f27af3573db93fedce40e29 MD5 · raw file

  1. local T, C, L, DB = unpack(select(2, ...)) -- Import Functions/Constants, Config, Locales
  2. local function SpellName(id)
  3. local name, _, _, _, _, _, _, _, _ = GetSpellInfo(id)
  4. return name
  5. end
  6. --[[
  7. This file is for adding of deleting a spellID.
  8. The best way to add or delete spell is to go at www.wowhead.com, search for a spell :
  9. Example : Incinerate Flesh from Lord Jaraxxus -> http://www.wowhead.com/?spell=67049
  10. Take the number ID at the end of the URL, and add it to the list
  11. That's it, That's all!
  12. Elv
  13. ]]--
  14. --List of spells to display ticks
  15. T.ChannelTicks = {
  16. --Warlock
  17. [SpellName(689)] = 3, -- "Drain Life"
  18. [SpellName(5740)] = 4, -- "Rain of Fire"
  19. [SpellName(755)] = 3, -- Health Funnel
  20. --Druid
  21. [SpellName(44203)] = 4, -- "Tranquility"
  22. [SpellName(16914)] = 10, -- "Hurricane"
  23. --Priest
  24. [SpellName(15407)] = 3, -- "Mind Flay"
  25. [SpellName(48045)] = 5, -- "Mind Sear"
  26. [SpellName(47540)] = 2, -- "Penance"
  27. --Mage
  28. [SpellName(5143)] = 5, -- "Arcane Missiles"
  29. [SpellName(10)] = 5, -- "Blizzard"
  30. [SpellName(12051)] = 4, -- "Evocation"
  31. }
  32. --List of buffs to watch for on arena frames
  33. T.ArenaBuffWhiteList = {
  34. -- Buffs
  35. [SpellName(1022)] = true, --hop
  36. [SpellName(12051)] = true, --evoc
  37. [SpellName(2825)] = true, --BL
  38. [SpellName(32182)] = true, --Heroism
  39. [SpellName(33206)] = true, --Pain Suppression
  40. [SpellName(29166)] = true, --Innervate
  41. [SpellName(18708)] = true, --"Fel Domination"
  42. [SpellName(54428)] = true, --divine plea
  43. [SpellName(31821)] = true, -- aura mastery
  44. -- Turtling abilities
  45. [SpellName(871)] = true, --Shield Wall
  46. [SpellName(48707)] = true, --"Anti-Magic Shell"
  47. [SpellName(31224)] = true, -- cloak of shadows
  48. [SpellName(19263)] = true, -- deterance
  49. [SpellName(47585)] = true, -- Dispersion
  50. -- Immunities
  51. [SpellName(45438)] = true, -- ice Brock
  52. [SpellName(642)] = true, -- pally bubble from hell
  53. -- Offensive Shit
  54. [SpellName(31884)] = true, -- Avenging Wrath
  55. [SpellName(34471)] = true, -- beast within
  56. [SpellName(85696)] = true, -- Zealotry
  57. [SpellName(467)] = true, -- Thorns
  58. }
  59. -- Target/Arena Frames/ Nameplates use these
  60. T.DebuffWhiteList = {
  61. -- Death Knight
  62. [SpellName(47476)] = true, --strangulate
  63. [SpellName(49203)] = true, --hungering cold
  64. -- Druid
  65. [SpellName(33786)] = true, --Cyclone
  66. [SpellName(2637)] = true, --Hibernate
  67. [SpellName(339)] = true, --Entangling Roots
  68. [SpellName(80964)] = true, --Skull Bash
  69. [SpellName(78675)] = true, --Solar Beam
  70. -- Hunter
  71. [SpellName(3355)] = true, --Freezing Trap Effect
  72. --[SpellName(60210)] = true, --Freezing Arrow Effect
  73. [SpellName(1513)] = true, --scare beast
  74. [SpellName(19503)] = true, --scatter shot
  75. [SpellName(34490)] = true, --silence shot
  76. -- Mage
  77. [SpellName(31661)] = true, --Dragon's Breath
  78. [SpellName(61305)] = true, --Polymorph
  79. [SpellName(18469)] = true, --Silenced - Improved Counterspell
  80. [SpellName(122)] = true, --Frost Nova
  81. [SpellName(55080)] = true, --Shattered Barrier
  82. [SpellName(82691)] = true, --Ring of Frost
  83. -- Paladin
  84. [SpellName(20066)] = true, --Repentance
  85. [SpellName(10326)] = true, --Turn Evil
  86. [SpellName(853)] = true, --Hammer of Justice
  87. -- Priest
  88. [SpellName(605)] = true, --Mind Control
  89. [SpellName(64044)] = true, --Psychic Horror
  90. [SpellName(8122)] = true, --Psychic Scream
  91. [SpellName(9484)] = true, --Shackle Undead
  92. [SpellName(15487)] = true, --Silence
  93. -- Rogue
  94. [SpellName(2094)] = true, --Blind
  95. [SpellName(1776)] = true, --Gouge
  96. [SpellName(6770)] = true, --Sap
  97. [SpellName(18425)] = true, --Silenced - Improved Kick
  98. -- Shaman
  99. [SpellName(51514)] = true, --Hex
  100. [SpellName(3600)] = true, --Earthbind
  101. [SpellName(8056)] = true, --Frost Shock
  102. [SpellName(63685)] = true, --Freeze
  103. [SpellName(39796)] = true, --Stoneclaw Stun
  104. -- Warlock
  105. [SpellName(710)] = true, --Banish
  106. [SpellName(6789)] = true, --Death Coil
  107. [SpellName(5782)] = true, --Fear
  108. [SpellName(5484)] = true, --Howl of Terror
  109. [SpellName(6358)] = true, --Seduction
  110. [SpellName(30283)] = true, --Shadowfury
  111. [SpellName(89605)] = true, --Aura of Foreboding
  112. -- Warrior
  113. [SpellName(20511)] = true, --Intimidating Shout
  114. -- Racial
  115. [SpellName(25046)] = true, --Arcane Torrent
  116. [SpellName(20549)] = true, --War Stomp
  117. --PVE
  118. }
  119. --List of debuffs for targetframe for pvp only (when inside a bg/arena
  120. --We do this because in PVE Situations we don't want to see these debuffs on our target frame, arena frames will always show these.
  121. T.TargetPVPOnly = {
  122. [SpellName(34438)] = true, --UA
  123. [SpellName(34914)] = true, --VT
  124. [SpellName(31935)] = true, --avengers shield
  125. [SpellName(63529)] = true, --shield of the templar
  126. [SpellName(19386)] = true, --wyvern sting
  127. [SpellName(116)] = true, --frostbolt
  128. [SpellName(58179)] = true, --infected wounds
  129. [SpellName(18223)] = true, -- curse of exhaustion
  130. [SpellName(18118)] = true, --aftermath
  131. [SpellName(31589)] = true, --Slow
  132. --not sure if this one belongs here but i do know frost pve uses this
  133. [SpellName(44572)] = true, --deep freeze
  134. }
  135. -- Debuffs to always hide
  136. -- DPS Raid vertical frames use this. Player, TargetTarget, Focus always use it.
  137. T.DebuffBlacklist = {
  138. [SpellName(8733)] = true, --Blessing of Blackfathom
  139. [SpellName(57724)] = true, --Sated
  140. [SpellName(25771)] = true, --forbearance
  141. [SpellName(57723)] = true, --Exhaustion
  142. [SpellName(36032)] = true, --arcane blast
  143. [SpellName(58539)] = true, --watchers corpse
  144. [SpellName(26013)] = true, --deserter
  145. [SpellName(6788)] = true, --weakended soul
  146. [SpellName(71041)] = true, --dungeon deserter
  147. [SpellName(41425)] = true, --"Hypothermia"
  148. [SpellName(55711)] = true, --Weakened Heart
  149. [SpellName(8326)] = true, --ghost
  150. [SpellName(23445)] = true, --evil twin
  151. [SpellName(24755)] = true, --gay homosexual tricked or treated debuff
  152. [SpellName(25163)] = true, --fucking annoying pet debuff oozeling disgusting aura
  153. [SpellName(80354)] = true, --timewarp debuff
  154. [SpellName(95223)] = true, --group res debuff
  155. }
  156. --RAID DEBUFFS
  157. T.RaidDebuffs = {
  158. -- Other debuff
  159. [SpellName(67479)] = true, -- Impale
  160. --Blackwing Descent
  161. --Magmaw
  162. [SpellName(91911)] = true, -- Constricting Chains
  163. [SpellName(94679)] = true, -- Parasitic Infection
  164. [SpellName(94617)] = true, -- Mangle
  165. [SpellName(78199)] = true, -- Sweltering Armor
  166. --Omintron Defense System
  167. [SpellName(91433)] = true, --Lightning Conductor
  168. [SpellName(91521)] = true, --Incineration Security Measure
  169. [SpellName(80094)] = true, --Fixate
  170. --Maloriak
  171. [SpellName(77699)] = true, -- Flash Freeze
  172. [SpellName(77760)] = true, -- Biting Chill
  173. --Atramedes
  174. [SpellName(92423)] = true, -- Searing Flame
  175. [SpellName(92485)] = true, -- Roaring Flame
  176. [SpellName(92407)] = true, -- Sonic Breath
  177. --Chimaeron
  178. [SpellName(82881)] = true, -- Break
  179. [SpellName(89084)] = true, -- Low Health
  180. --Nefarian
  181. --Sinestra
  182. [SpellName(92956)] = true, --Wrack
  183. --The Bastion of Twilight
  184. --Valiona & Theralion
  185. [SpellName(92878)] = true, -- Blackout
  186. [SpellName(86840)] = true, -- Devouring Flames
  187. [SpellName(95639)] = true, -- Engulfing Magic
  188. [SpellName(93051)] = true, -- Twilight Shift
  189. [SpellName(92886)] = true, -- Twilight Zone
  190. [SpellName(88518)] = true, -- Twilight Meteorite
  191. --Halfus Wyrmbreaker
  192. [SpellName(39171)] = true, -- Malevolent Strikes
  193. --Twilight Ascendant Council
  194. [SpellName(92511)] = true, -- Hydro Lance
  195. [SpellName(82762)] = true, -- Waterlogged
  196. [SpellName(92505)] = true, -- Frozen
  197. [SpellName(92518)] = true, -- Flame Torrent
  198. [SpellName(83099)] = true, -- Lightning Rod
  199. [SpellName(92075)] = true, -- Gravity Core
  200. [SpellName(92488)] = true, -- Gravity Crush
  201. --Cho'gall
  202. [SpellName(86028)] = true, -- Cho's Blast
  203. [SpellName(86029)] = true, -- Gall's Blast
  204. --Throne of the Four Winds
  205. --Conclave of Wind
  206. --Nezir <Lord of the North Wind>
  207. [SpellName(93131)] = true, --Ice Patch
  208. --Anshal <Lord of the West Wind>
  209. [SpellName(86206)] = true, --Soothing Breeze
  210. [SpellName(93122)] = true, --Toxic Spores
  211. --Rohash <Lord of the East Wind>
  212. [SpellName(93058)] = true, --Slicing Gale
  213. --Al'Akir
  214. [SpellName(93260)] = true, -- Ice Storm
  215. [SpellName(93295)] = true, -- Lightning Rod
  216. --Firelands
  217. --Beth'tilac
  218. [SpellName(99506)] = true, -- Widows Kiss
  219. --Alysrazor
  220. [SpellName(101296)] = true, -- Fiero Blast
  221. [SpellName(100723)] = true, -- Gushing Wound
  222. --Shannox
  223. [SpellName(99837)] = true, -- Crystal Prison
  224. [SpellName(99937)] = true, -- Jagged Tear
  225. --Baleroc
  226. [SpellName(99403)] = true, -- Tormented
  227. --Lord Rhyolith
  228. --<< NONE KNOWN YET >>
  229. --Majordomo Staghelm
  230. [SpellName(98450)] = true, -- Searing Seeds
  231. --Ragnaros
  232. [SpellName(99399)] = true, -- Burning Wound
  233. --Trash
  234. [SpellName(99532)] = true, -- Melt Armor
  235. }
  236. T.ReverseTimer = {
  237. [92956] = true, -- Sinestra (Wrack)
  238. [89435] = true, -- Sinestra (Wrack)
  239. [92955] = true, -- Sinestra (Wrack)
  240. [89421] = true, -- Sinestra (Wrack)
  241. }