PageRenderTime 85ms CodeModel.GetById 40ms app.highlight 14ms RepoModel.GetById 27ms app.codeStats 0ms

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