[Suggestion] Glow for duration of CDs with code example.
Madsvittrup opened this issue · 3 comments
I made a personal adjustment for my omnibar based on my own addon that I made where I just add timers to each ability for glow and add the Glow library:
local LCG = LibStub("LibCustomGlow-1.0")
local rc = LibStub("LibRangeCheck-2.0")
At the top ^
Then I defined a table:
OmniBar_iconDisplayDurations = {
[336126] = 3, -- // Медальон гладиатора https://www.wowhead.com/spell=336126
[42292] = 3, -- // PvP-аксессуар https://www.wowhead.com/spell=42292
[283167] = 3, -- // Адаптация https://www.wowhead.com/spell=283167
[28730] = 3, -- // Arcane Torrent https://www.wowhead.com/spell=28730
[50613] = 3, -- // Arcane Torrent https://www.wowhead.com/spell=50613
[80483] = 3, -- // Arcane Torrent https://www.wowhead.com/spell=80483
[25046] = 3, -- // Arcane Torrent https://www.wowhead.com/spell=25046
[69179] = 3, -- // Arcane Torrent https://www.wowhead.com/spell=69179
[20572] = 3, -- // Blood Fury https://www.wowhead.com/spell=20572
[33702] = 3, -- // Blood Fury https://www.wowhead.com/spell=33702
[33697] = 3, -- // Blood Fury https://www.wowhead.com/spell=33697
[59543] = 3, -- // Gift of the Naaru https://www.wowhead.com/spell=59543
[69070] = 3, -- // Rocket Jump https://www.wowhead.com/spell=69070
[26297] = 3, -- // Berserking https://www.wowhead.com/spell=26297
[20594] = 8, -- // Stoneform https://www.wowhead.com/spell=20594
[58984] = 2, -- // Shadowmeld https://www.wowhead.com/spell=58984
[20589] = 3, -- // Escape Artist https://www.wowhead.com/spell=20589
[59752] = 3, -- // Every Man for Himself https://www.wowhead.com/spell=59752
[7744] = 3, -- // Will of the Forsaken https://www.wowhead.com/spell=7744
[68992] = 3, -- // Darkflight https://www.wowhead.com/spell=68992
[69041] = 3, -- // Rocket Barrage https://www.wowhead.com/spell=69041
[265221] = 3, -- // Fireblood https://www.wowhead.com/spell=265221/fireblood
[53271] = 3, -- // Master's Call https://wowhead.com/spell=53271
[308491] = 3, -- Resonating Arrow https://www.wowhead.com/spell=308491/resonating-arrow
[186265] = 8, -- Aspect of the Turtle https://www.wowhead.com/spell=186265
[187650] = 5, -- Freezing Trap https://www.wowhead.com/spell=187650
[5384] = 2, -- Feign Death https://www.wowhead.com/spell=5384
[186257] = 3, -- Aspect of the Cheetah https://www.wowhead.com/spell=186257
[1543] = 3, -- Flare https://www.wowhead.com/spell=1543
[109304] = 3, -- Exhilaration https://www.wowhead.com/spell=109304
[781] = 2, -- Disengage https://www.wowhead.com/spell=781
[288613] = 15, -- Trueshot https://www.wowhead.com/spell=288613
[212431] = 3, -- Explosive Shot https://www.wowhead.com/spell=212431
[199483] = 2, -- Camouflage https://www.wowhead.com/spell=199483
[147362] = 2, -- Counter Shot https://www.wowhead.com/spell=147362
[19574] = 15, -- Bestial Wrath https://www.wowhead.com/spell=19574
[264735] = 5, -- Survival of the Fittest https://www.wowhead.com/spell=264735
[109248] = 3, -- Binding Shot https://www.wowhead.com/spell=109248
[213691] = 2, -- Scatter Shot https://www.wowhead.com/spell=213691
[236776] = 3, -- High Explosive Trap https://www.wowhead.com/spell=236776
[201430] = 3, -- Stampede https://www.wowhead.com/spell=201430
[19577] = 3, -- Intimidation https://www.wowhead.com/spell=19577
[359844] = 15, -- Call of the Wild https://www.wowhead.com/spell=359844
[186387] = 2, -- Bursting Shot https://www.wowhead.com/spell=186387
[190925] = 2, -- Harpoon https://www.wowhead.com/spell=190925
[187707] = 2, -- Muzzle https://www.wowhead.com/spell=187707
[205691] = 2, -- Dire Beast: Basilisk https://www.wowhead.com/spell=205691
[356719] = 2, -- Chimaeral Sting https://www.wowhead.com/spell=356719
[53480] = 12, -- Roar of Sacrifice https://www.wowhead.com/spell=53480
[212638] = 3, -- Tracker's Net https://www.wowhead.com/spell=212638
[375891] = 3, -- Death Chakram https://www.wowhead.com/spell=375891
[48020] = 3, -- Demonic Circle: Teleport https://www.wowhead.com/spell=48020
[104773] = 3, -- Unending Resolve https://www.wowhead.com/spell=104773
[19647] = 3, -- Spell Lock https://www.wowhead.com/spell=19647
[132409] = 3, -- Spell Lock (demon sacrificed) https://www.wowhead.com/spell=132409
[89766] = 3, -- Axe Toss" https://www.wowhead.com/spell=89766
[115781] = 3, -- Optical Blast https://www.wowhead.com/spell=115781
[325640] = 3, -- Soul Rot https://www.wowhead.com/spell=325640/soul-rot
[80240] = 3, -- Havoc https://www.wowhead.com/spell=80240/havoc
[265187] = 15, -- Summon Demonic Tyrant https://www.wowhead.com/spell=265187
[267217] = 15, -- Nether Portal https://www.wowhead.com/spell=267217
[1122] = 2, -- Summon Infernal https://www.wowhead.com/spell=1122
[6789] = 3, -- Mortal Coil https://www.wowhead.com/spell=6789
[108416] = 20, -- Dark Pact https://www.wowhead.com/spell=108416
[111898] = 5, -- Grimoire: Felguard https://www.wowhead.com/spell=111898
[30283] = 3, -- Shadowfury https://www.wowhead.com/spell=30283
[113860] = 3, -- Dark Soul: Misery https://www.wowhead.com/spell=113860
[5484] = 3, -- Howl of Terror https://www.wowhead.com/spell=5484
[113858] = 3, -- Dark Soul: Instability https://www.wowhead.com/spell=113858
[212295] = 3, -- Nether Ward https://www.wowhead.com/spell=212295
[353601] = 3, -- Fel Obelisk https://www.wowhead.com/spell=353601
[221703] = 3, -- Casting Circle https://www.wowhead.com/spell=221703
[212619] = 3, -- Call Felhunter https://www.wowhead.com/spell=212619
[353294] = 3, -- Shadow Rift https://www.wowhead.com/spell=353294
[212459] = 3, -- Call Fel Lord https://www.wowhead.com/spell=212459
[122] = 3, -- Frost Nova https://www.wowhead.com/spell=122
[1953] = 3, -- Blink https://www.wowhead.com/spell=1953
[45438] = 10, -- Ice Block https://www.wowhead.com/spell=45438
[2139] = 3, -- Counterspell https://www.wowhead.com/spell=2139
[12042] = 3, -- Arcane Power https://www.wowhead.com/spell=12042
[195676] = 3, -- Displacement https://www.wowhead.com/spell=195676
[110959] = 3, -- Greater Invisibility https://www.wowhead.com/spell=110959
[31661] = 3, -- Dragon's Breath https://www.wowhead.com/spell=31661
[84714] = 3, -- Frozen Orb https://www.wowhead.com/spell=84714
[12472] = 20, -- Icy Veins https://www.wowhead.com/spell=12472
[157980] = 3, -- Supernova https://www.wowhead.com/spell=157980
[55342] = 3, -- Зеркальное изображение https://www.wowhead.com/spell=55342
[108978] = 3, -- Манипуляции со временем https://www.wowhead.com/spell=108978
[113724] = 3, -- Кольцо мороза https://www.wowhead.com/spell=113724
[307443] = 3, -- Radiant Spark https://www.wowhead.com/spell=307443/radiant-spark
[365350] = 3, -- Arcane Surge https://www.wowhead.com/spell=365350
[190319] = 10, -- Combustion https://www.wowhead.com/spell=190319
[12051] = 3, -- Evocation https://www.wowhead.com/spell=12051
[157997] = 3, -- Ice Nova https://www.wowhead.com/spell=157997
[212653] = 3, -- Shimmer https://www.wowhead.com/spell=212653
[11426] = 3, -- Ice Barrier https://www.wowhead.com/spell=11426
[157981] = 3, -- Blast Wave https://www.wowhead.com/spell=157981
[342245] = 3, -- Alter Time https://www.wowhead.com/spell=342245
[235219] = 3, -- Cold Snap https://www.wowhead.com/spell=235219
[66] = 3, -- Invisibility https://www.wowhead.com/spell=66
[383121] = 3, -- Mass Polymorph https://www.wowhead.com/spell=383121
[389713] = 3, -- Displacement https://www.wowhead.com/spell=389713
[353082] = 3, -- Ring of Fire https://www.wowhead.com/spell=353082
[389794] = 3, -- Snowdrift https://www.wowhead.com/spell=389794
[198111] = 3, -- Temporal Shield https://www.wowhead.com/spell=198111
[352278] = 3, -- Ice Wall https://www.wowhead.com/spell=352278
[198158] = 3, -- Mass Invisibility https://www.wowhead.com/spell=198158
[198144] = 3, -- Ice Form https://www.wowhead.com/spell=198144
[91802] = 3, -- Shambling Rush https://www.wowhead.com/spell=91802
[275699] = 3, -- Апокалипсис https://www.wowhead.com/spell=275699
[48265] = 3, -- Death's Advance https://www.wowhead.com/spell=48265
[49576] = 3, -- Death Grip https://www.wowhead.com/spell=49576
[49039] = 3, -- Перерождение https://www.wowhead.com/spell=49039
[51052] = 8, -- Anti-Magic Zone https://www.wowhead.com/spell=51052
[42650] = 3, -- Army of the Dead https://www.wowhead.com/spell=42650
[49206] = 3, -- Summon Gargoyle https://www.wowhead.com/spell=49206
[212552] = 3, -- Wraith Walk https://www.wowhead.com/spell=212552
[49028] = 3, -- Dancing Rune Weapon https://www.wowhead.com/spell=49028
[207289] = 20, -- Unholy Assault https://www.wowhead.com/spell=207289
[108194] = 3, -- Asphyxiate https://www.wowhead.com/spell=108194
[221562] = 3, -- Asphyxiate https://www.wowhead.com/spell=221562
[108199] = 3, -- Gorefiend's Grasp https://www.wowhead.com/spell=108199
[114556] = 3, -- Purgatory https://www.wowhead.com/spell=114556
[207167] = 3, -- Blinding Sleet https://www.wowhead.com/spell=207167
[48792] = 3, -- Icebound Fortitude https://www.wowhead.com/spell=48792
[48707] = 5, -- Anti-Magic Shell https://www.wowhead.com/spell=48707
[383269] = 3, -- Abomination Limb https://www.wowhead.com/spell=383269
[47528] = 3, -- Mind Freeze https://www.wowhead.com/spell=47528
[55233] = 3, -- Vampiric Blood https://www.wowhead.com/spell=55233
[392962] = 3, -- Empower Rune Weapon https://www.wowhead.com/spell=392962
[392963] = 3, -- Empower Rune Weapon https://www.wowhead.com/spell=392963
[48743] = 3, -- Death Pact https://www.wowhead.com/spell=48743
[288853] = 3, -- Raise Abomination https://www.wowhead.com/spell=288853
[77606] = 12, -- Dark Simulacrum https://www.wowhead.com/spell=77606
[47476] = 3, -- Strangulate https://www.wowhead.com/spell=47476
[1850] = 10, -- Dash https://www.wowhead.com/spell=1850
[20484] = 3, -- Rebirth https://www.wowhead.com/spell=20484
[194223] = 20, -- Celestial Alignment https://www.wowhead.com/spell=194223
[106951] = 20, -- Berserk https://www.wowhead.com/spell=106951
[22570] = 3, -- Maim https://www.wowhead.com/spell=22570
[61336] = 3, -- Survival Instincts x2 https://www.wowhead.com/spell=61336
[102793] = 3, -- Ursol's Vortex https://www.wowhead.com/spell=102793
[108238] = 2, -- Renewal https://www.wowhead.com/spell=108238
[102543] = 30, -- Incarnation: King of the Jungle https://www.wowhead.com/spell=102543
[102558] = 30, -- Incarnation: Guardian of Ursoc https://www.wowhead.com/spell=102558
[33891] = 30, -- Incarnation: Tree of Life https://www.wowhead.com/spell=33891
[106839] = 3, -- Skull Bash https://www.wowhead.com/spell=106839
[132469] = 2, -- Typhoon https://www.wowhead.com/spell=132469/typhoon https://www.wowhead.com/spell=132469
[99] = 3, -- Парализующий рык https://www.wowhead.com/spell=99
[319454] = 3, -- Сердце дикой природы https://www.wowhead.com/spell=319454
[323764] = 5, -- Convoke the Spirits https://www.wowhead.com/spell=323764/convoke-the-spirits
[323546] = 3, -- Ravenous Frenzy https://www.wowhead.com/spell=323546/ravenous-frenzy
[22842] = 3, -- Frenzied Regeneration https://www.wowhead.com/spell=22842/frenzied-regeneration
[88423] = 3, -- Nature's Cure https://www.wowhead.com/spell=88423/natures-cure
[78675] = 8, -- Solar Beam https://www.wowhead.com/spell=78675
[102359] = 3, -- Mass Entanglement https://www.wowhead.com/spell=102359/mass-entanglement https://www.wowhead.com/spell=102359
[5211] = 5, -- Mighty Bash https://www.wowhead.com/spell=5211
[102560] = 30, -- Incarnation: Chosen of Elune https://www.wowhead.com/spell=102560
[102342] = 12, -- Ironbark https://www.wowhead.com/spell=102342
[740] = 8, -- Tranquility https://www.wowhead.com/spell=740
[22812] = 8, -- Barkskin https://www.wowhead.com/spell=22812
[205636] = 3, -- Force of Nature https://www.wowhead.com/spell=205636
[102401] = 3, -- Wild Charge https://www.wowhead.com/spell=102401
[252216] = 3, -- Tiger Dash https://www.wowhead.com/spell=252216
[2782] = 3, -- Remove Corruption https://www.wowhead.com/spell=2782
[106898] = 3, -- Stampeding Roar https://www.wowhead.com/spell=106898
[329042] = 3, -- Emerald Slumber https://www.wowhead.com/spell=329042
[209749] = 3, -- Faerie Swarm https://www.wowhead.com/spell=209749
[202246] = 3, -- Overrun https://www.wowhead.com/spell=202246
[354654] = 3, -- Grove Protection https://www.wowhead.com/spell=354654
[119996] = 3, -- Transcendence: Transfer https://www.wowhead.com/spell=119996
[119381] = 3, -- Leg Sweep https://www.wowhead.com/spell=119381
[322109] = 3, -- Touch of Death https://www.wowhead.com/spell=322109
[169340] = 3, -- Touch of Fatality https://www.wowhead.com/spell=169340
[115450] = 3, -- Detox https://www.wowhead.com/spell=115450
[137639] = 15, -- Storm, Earth, and Fire https://www.wowhead.com/spell=137639
[115078] = 3, -- Paralysis https://www.wowhead.com/spell=115078
[122783] = 3, -- Diffuse Magic https://www.wowhead.com/spell=122783
[116849] = 12, -- Life Cocoon https://www.wowhead.com/spell=116849
[122470] = 8, -- Touch of Karma https://www.wowhead.com/spell=122470
[113656] = 3, -- Fists of Fury https://www.wowhead.com/spell=113656
[123904] = 3, -- Invoke Xuen, the White Tiger https://www.wowhead.com/spell=123904
[152173] = 12, -- Serenity https://www.wowhead.com/spell=152173
[116844] = 3, -- Ring of Peace https://www.wowhead.com/spell=116844
[115310] = 3, -- Revival https://www.wowhead.com/spell=115310
[115176] = 3, -- Zen Meditation https://www.wowhead.com/spell=115176
[122278] = 3, -- Dampen Harm https://www.wowhead.com/spell=122278
[116841] = 3, -- Tiger's Lust https://www.wowhead.com/spell=116841
[116705] = 3, -- Spear Hand Strike https://www.wowhead.com/spell=116705
[198898] = 3, -- Song of Chi-Ji https://www.wowhead.com/spell=198898
[218164] = 3, -- Detox https://www.wowhead.com/spell=218164
[388615] = 3, -- Restoral https://www.wowhead.com/spell=388615
[324312] = 3, -- Clash https://www.wowhead.com/spell=324312
[233759] = 3, -- Grapple Weapon https://www.wowhead.com/spell=233759
[209584] = 3, -- Zen Focus Tea https://www.wowhead.com/spell=209584
[202370] = 3, -- Mighty Ox Kick https://www.wowhead.com/spell=202370
[354540] = 3, -- Nimble Brew https://www.wowhead.com/spell=354540
[210294] = 3, -- Divine Favor https://www.wowhead.com/spell=210294
[642] = 8, -- Divine Shield https://www.wowhead.com/spell=642
[31884] = 15, -- Avenging Wrath https://www.wowhead.com/spell=31884
[853] = 6, -- Hammer of Justice https://www.wowhead.com/spell=853
[4987] = 3, -- Cleanse https://www.wowhead.com/spell=4987
[216331] = 2, -- Avenging Crusader https://www.wowhead.com/spell=216331
[1022] = 10, -- Blessing of Protection https://www.wowhead.com/spell=1022
[498] = 3, -- Divine Protection https://www.wowhead.com/spell=498
[6940] = 10, -- Blessing of Sacrifice https://www.wowhead.com/spell=6940
[31821] = 3, -- Aura Mastery https://www.wowhead.com/spell=31821
[231895] = 15, -- Crusade https://www.wowhead.com/spell=231895
[20066] = 6, -- Repentance https://www.wowhead.com/spell=20066
[633] = 3, -- Lay on Hands https://www.wowhead.com/spell=633
[184662] = 10, -- Shield of Vengeance https://www.wowhead.com/spell=184662
[1044] = 5, -- Blessing of Freedom https://www.wowhead.com/spell=1044
[31850] = 3, -- Ardent Defender https://www.wowhead.com/spell=31850
[86659] = 3, -- Guardian of Ancient Kings https://www.wowhead.com/spell=86659
[96231] = 3, -- Rebuke https://www.wowhead.com/spell=96231
[204018] = 10, -- Blessing of Spellwarding https://www.wowhead.com/spell=204018
[190784] = 3, -- Divine Steed https://www.wowhead.com/spell=190784
[115750] = 3, -- Blinding Light https://www.wowhead.com/spell=115750
[105809] = 3, -- Holy Avenger https://www.wowhead.com/spell=105809
[205191] = 3, -- Eye for an Eye https://www.wowhead.com/spell=205191
[389539] = 3, -- Sentinel https://www.wowhead.com/spell=389539
[213644] = 3, -- Cleanse Toxins https://www.wowhead.com/spell=213644
[210256] = 3, -- Blessing of Sanctuary https://www.wowhead.com/spell=210256
[228049] = 3, -- Guardian of the Forgotten Queen https://www.wowhead.com/spell=228049
[375576] = 3, -- Divine Toll https://www.wowhead.com/spell=375576
[343721] = 12, -- Final Reckoning https://www.wowhead.com/spell=343721
[32375] = 2, -- Mass Dispel https://www.wowhead.com/spell=32375/mass-dispel
[47536] = 2, -- Rapture https://www.wowhead.com/spell=47536
[32379] = 3, -- Shadow Word: Death https://www.wowhead.com/spell=32379
[19236] = 2, -- Desperate Prayer https://www.wowhead.com/spell=19236
[8122] = 2, -- Psychic Scream https://www.wowhead.com/spell=8122
[527] = 2, -- Purify https://www.wowhead.com/spell=527
[10060] = 15, -- Power Infusion https://www.wowhead.com/spell=10060
[33206] = 8, -- Pain Suppression https://www.wowhead.com/spell=33206
[15286] = 3, -- Vampiric Embrace https://www.wowhead.com/spell=15286
[34433] = 3, -- Shadowfiend https://www.wowhead.com/spell=34433
[123040] = 3, -- Mindbender https://www.wowhead.com/spell=123040
[47788] = 10, -- Guardian Spirit https://www.wowhead.com/spell=47788
[64843] = 3, -- Divine Hymn https://www.wowhead.com/spell=64843
[73325] = 2, -- Leap of Faith https://www.wowhead.com/spell=73325
[62618] = 10, -- Power Word: Barrier https://www.wowhead.com/spell=62618
[373481] = 2, -- Power Word: Life https://www.wowhead.com/spell=373481
[15487] = 3, -- Silence https://www.wowhead.com/spell=15487
[2050] = 2, -- Holy Word: Serenity https://www.wowhead.com/spell=2050
[375901] = 5, -- Mindgames https://www.wowhead.com/spell=375901
[108968] = 2, -- Void Shift https://www.wowhead.com/spell=108968
[120517] = 2, -- Halo https://www.wowhead.com/spell=120517
[88625] = 2, -- Holy Word: Chastise https://www.wowhead.com/spell=88625
[213634] = 2, -- Purify Disease https://www.wowhead.com/spell=213634
[200174] = 2, -- Mindbender https://www.wowhead.com/spell=200174
[47585] = 2, -- Dispersion https://www.wowhead.com/spell=47585
[120644] = 3, -- Halo https://www.wowhead.com/spell=120644
[205364] = 3, -- Dominate Mind https://www.wowhead.com/spell=205364
[108920] = 3, -- Void Tendrils https://www.wowhead.com/spell=108920
[372835] = 3, -- Lightwell https://www.wowhead.com/spell=372835
[64044] = 4, -- Psychic Horror https://www.wowhead.com/spell=64044
[197268] = 6, -- Ray of Hope https://www.wowhead.com/spell=197268
[211522] = 12, -- Psyfiend https://www.wowhead.com/spell=211522
[316262] = 3, -- Thoughtsteal https://www.wowhead.com/spell=316262
[328530] = 3, -- Divine Ascension https://www.wowhead.com/spell=328530
[213610] = 3, -- Holy Ward https://www.wowhead.com/spell=213610
[228260] = 3, -- Void Eruption https://www.wowhead.com/spell=228260
[391109] = 5, -- Dark Ascension https://www.wowhead.com/spell=391109
[36554] = 3, -- Shadowstep https://www.wowhead.com/spell=36554
[185313] = 3, -- Танец теней https://www.wowhead.com/spell=185313
[315341] = 3, -- Between the Eyes https://www.wowhead.com/spell=315341/between-the-eyes
[1856] = 3, -- Vanish https://www.wowhead.com/spell=1856
[114018] = 3, -- Shroud of Concealment https://www.wowhead.com/spell=114018
[408] = 6, -- Kidney Shot https://www.wowhead.com/spell=408
[1766] = 3, -- Kick https://www.wowhead.com/spell=1766
[2983] = 3, -- Sprint https://www.wowhead.com/spell=2983
[13750] = 12, -- Adrenaline Rush https://www.wowhead.com/spell=13750
[31224] = 5, -- Cloak of Shadows https://www.wowhead.com/spell=31224
[2094] = 3, -- Blind https://www.wowhead.com/spell=2094
[31230] = 2, -- Cheat Death https://www.wowhead.com/spell=31230
[5277] = 10, -- Evasion https://www.wowhead.com/spell=5277
[1776] = 4, -- Gouge https://www.wowhead.com/spell=1776
[51690] = 3, -- Killing Spree https://www.wowhead.com/spell=51690
[121471] = 10, -- Shadow Blades https://www.wowhead.com/spell=121471
[271877] = 3, -- Blade Rush https://www.wowhead.com/spell=271877
[343142] = 3, -- Dreadblades https://www.wowhead.com/spell=343142
[195457] = 3, -- Grappling Hook https://www.wowhead.com/spell=195457
[207736] = 5, -- Shadowy Duel https://www.wowhead.com/spell=207736
[212182] = 5, -- Smoke Bomb https://www.wowhead.com/spell=212182
[359053] = 5, -- Smoke Bomb https://www.wowhead.com/spell=359053
[207777] = 3, -- Dismantle https://www.wowhead.com/spell=207777
[79206] = 3, -- Spiritwalker's Grace https://www.wowhead.com/spell=79206
[196884] = 3, -- Свирепый выпад https://www.wowhead.com/spell=196884
[198838] = 3, -- Earthen Wall Totem https://www.wowhead.com/spell=198838
[320674] = 3, -- Chain Harvest https://www.wowhead.com/spell=320674/chain-harvest
[326059] = 5, -- Primordial Wave https://www.wowhead.com/spell=326059/primordial-wave
[328923] = 3, -- Fae Transfusion https://www.wowhead.com/spell=328923/fae-transfusion
[324386] = 3, -- Vesper Totem https://www.wowhead.com/spell=324386/vesper-totem
[51514] = 3, -- Hex https://www.wowhead.com/spell=51514
[210873] = 3, -- Hex https://www.wowhead.com/spell=210873
[211004] = 3, -- Hex https://www.wowhead.com/spell=211004
[211010] = 3, -- Hex https://www.wowhead.com/spell=211010
[211015] = 3, -- Hex https://www.wowhead.com/spell=211015
[269352] = 3, -- Hex https://www.wowhead.com/spell=269352
[277778] = 3, -- Hex https://www.wowhead.com/spell=277778
[277784] = 3, -- Hex https://www.wowhead.com/spell=277784
[309328] = 3, -- Hex https://www.wowhead.com/spell=309328
[32182] = 10, -- Heroism https://www.wowhead.com/spell=32182
[2825] = 10, -- Bloodlust https://www.wowhead.com/spell=2825
[20608] = 3, -- Reincarnation https://www.wowhead.com/spell=20608
[77130] = 3, -- Purify Spirit https://www.wowhead.com/spell=77130
[51886] = 3, -- Cleanse Spirit https://www.wowhead.com/spell=51886
[108281] = 3, -- Ancestral Guidance https://www.wowhead.com/spell=108281
[108280] = 5, -- Healing Tide Totem https://www.wowhead.com/spell=108280
[192249] = 3, -- Storm Elemental https://www.wowhead.com/spell=192249
[198067] = 3, -- Fire Elemental https://www.wowhead.com/spell=198067
[98008] = 3, -- Spirit Link Totem https://www.wowhead.com/spell=98008
[114050] = 3, -- Elemental Ascendance https://www.wowhead.com/spell=114050
[114051] = 3, -- Enhancement Ascendance https://www.wowhead.com/spell=114051
[114052] = 3, -- Restoration Ascendance https://www.wowhead.com/spell=114052
[51533] = 3, -- Feral Spirit https://www.wowhead.com/spell=51533
[51485] = 3, -- Earthgrab Totem https://www.wowhead.com/spell=51485
[8143] = 3, -- Тотем трепета https://www.wowhead.com/spell=8143
[108271] = 3, -- Астральный сдвиг https://www.wowhead.com/spell=108271
[192058] = 3, -- Тотем выброса тока https://www.wowhead.com/spell=192058
[192077] = 3, -- Тотем ветряного порыва https://www.wowhead.com/spell=192077
[191634] = 5, -- Stormkeeper https://www.wowhead.com/spell=191634
[320137] = 5, -- Stormkeeper https://www.wowhead.com/spell=320137
[383009] = 5, -- Stormkeeper https://www.wowhead.com/spell=383009
[392763] = 5, -- Stormkeeper https://www.wowhead.com/spell=392763
[392714] = 5, -- Stormkeeper https://www.wowhead.com/spell=392714
[207399] = 3, -- Тотем защиты Предков https://www.wowhead.com/spell=207399
[192063] = 3, -- Gust of Wind https://www.wowhead.com/spell=192063
[57994] = 3, -- Wind Shear https://www.wowhead.com/spell=57994
[197214] = 3, -- Раскол https://www.wowhead.com/spell=197214
[378081] = 3, -- Nature's Swiftness https://www.wowhead.com/spell=378081
[51490] = 3, -- Thunderstorm https://www.wowhead.com/spell=51490
[305483] = 3, -- Молния-лассо https://www.wowhead.com/spell=305483
[58875] = 3, -- Spirit Walk https://www.wowhead.com/spell=58875
[383019] = 3, -- Tranquil Air Totem https://www.wowhead.com/spell=383019
[204336] = 3, -- Grounding Totem https://www.wowhead.com/spell=204336
[204331] = 7, -- Counterstrike Totem https://www.wowhead.com/spell=204331
[355580] = 3, -- Static Field Totem https://www.wowhead.com/spell=355580
[100] = 3, -- Charge https://www.wowhead.com/spell=100
[6552] = 2, -- Pummel https://www.wowhead.com/spell=6552
[1719] = 12, -- Recklessness https://www.wowhead.com/spell=1719
[23920] = 3, -- Spell Reflection https://www.wowhead.com/spell=23920
[227847] = 3, -- Bladestorm https://www.wowhead.com/spell=227847
[167105] = 7, -- Colossus Smash https://www.wowhead.com/spell=167105
[118038] = 8, -- Die by the Sword https://www.wowhead.com/spell=118038
[5246] = 3, -- Intimidating Shout https://www.wowhead.com/spell=5246
[6544] = 3, -- Heroic Leap https://www.wowhead.com/spell=6544
[52174] = 3, -- Heroic Leap https://www.wowhead.com/spell=52174
[107574] = 20, -- Avatar https://www.wowhead.com/spell=107574
[401150] = 20, -- Avatar https://www.wowhead.com/spell=401150
[871] = 8, -- Shield Wall https://www.wowhead.com/spell=871
[107570] = 4, -- Storm Bolt https://www.wowhead.com/spell=107570
[12975] = 2, -- Last Stand https://www.wowhead.com/spell=12975
[262161] = 5, -- Warbreaker https://www.wowhead.com/spell=262161
[3411] = 3, -- Intervene https://www.wowhead.com/spell=3411/intervene
[18499] = 2, -- Berserker Rage https://www.wowhead.com/spell=18499
[46968] = 3, -- Shockwave https://www.wowhead.com/spell=46968
[184364] = 5, -- Enraged Regeneration https://www.wowhead.com/spell=184364
[392966] = 5, -- Spell Block https://www.wowhead.com/spell=392966
[376079] = 4, -- Spear of Bastion https://www.wowhead.com/spell=376079
[307865] = 4, -- Spear of Bastion https://www.wowhead.com/spell=307865
[118000] = 5, -- Dragon Roar https://www.wowhead.com/spell=118000
[383762] = 3, -- Bitter Immunity https://www.wowhead.com/spell=383762
[385952] = 3, -- Shield Charge https://www.wowhead.com/spell=385952
[64382] = 3, -- Shattering Throw https://www.wowhead.com/spell=64382
[386071] = 3, -- Disrupting Shout https://www.wowhead.com/spell=386071
[46924] = 6, -- Bladestorm https://www.wowhead.com/spell=46924
[384100] = 3, -- Berserker Shout https://www.wowhead.com/spell=384100
[236320] = 15, -- War Banner https://www.wowhead.com/spell=236320
[236077] = 3, -- Disarm https://www.wowhead.com/spell=236077
[206572] = 3, -- Dragon Charge https://www.wowhead.com/spell=206572
[329038] = 3, -- Кровавая ярость https://www.wowhead.com/spell=329038
[97462] = 3, -- Rallying Cry https://www.wowhead.com/spell=97462
[191427] = 8, -- Metamorphosis https://www.wowhead.com/spell=191427
[183752] = 3, -- Disrupt https://www.wowhead.com/spell=183752
[188501] = 3, -- Spectral Sight https://www.wowhead.com/spell=188501
[195072] = 2, -- Fel Rush https://www.wowhead.com/spell=195072
[198589] = 7, -- Blur https://www.wowhead.com/spell=198589
[187827] = 8, -- Metamorphosis https://www.wowhead.com/spell=187827
[189110] = 3, -- Infernal Strike https://www.wowhead.com/spell=189110
[198793] = 3, -- Vengeful Retreat https://www.wowhead.com/spell=198793
[207684] = 3, -- Sigil of Misery https://www.wowhead.com/spell=207684
[217832] = 3, -- Imprison https://www.wowhead.com/spell=217832
[204021] = 3, -- Fiery Brand https://www.wowhead.com/spell=204021
[196718] = 8, -- Darkness https://www.wowhead.com/spell=196718
[211881] = 3, -- Fel Eruption https://www.wowhead.com/spell=211881
[179057] = 3, -- Chaos Nova https://www.wowhead.com/spell=179057
[196555] = 5, -- Netherwalk https://www.wowhead.com/spell=196555
[202137] = 3, -- Sigil of Silence https://www.wowhead.com/spell=202137
[232893] = 3, -- Felblade https://www.wowhead.com/spell=232893
[390163] = 5, -- Elysian Decree https://www.wowhead.com/spell=390163
[263648] = 3, -- Soul Barrier https://www.wowhead.com/spell=263648
[206803] = 3, -- Rain from Above https://www.wowhead.com/spell=206803
[205604] = 3, -- Reverse Magic https://www.wowhead.com/spell=205604
[205630] = 3, -- Illidan's Grasp https://www.wowhead.com/spell=205630
[205629] = 3, -- Demonic Trample https://www.wowhead.com/spell=205629
[202138] = 3, -- Sigil of Chains https://www.wowhead.com/spell=202138
[198013] = 2, -- Eye Beam https://www.wowhead.com/spell=198013/eye-beam
[357210] = 5, -- Deep Breath https://www.wowhead.com/spell=357210/deep-breath
[390386] = 3, -- Fury of the Aspects https://www.wowhead.com/spell=390386
[358267] = 3, -- Hover https://www.wowhead.com/spell=358267
[375087] = 18, -- Dragonrage https://www.wowhead.com/spell=375087
[360995] = 3, -- Verdant Embrace https://www.wowhead.com/spell=360995
[370665] = 3, -- Rescue https://www.wowhead.com/spell=370665
[363534] = 3, -- Rewind https://www.wowhead.com/spell=363534
[370553] = 4, -- Tip the Scales https://www.wowhead.com/spell=370553
[351338] = 3, -- Quell https://www.wowhead.com/spell=351338
[374348] = 8, -- Renewing Blaze https://www.wowhead.com/spell=374348
[357170] = 8, -- Time Dilation https://www.wowhead.com/spell=357170
[370537] = 3, -- Stasis https://www.wowhead.com/spell=370537
[374251] = 2, -- Cauterizing Flame https://www.wowhead.com/spell=374251
[372048] = 5, -- Oppressing Roar https://www.wowhead.com/spell=372048
[374968] = 2, -- Time Spiral https://www.wowhead.com/spell=374968
[363916] = 5, -- Obsidian Scales https://www.wowhead.com/spell=363916
[374227] = 3, -- Zephyr https://www.wowhead.com/spell=374227
[360806] = 6, -- Sleep Walk https://www.wowhead.com/spell=360806
[359816] = 3, -- Dream Flight https://www.wowhead.com/spell=359816
[358385] = 3, -- Landslide https://www.wowhead.com/spell=358385
[370960] = 4, -- Emerald Communion https://www.wowhead.com/spell=370960
[378464] = 30, -- Nullifying Shroud https://www.wowhead.com/spell=378464
[377509] = 3, -- Dream Projection https://www.wowhead.com/spell=377509
[383005] = 3, -- Chrono Loop https://www.wowhead.com/spell=383005
[370388] = 3, -- Swoop Up https://www.wowhead.com/spell=370388
[378441] = 3, -- Time Stop https://www.wowhead.com/spell=378441
[390612] = 4, -- Frost Bomb -- Mage.
}
And at the bottom of your AddIcon function function OmniBar_AddIcon(self, info) I put this:
icon:Show()
if (icon.timestamp) then
OmniBar_StartCooldown(self, icon, icon.timestamp)
LCG.ButtonGlow_Start(icon) -- Start a glow
C_Timer.After(OmniBar_iconDisplayDurations[info.spellID] or 3, function()
LCG.ButtonGlow_Stop(icon)
end)
if (GetTime() == icon.timestamp) then OmniBar_StartAnimation(self, icon) end
end
return icon
end
I wonder if you can add a similar feature to the official release so I don't have to have it be like an offbranch thing, can use the table I made etc if it helps. Love the addon.
@Madsvittrup I love this! Can you have steps on how to add this or where to download your modded version of this? Just in case this doesn't get added or takes a while. Thank you.
Add Gismodruid on Discord, I might reimplement it and make it work again if it's not added. Gets a bit tiresome to have an outdated version of the addon for this, lel
The lib file is LibCustomGlow-1.0 Don't really need the rangecheck one. Lel.
Also I didn't make it toggleable, since I personally always have it on, but if you add it probably should have been. Heh. I'm new at github and all that, so Idk how to suggest actual code changes.
@Madsvittrup I love this! Can you have steps on how to add this or where to download your modded version of this? Just in case this doesn't get added or takes a while. Thank you.