-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSmartBuff.buffs.lua
1935 lines (1797 loc) · 132 KB
/
SmartBuff.buffs.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
local _;
local S = SMARTBUFF_GLOBALS;
SMARTBUFF_PLAYERCLASS = nil;
SMARTBUFF_BUFFLIST = nil;
-- Buff types
SMARTBUFF_CONST_ALL = "ALL";
SMARTBUFF_CONST_GROUP = "GROUP";
SMARTBUFF_CONST_GROUPALL = "GROUPALL";
SMARTBUFF_CONST_SELF = "SELF";
SMARTBUFF_CONST_FORCESELF = "FORCESELF";
SMARTBUFF_CONST_TRACK = "TRACK";
SMARTBUFF_CONST_WEAPON = "WEAPON";
SMARTBUFF_CONST_INV = "INVENTORY";
SMARTBUFF_CONST_FOOD = "FOOD";
SMARTBUFF_CONST_SCROLL = "SCROLL";
SMARTBUFF_CONST_POTION = "POTION";
SMARTBUFF_CONST_STANCE = "STANCE";
SMARTBUFF_CONST_ITEM = "ITEM";
SMARTBUFF_CONST_ITEMGROUP = "ITEMGROUP";
SMARTBUFF_CONST_TOY = "TOY";
S.CheckPet = "CHECKPET";
S.CheckPetNeeded = "CHECKPETNEEDED";
S.CheckFishingPole = "CHECKFISHINGPOLE";
S.NIL = "x";
S.Toybox = { };
local function GetItems(items)
local t = { };
for _, id in pairs(items) do
local _,name = C_Item.GetItemInfo(id);
if (name) then
--print("Item found: "..id..", "..name);
tinsert(t, name);
end
end
return t;
end
-- Spellbook abilities are not filtered properly this is workaround
-- Return a spell name even if spell is not available
-- This avoids nil comparisons hopefully
local function getSpellBookItemByName(spellId)
local name = C_Spell.GetSpellName(spellId);
if (name == nil) then
return nil;
end
local spellInfo = C_Spell.GetSpellInfo(name);
if (spellInfo == nil) then
return name;
end
return spellInfo;
end
local function InsertItem(t, type, itemId, spellId, duration, link)
local _,item = C_Item.GetItemInfo(itemId); -- item link
local spell = C_Spell.GetSpellInfo(spellId);
if (item and spell) then
--print("Item found: "..item..", "..spell);
tinsert(t, {item, duration, type, nil, spell, link});
end
end
local function AddItem(itemId, spellId, duration, link)
InsertItem(SMARTBUFF_SCROLL, SMARTBUFF_CONST_SCROLL, itemId, spellId, duration, link);
end
local function LoadToys()
C_ToyBox.SetCollectedShown(true)
C_ToyBox.SetAllSourceTypeFilters(true)
C_ToyBox.SetFilterString("")
local nTotal = C_ToyBox.GetNumTotalDisplayedToys();
local nLearned = C_ToyBox.GetNumLearnedDisplayedToys() or 0;
if (nLearned <= 0) then
return;
end
for i = 1, nTotal do
local num = C_ToyBox.GetToyFromIndex(i);
local id, name, icon = C_ToyBox.GetToyInfo(num);
if (id) then
if (PlayerHasToy(id)) then
_,name = C_Item.GetItemInfo(id)
S.Toybox[tostring(name)] = {id, icon};
end
end
end
SMARTBUFF_AddMsgD("Toys initialized");
end
function SMARTBUFF_InitItemList()
-- Stones and oils
_,SMARTBUFF_MANAGEM = C_Item.GetItemInfo(36799); --"Mana Gem"
_,SMARTBUFF_BRILLIANTMANAGEM = C_Item.GetItemInfo(81901); --"Brilliant Mana Gem"
_,SMARTBUFF_SSROUGH = C_Item.GetItemInfo(2862); --"Rough Sharpening Stone"
_,SMARTBUFF_SSCOARSE = C_Item.GetItemInfo(2863); --"Coarse Sharpening Stone"
_,SMARTBUFF_SSHEAVY = C_Item.GetItemInfo(2871); --"Heavy Sharpening Stone"
_,SMARTBUFF_SSSOLID = C_Item.GetItemInfo(7964); --"Solid Sharpening Stone"
_,SMARTBUFF_SSDENSE = C_Item.GetItemInfo(12404); --"Dense Sharpening Stone"
_,SMARTBUFF_SSELEMENTAL = C_Item.GetItemInfo(18262); --"Elemental Sharpening Stone"
_,SMARTBUFF_SSFEL = C_Item.GetItemInfo(23528); --"Fel Sharpening Stone"
_,SMARTBUFF_SSADAMANTITE = C_Item.GetItemInfo(23529); --"Adamantite Sharpening Stone"
_,SMARTBUFF_WSROUGH = C_Item.GetItemInfo(3239); --"Rough Weightstone"
_,SMARTBUFF_WSCOARSE = C_Item.GetItemInfo(3240); --"Coarse Weightstone"
_,SMARTBUFF_WSHEAVY = C_Item.GetItemInfo(3241); --"Heavy Weightstone"
_,SMARTBUFF_WSSOLID = C_Item.GetItemInfo(7965); --"Solid Weightstone"
_,SMARTBUFF_WSDENSE = C_Item.GetItemInfo(12643); --"Dense Weightstone"
_,SMARTBUFF_WSFEL = C_Item.GetItemInfo(28420); --"Fel Weightstone"
_,SMARTBUFF_WSADAMANTITE = C_Item.GetItemInfo(28421); --"Adamantite Weightstone"
_,SMARTBUFF_SHADOWOIL = C_Item.GetItemInfo(3824); --"Shadow Oil"
_,SMARTBUFF_FROSTOIL = C_Item.GetItemInfo(3829); --"Frost Oil"
_,SMARTBUFF_MANAOIL1 = C_Item.GetItemInfo(20745); --"Minor Mana Oil"
_,SMARTBUFF_MANAOIL2 = C_Item.GetItemInfo(20747); --"Lesser Mana Oil"
_,SMARTBUFF_MANAOIL3 = C_Item.GetItemInfo(20748); --"Brilliant Mana Oil"
_,SMARTBUFF_MANAOIL4 = C_Item.GetItemInfo(22521); --"Superior Mana Oil"
_,SMARTBUFF_WIZARDOIL1 = C_Item.GetItemInfo(20744); --"Minor Wizard Oil"
_,SMARTBUFF_WIZARDOIL2 = C_Item.GetItemInfo(20746); --"Lesser Wizard Oil"
_,SMARTBUFF_WIZARDOIL3 = C_Item.GetItemInfo(20750); --"Wizard Oil"
_,SMARTBUFF_WIZARDOIL4 = C_Item.GetItemInfo(20749); --"Brilliant Wizard Oil"
_,SMARTBUFF_WIZARDOIL5 = C_Item.GetItemInfo(22522); --"Superior Wizard Oil"
_,SMARTBUFF_SHADOWCOREOIL = C_Item.GetItemInfo(171285); --"Shadowcore Oil"
_,SMARTBUFF_EMBALMERSOIL = C_Item.GetItemInfo(171286); --"Embalmer's Oil"
-- Dragonflight
_,SMARTBUFF_SafeRockets_q1 = C_Item.GetItemInfo(198160); -- Completely Safe Rockets (Quality 1)
_,SMARTBUFF_SafeRockets_q2 = C_Item.GetItemInfo(198161); -- Completely Safe Rockets (Quality 2)
_,SMARTBUFF_SafeRockets_q3 = C_Item.GetItemInfo(198162); -- Completely Safe Rockets (Quality 3)
_,SMARTBUFF_BuzzingRune_q1 = C_Item.GetItemInfo(194821); -- Buzzing Rune (Quality 1)
_,SMARTBUFF_BuzzingRune_q2 = C_Item.GetItemInfo(194822); -- Buzzing Rune (Quality 2)
_,SMARTBUFF_BuzzingRune_q3 = C_Item.GetItemInfo(194823); -- Buzzing Rune (Quality 3)
_,SMARTBUFF_ChirpingRune_q1 = C_Item.GetItemInfo(194824); -- Buzzing Rune (Quality 1)
_,SMARTBUFF_ChirpingRune_q2 = C_Item.GetItemInfo(194825); -- Buzzing Rune (Quality 2)
_,SMARTBUFF_ChirpingRune_q3 = C_Item.GetItemInfo(194826); -- Buzzing Rune (Quality 3)
_,SMARTBUFF_HowlingRune_q1 = C_Item.GetItemInfo(194821); -- Buzzing Rune (Quality 1)
_,SMARTBUFF_HowlingRune_q2 = C_Item.GetItemInfo(194822); -- Buzzing Rune (Quality 2)
_,SMARTBUFF_HowlingRune_q3 = C_Item.GetItemInfo(194820); -- Buzzing Rune (Quality 3)
_,SMARTBUFF_PrimalWeighstone_q1 = C_Item.GetItemInfo(191943); -- Primal Weighstone (Quality 1)
_,SMARTBUFF_PrimalWeighstone_q2 = C_Item.GetItemInfo(191944); -- Primal Weighstone (Quality 2)
_,SMARTBUFF_PrimalWeighstone_q3 = C_Item.GetItemInfo(191945); -- Primal Weighstone (Quality 3)
_,SMARTBUFF_PrimalWhetstone_q1 = C_Item.GetItemInfo(191933); -- Primal Whestone (Quality 1)
_,SMARTBUFF_PrimalWhetstone_q2 = C_Item.GetItemInfo(191939); -- Primal Whestone (Quality 2)
_,SMARTBUFF_PrimalWhetstone_q3 = C_Item.GetItemInfo(191940); -- Primal Whestone (Quality 3)
-- The War Within
_,SMARTBUFF_TWWWeaponEnhance1_q1 = C_Item.GetItemInfo(222503); -- Ironclaw Razorstone
_,SMARTBUFF_TWWWeaponEnhance1_q2 = C_Item.GetItemInfo(222504); -- Ironclaw Razorstone
_,SMARTBUFF_TWWWeaponEnhance1_q3 = C_Item.GetItemInfo(222505); -- Ironclaw Razorstone
_,SMARTBUFF_TWWWeaponEnhance2_q1 = C_Item.GetItemInfo(222506); -- Ironclaw Weightstone
_,SMARTBUFF_TWWWeaponEnhance2_q2 = C_Item.GetItemInfo(222506); -- Ironclaw Weightstone
_,SMARTBUFF_TWWWeaponEnhance2_q3 = C_Item.GetItemInfo(222507); -- Ironclaw Weightstone
_,SMARTBUFF_TWWWeaponEnhance3_q1 = C_Item.GetItemInfo(222508); -- Ironclaw Whetstone
_,SMARTBUFF_TWWWeaponEnhance3_q2 = C_Item.GetItemInfo(222509); -- Ironclaw Whetstone
_,SMARTBUFF_TWWWeaponEnhance3_q3 = C_Item.GetItemInfo(222510); -- Ironclaw Whetstone
_,SMARTBUFF_TWWWeaponEnhance4_q1 = C_Item.GetItemInfo(224105); -- Oil of Beledar's Grace
_,SMARTBUFF_TWWWeaponEnhance4_q2 = C_Item.GetItemInfo(224106); -- Oil of Beledar's Grace
_,SMARTBUFF_TWWWeaponEnhance4_q3 = C_Item.GetItemInfo(224107); -- Oil of Beledar's Grace
_,SMARTBUFF_TWWWeaponEnhance5_q1 = C_Item.GetItemInfo(224108); -- Oil of Deep Toxins
_,SMARTBUFF_TWWWeaponEnhance5_q2 = C_Item.GetItemInfo(224109); -- Oil of Deep Toxins
_,SMARTBUFF_TWWWeaponEnhance5_q3 = C_Item.GetItemInfo(224109); -- Oil of Deep Toxins
_,SMARTBUFF_TWWWeaponEnhance6_q1 = C_Item.GetItemInfo(224110); -- Algari Mana Oil
_,SMARTBUFF_TWWWeaponEnhance6_q2 = C_Item.GetItemInfo(224111); -- Algari Mana Oil
_,SMARTBUFF_TWWWeaponEnhance6_q3 = C_Item.GetItemInfo(224113); -- Algari Mana Oil
-- Food
-- SMARTBUFF_KIBLERSBITS = C_Item.GetItemInfo(33874); --"Kibler's Bits"
-- SMARTBUFF_STORMCHOPS = C_Item.GetItemInfo(33866); --"Stormchops"
_,SMARTBUFF_JUICYBEARBURGER = C_Item.GetItemInfo(35565); --"Juicy Bear Burger"
_,SMARTBUFF_CRUNCHYSPIDER = C_Item.GetItemInfo(22645); --"Crunchy Spider Surprise"
_,SMARTBUFF_LYNXSTEAK = C_Item.GetItemInfo(27635); --"Lynx Steak"
_,SMARTBUFF_CHARREDBEARKABOBS = C_Item.GetItemInfo(35563); --"Charred Bear Kabobs"
_,SMARTBUFF_BATBITES = C_Item.GetItemInfo(27636); --"Bat Bites"
_,SMARTBUFF_ROASTEDMOONGRAZE = C_Item.GetItemInfo(24105); --"Roasted Moongraze Tenderloin"
_,SMARTBUFF_MOKNATHALSHORTRIBS = C_Item.GetItemInfo(31672); --"Mok'Nathal Shortribs"
_,SMARTBUFF_CRUNCHYSERPENT = C_Item.GetItemInfo(31673); --"Crunchy Serpent"
_,SMARTBUFF_ROASTEDCLEFTHOOF = C_Item.GetItemInfo(27658); --"Roasted Clefthoof"
_,SMARTBUFF_FISHERMANSFEAST = C_Item.GetItemInfo(33052); --"Fisherman's Feast"
_,SMARTBUFF_WARPBURGER = C_Item.GetItemInfo(27659); --"Warp Burger"
_,SMARTBUFF_RAVAGERDOG = C_Item.GetItemInfo(27655); --"Ravager Dog"
_,SMARTBUFF_SKULLFISHSOUP = C_Item.GetItemInfo(33825); --"Skullfish Soup"
_,SMARTBUFF_BUZZARDBITES = C_Item.GetItemInfo(27651); --"Buzzard Bites"
_,SMARTBUFF_TALBUKSTEAK = C_Item.GetItemInfo(27660); --"Talbuk Steak"
_,SMARTBUFF_GOLDENFISHSTICKS = C_Item.GetItemInfo(27666); --"Golden Fish Sticks"
_,SMARTBUFF_SPICYHOTTALBUK = C_Item.GetItemInfo(33872); --"Spicy Hot Talbuk"
_,SMARTBUFF_FELTAILDELIGHT = C_Item.GetItemInfo(27662); --"Feltail Delight"
_,SMARTBUFF_BLACKENEDSPOREFISH = C_Item.GetItemInfo(27663); --"Blackened Sporefish"
_,SMARTBUFF_HOTAPPLECIDER = C_Item.GetItemInfo(34411); --"Hot Apple Cider"
_,SMARTBUFF_BROILEDBLOODFIN = C_Item.GetItemInfo(33867); --"Broiled Bloodfin"
_,SMARTBUFF_SPICYCRAWDAD = C_Item.GetItemInfo(27667); --"Spicy Crawdad"
_,SMARTBUFF_POACHEDBLUEFISH = C_Item.GetItemInfo(27665); --"Poached Bluefish"
_,SMARTBUFF_BLACKENEDBASILISK = C_Item.GetItemInfo(27657); --"Blackened Basilisk"
_,SMARTBUFF_GRILLEDMUDFISH = C_Item.GetItemInfo(27664); --"Grilled Mudfish"
_,SMARTBUFF_CLAMBAR = C_Item.GetItemInfo(30155); --"Clam Bar"
_,SMARTBUFF_SAGEFISHDELIGHT = C_Item.GetItemInfo(21217); --"Sagefish Delight"
_,SMARTBUFF_SALTPEPPERSHANK = C_Item.GetItemInfo(133557); --"Salt & Pepper Shank"
_,SMARTBUFF_PICKLEDSTORMRAY = C_Item.GetItemInfo(133562); --"Pickled Stormray"
_,SMARTBUFF_DROGBARSTYLESALMON = C_Item.GetItemInfo(133569); --"Drogbar-Style Salmon"
_,SMARTBUFF_BARRACUDAMRGLGAGH = C_Item.GetItemInfo(133567); --"Barracuda Mrglgagh"
_,SMARTBUFF_FIGHTERCHOW = C_Item.GetItemInfo(133577); --"Fighter Chow"
_,SMARTBUFF_FARONAARFIZZ = C_Item.GetItemInfo(133563); --"Faronaar Fizz"
_,SMARTBUFF_BEARTARTARE = C_Item.GetItemInfo(133576); --"Bear Tartare"
_,SMARTBUFF_LEGIONCHILI = C_Item.GetItemInfo(118428); --"Legion Chili"
_,SMARTBUFF_DEEPFRIEDMOSSGILL = C_Item.GetItemInfo(133561); --"Deep-Fried Mossgill"
_,SMARTBUFF_MONDAZI = C_Item.GetItemInfo(154885); --"Mon'Dazi"
_,SMARTBUFF_KULTIRAMISU = C_Item.GetItemInfo(154881); --"Kul Tiramisu"
_,SMARTBUFF_GRILLEDCATFISH = C_Item.GetItemInfo(154889); --"Grilled Catfish"
_,SMARTBUFF_LOALOAF = C_Item.GetItemInfo(154887); --"Loa Loaf"
_,SMARTBUFF_HONEYHAUNCHES = C_Item.GetItemInfo(154882); --"Honey-Glazed Haunches"
_,SMARTBUFF_RAVENBERRYTARTS = C_Item.GetItemInfo(154883); --"Ravenberry Tarts"
_,SMARTBUFF_SWAMPFISHNCHIPS = C_Item.GetItemInfo(154884); --"Swamp Fish 'n Chips"
_,SMARTBUFF_SEASONEDLOINS = C_Item.GetItemInfo(154891); --"Seasoned Loins"
_,SMARTBUFF_SAILORSPIE = C_Item.GetItemInfo(154888); --"Sailor's Pie"
_,SMARTBUFF_SPICEDSNAPPER = C_Item.GetItemInfo(154886); --"Spiced Snapper"
--_,SMARTBUFF_HEARTSBANEHEXWURST = C_Item.GetItemInfo(163781); --"Heartsbane Hexwurst"
_,SMARTBUFF_ABYSSALFRIEDRISSOLE = C_Item.GetItemInfo(168311); --"Abyssal-Fried Rissole"
_,SMARTBUFF_BAKEDPORTTATO = C_Item.GetItemInfo(168313); --"Baked Port Tato"
_,SMARTBUFF_BILTONG = C_Item.GetItemInfo(168314); --"Bil'Tong"
_,SMARTBUFF_BIGMECH = C_Item.GetItemInfo(168310); --"Mech-Dowel's 'Big Mech'"
_,SMARTBUFF_FRAGRANTKAKAVIA = C_Item.GetItemInfo(168312); --"Fragrant Kakavia"
_,SMARTBUFF_BANANABEEFPUDDING = C_Item.GetItemInfo(172069); --"Banana Beef Pudding"
_,SMARTBUFF_BUTTERSCOTCHRIBS = C_Item.GetItemInfo(172040); --"Butterscotch Marinated Ribs"
_,SMARTBUFF_CINNAMONBONEFISH = C_Item.GetItemInfo(172044); --"Cinnamon Bonefish Stew"
_,SMARTBUFF_EXTRALEMONYFILET = C_Item.GetItemInfo(184682); --"Extra Lemony Herb Filet"
_,SMARTBUFF_FRIEDBONEFISH = C_Item.GetItemInfo(172063); --"Friedn Bonefish"
_,SMARTBUFF_IRIDESCENTRAVIOLI = C_Item.GetItemInfo(172049); --"Iridescent Ravioli with Apple Sauce"
_,SMARTBUFF_MEATYAPPLEDUMPLINGS = C_Item.GetItemInfo(172048); --"Meaty Apple Dumplings"
_,SMARTBUFF_PICKLEDMEATSMOOTHIE = C_Item.GetItemInfo(172068); --"Pickled Meat Smoothie"
_,SMARTBUFF_SERAPHTENDERS = C_Item.GetItemInfo(172061); --"Seraph Tenders"
_,SMARTBUFF_SPINEFISHSOUFFLE = C_Item.GetItemInfo(172041); --"Spinefish Souffle and Fries"
_,SMARTBUFF_STEAKALAMODE = C_Item.GetItemInfo(172051); --"Steak ala Mode"
_,SMARTBUFF_SWEETSILVERGILL = C_Item.GetItemInfo(172050); --"Sweet Silvergill Sausages"
_,SMARTBUFF_TENEBROUSCROWNROAST = C_Item.GetItemInfo(172045); --"Tenebrous Crown Roast Aspic"
-- Dragonflight
_,SMARTBUFF_TimelyDemise = C_Item.GetItemInfo(197778); -- Timely Demise (70 Haste)
_,SMARTBUFF_FiletOfFangs = C_Item.GetItemInfo(197779); -- Filet of Fangs (70 Crit)
_,SMARTBUFF_SeamothSurprise = C_Item.GetItemInfo(197780); -- Seamoth Surprise (70 Vers)
_,SMARTBUFF_SaltBakedFishcake = C_Item.GetItemInfo(197781); -- Salt-Baked Fishcake (70 Mastery)
_,SMARTBUFF_FeistyFishSticks = C_Item.GetItemInfo(197782); -- Feisty Fish Sticks (45 Haste/Crit)
_,SMARTBUFF_SeafoodPlatter = C_Item.GetItemInfo(197783); -- Aromatic Seafood Platter (45 Haste/Vers)
_,SMARTBUFF_SeafoodMedley = C_Item.GetItemInfo(197784); -- Sizzling Seafood Medley (45 Haste/Mastery)
_,SMARTBUFF_RevengeServedCold = C_Item.GetItemInfo(197785); -- Revenge, Served Cold (45 Crit/Verst)
_,SMARTBUFF_Tongueslicer = C_Item.GetItemInfo(197786); -- Thousandbone Tongueslicer (45 Crit/Mastery)
_,SMARTBUFF_GreatCeruleanSea = C_Item.GetItemInfo(197787); -- Great Cerulean Sea (45 Vers/Mastery)
_,SMARTBUFF_FatedFortuneCookie = C_Item.GetItemInfo(197792); -- Fated Fortune Cookie (76 primary stat)
_,SMARTBUFF_KaluakBanquet = C_Item.GetItemInfo(197794); -- Feast: Grand Banquet of the Kalu'ak (76 primary stat)
_,SMARTBUFF_HoardOfDelicacies = C_Item.GetItemInfo(197795); -- Feast: Hoard of Draconic Delicacies (76 primary stat)
_,SMARTBUFF_DeviouslyDeviledEgg = C_Item.GetItemInfo(204072); -- Deviously Deviled Eggs
-- Food item IDs
S.FoodItems = GetItems({
-- WotLK -- Deprecating
-- 39691, 34125, 42779, 42997, 42998, 42999, 43000, 34767, 42995, 34769, 34754, 34758, 34766, 42994, 42996, 34756, 34768, 42993, 34755, 43001, 34757, 34752, 34751, 34750, 34749, 34764, 34765, 34763, 34762, 42942, 43268, 34748,
-- CT -- Deprecating
-- 62651, 62652, 62653, 62654, 62655, 62656, 62657, 62658, 62659, 62660, 62661, 62662, 62663, 62664, 62665, 62666, 62667, 62668, 62669, 62670, 62671, 62649,
-- MoP -- Deprecating
-- 74645, 74646, 74647, 74648, 74649, 74650, 74652, 74653, 74655, 74656, 86069, 86070, 86073, 86074, 81400, 81401, 81402, 81403, 81404, 81405, 81406, 81408, 81409, 81410, 81411, 81412, 81413, 81414,
-- WoD -- Deprecating
-- 111431, 111432, 111433, 111434, 111435, 111436, 111437, 111438, 111439, 111440, 11441, 111442, 111443, 111444, 111445, 111446, 111447, 111448, 111449, 111450, 111451, 111452, 111453, 111454,127991, 111457, 111458, 118576,
-- TWW almost all food items
222733, 222728, 222732, 222720, 222735, 222731, 222721, 222730, 225855, 222729, 225592, 222736, 222726, 222718, 222724, 222745, 222725, 222703, 222715, 222710, 222712, 222704,
222727, 222722, 222711, 222705, 222708, 222707, 223968, 222713, 222723, 222714, 222702, 222709, 222719, 222717, 222716, 222706,
-- TWW adds hearty food version to 31 the above foods that make it persist through death
222781, 222766, 222776, 222780, 222778, 222768, 222783, 222779, 222751, 222773, 222753, 222774, 222752, 222758, 222770, 222775, 222777, 222759,
222760, 222765, 222763, 222769, 222761, 222772, 222757, 222762, 222754, 222755, 222756, 222767, 222750, 222764, 222771,
});
-- Warlock healthstones
SMARTBUFF_HEALTHSTONE = C_Item.GetItemInfo(5512); --"Healthstone"
S.StoneWarlock = GetItems({5512, 224464});
-- Conjured mage food IDs
SMARTBUFF_CONJUREDMANA = C_Item.GetItemInfo(113509); --"Conjured Mana Buns"
S.FoodMage = GetItems({113509, 80618, 80610, 65499, 43523, 43518, 34062, 65517, 65516, 65515, 65500, 42955});
--_,SMARTBUFF_BCPETFOOD1 = C_Item.GetItemInfo(33874); --"Kibler's Bits (Pet food)"
--_,SMARTBUFF_WOTLKPETFOOD1 = C_Item.GetItemInfo(43005); --"Spiced Mammoth Treats (Pet food)"
-- Scrolls
_,SMARTBUFF_SOAGILITY1 = C_Item.GetItemInfo(3012); --"Scroll of Agility I"
_,SMARTBUFF_SOAGILITY2 = C_Item.GetItemInfo(1477); --"Scroll of Agility II"
_,SMARTBUFF_SOAGILITY3 = C_Item.GetItemInfo(4425); --"Scroll of Agility III"
_,SMARTBUFF_SOAGILITY4 = C_Item.GetItemInfo(10309); --"Scroll of Agility IV"
_,SMARTBUFF_SOAGILITY5 = C_Item.GetItemInfo(27498); --"Scroll of Agility V"
_,SMARTBUFF_SOAGILITY6 = C_Item.GetItemInfo(33457); --"Scroll of Agility VI"
_,SMARTBUFF_SOAGILITY7 = C_Item.GetItemInfo(43463); --"Scroll of Agility VII"
_,SMARTBUFF_SOAGILITY8 = C_Item.GetItemInfo(43464); --"Scroll of Agility VIII"
_,SMARTBUFF_SOAGILITY9 = C_Item.GetItemInfo(63303); --"Scroll of Agility IX"
_,SMARTBUFF_SOINTELLECT1 = C_Item.GetItemInfo(955); --"Scroll of Intellect I"
_,SMARTBUFF_SOINTELLECT2 = C_Item.GetItemInfo(2290); --"Scroll of Intellect II"
_,SMARTBUFF_SOINTELLECT3 = C_Item.GetItemInfo(4419); --"Scroll of Intellect III"
_,SMARTBUFF_SOINTELLECT4 = C_Item.GetItemInfo(10308); --"Scroll of Intellect IV"
_,SMARTBUFF_SOINTELLECT5 = C_Item.GetItemInfo(27499); --"Scroll of Intellect V"
_,SMARTBUFF_SOINTELLECT6 = C_Item.GetItemInfo(33458); --"Scroll of Intellect VI"
_,SMARTBUFF_SOINTELLECT7 = C_Item.GetItemInfo(37091); --"Scroll of Intellect VII"
_,SMARTBUFF_SOINTELLECT8 = C_Item.GetItemInfo(37092); --"Scroll of Intellect VIII"
_,SMARTBUFF_SOINTELLECT9 = C_Item.GetItemInfo(63305); --"Scroll of Intellect IX"
_,SMARTBUFF_SOSTAMINA1 = C_Item.GetItemInfo(1180); --"Scroll of Stamina I"
_,SMARTBUFF_SOSTAMINA2 = C_Item.GetItemInfo(1711); --"Scroll of Stamina II"
_,SMARTBUFF_SOSTAMINA3 = C_Item.GetItemInfo(4422); --"Scroll of Stamina III"
_,SMARTBUFF_SOSTAMINA4 = C_Item.GetItemInfo(10307); --"Scroll of Stamina IV"
_,SMARTBUFF_SOSTAMINA5 = C_Item.GetItemInfo(27502); --"Scroll of Stamina V"
_,SMARTBUFF_SOSTAMINA6 = C_Item.GetItemInfo(33461); --"Scroll of Stamina VI"
_,SMARTBUFF_SOSTAMINA7 = C_Item.GetItemInfo(37093); --"Scroll of Stamina VII"
_,SMARTBUFF_SOSTAMINA8 = C_Item.GetItemInfo(37094); --"Scroll of Stamina VIII"
_,SMARTBUFF_SOSTAMINA9 = C_Item.GetItemInfo(63306); --"Scroll of Stamina IX"
_,SMARTBUFF_SOSPIRIT1 = C_Item.GetItemInfo(1181); --"Scroll of Spirit I"
_,SMARTBUFF_SOSPIRIT2 = C_Item.GetItemInfo(1712); --"Scroll of Spirit II"
_,SMARTBUFF_SOSPIRIT3 = C_Item.GetItemInfo(4424); --"Scroll of Spirit III"
_,SMARTBUFF_SOSPIRIT4 = C_Item.GetItemInfo(10306); --"Scroll of Spirit IV"
_,SMARTBUFF_SOSPIRIT5 = C_Item.GetItemInfo(27501); --"Scroll of Spirit V"
_,SMARTBUFF_SOSPIRIT6 = C_Item.GetItemInfo(33460); --"Scroll of Spirit VI"
_,SMARTBUFF_SOSPIRIT7 = C_Item.GetItemInfo(37097); --"Scroll of Spirit VII"
_,SMARTBUFF_SOSPIRIT8 = C_Item.GetItemInfo(37098); --"Scroll of Spirit VIII"
_,SMARTBUFF_SOSPIRIT9 = C_Item.GetItemInfo(63307); --"Scroll of Spirit IX"
_,SMARTBUFF_SOSTRENGHT1 = C_Item.GetItemInfo(954); --"Scroll of Strength I"
_,SMARTBUFF_SOSTRENGHT2 = C_Item.GetItemInfo(2289); --"Scroll of Strength II"
_,SMARTBUFF_SOSTRENGHT3 = C_Item.GetItemInfo(4426); --"Scroll of Strength III"
_,SMARTBUFF_SOSTRENGHT4 = C_Item.GetItemInfo(10310); --"Scroll of Strength IV"
_,SMARTBUFF_SOSTRENGHT5 = C_Item.GetItemInfo(27503); --"Scroll of Strength V"
_,SMARTBUFF_SOSTRENGHT6 = C_Item.GetItemInfo(33462); --"Scroll of Strength VI"
_,SMARTBUFF_SOSTRENGHT7 = C_Item.GetItemInfo(43465); --"Scroll of Strength VII"
_,SMARTBUFF_SOSTRENGHT8 = C_Item.GetItemInfo(43466); --"Scroll of Strength VIII"
_,SMARTBUFF_SOSTRENGHT9 = C_Item.GetItemInfo(63304); --"Scroll of Strength IX"
_,SMARTBUFF_SOPROTECTION9 = C_Item.GetItemInfo(63308); --"Scroll of Protection IX"
_,SMARTBUFF_MiscItem1 = C_Item.GetItemInfo(178512); --"Celebration Package"
_,SMARTBUFF_MiscItem2 = C_Item.GetItemInfo(44986); --"Warts-B-Gone Lip Balm"
_,SMARTBUFF_MiscItem3 = C_Item.GetItemInfo(69775); --"Vrykul Drinking Horn"
_,SMARTBUFF_MiscItem4 = C_Item.GetItemInfo(86569); --"Crystal of Insanity"
_,SMARTBUFF_MiscItem5 = C_Item.GetItemInfo(85500); --"Anglers Fishing Raft"
_,SMARTBUFF_MiscItem6 = C_Item.GetItemInfo(85973); --"Ancient Pandaren Fishing Charm"
_,SMARTBUFF_MiscItem7 = C_Item.GetItemInfo(94604); --"Burning Seed"
_,SMARTBUFF_MiscItem9 = C_Item.GetItemInfo(92738); --"Safari Hat"
_,SMARTBUFF_MiscItem10 = C_Item.GetItemInfo(110424); --"Savage Safari Hat"
_,SMARTBUFF_MiscItem11 = C_Item.GetItemInfo(118922); --"Oralius' Whispering Crystal"
_,SMARTBUFF_MiscItem12 = C_Item.GetItemInfo(129192); --"Inquisitor's Menacing Eye"
_,SMARTBUFF_MiscItem13 = C_Item.GetItemInfo(129210); --"Fel Crystal Fragments"
_,SMARTBUFF_MiscItem14 = C_Item.GetItemInfo(128475); --"Empowered Augment Rune"
_,SMARTBUFF_MiscItem15 = C_Item.GetItemInfo(128482); --"Empowered Augment Rune"
_,SMARTBUFF_MiscItem17 = C_Item.GetItemInfo(147707); --"Repurposed Fel Focuser"
--Shadowlands
_,SMARTBUFF_AugmentRune = C_Item.GetItemInfo(190384); --"Eternal Augment Rune"
_,SMARTBUFF_VieledAugment = C_Item.GetItemInfo(181468); --"Veiled Augment Rune"
_,SMARTBUFF_DreamAugmentRune = C_Item.GetItemInfo(211495); --"Dreambound Augment Rune"
--Dragonflight
_,SMARTBUFF_DraconicRune = C_Item.GetItemInfo(201325); -- Draconic Augment Rune
_,SMARTBUFF_VantusRune_VotI_q1 = C_Item.GetItemInfo(198491); -- Vantus Rune: Vault of the Incarnates (Quality 1)
_,SMARTBUFF_VantusRune_VotI_q2 = C_Item.GetItemInfo(198492); -- Vantus Rune: Vault of the Incarnates (Quality 2)
_,SMARTBUFF_VantusRune_VotI_q3 = C_Item.GetItemInfo(198493); -- Vantus Rune: Vault of the Incarnates (Quality 3)
_,SMARTBUFF_FLASKTBC1 = C_Item.GetItemInfo(22854); --"Flask of Relentless Assault"
_,SMARTBUFF_FLASKTBC2 = C_Item.GetItemInfo(22866); --"Flask of Pure Death"
_,SMARTBUFF_FLASKTBC3 = C_Item.GetItemInfo(22851); --"Flask of Fortification"
_,SMARTBUFF_FLASKTBC4 = C_Item.GetItemInfo(22861); --"Flask of Blinding Light"
_,SMARTBUFF_FLASKTBC5 = C_Item.GetItemInfo(22853); --"Flask of Mighty Versatility"
_,SMARTBUFF_FLASK1 = C_Item.GetItemInfo(46377); --"Flask of Endless Rage"
_,SMARTBUFF_FLASK2 = C_Item.GetItemInfo(46376); --"Flask of the Frost Wyrm"
_,SMARTBUFF_FLASK3 = C_Item.GetItemInfo(46379); --"Flask of Stoneblood"
_,SMARTBUFF_FLASK4 = C_Item.GetItemInfo(46378); --"Flask of Pure Mojo"
_,SMARTBUFF_FLASKCT1 = C_Item.GetItemInfo(58087); --"Flask of the Winds"
_,SMARTBUFF_FLASKCT2 = C_Item.GetItemInfo(58088); --"Flask of Titanic Strength"
_,SMARTBUFF_FLASKCT3 = C_Item.GetItemInfo(58086); --"Flask of the Draconic Mind"
_,SMARTBUFF_FLASKCT4 = C_Item.GetItemInfo(58085); --"Flask of Steelskin"
_,SMARTBUFF_FLASKCT5 = C_Item.GetItemInfo(67438); --"Flask of Flowing Water"
_,SMARTBUFF_FLASKCT7 = C_Item.GetItemInfo(65455); --"Flask of Battle"
_,SMARTBUFF_FLASKMOP1 = C_Item.GetItemInfo(75525); --"Alchemist's Flask"
_,SMARTBUFF_FLASKMOP2 = C_Item.GetItemInfo(76087); --"Flask of the Earth"
_,SMARTBUFF_FLASKMOP3 = C_Item.GetItemInfo(76086); --"Flask of Falling Leaves"
_,SMARTBUFF_FLASKMOP4 = C_Item.GetItemInfo(76084); --"Flask of Spring Blossoms"
_,SMARTBUFF_FLASKMOP5 = C_Item.GetItemInfo(76085); --"Flask of the Warm Sun"
_,SMARTBUFF_FLASKMOP6 = C_Item.GetItemInfo(76088); --"Flask of Winter's Bite"
_,SMARTBUFF_FLASKWOD1 = C_Item.GetItemInfo(109152); --"Draenic Stamina Flask"
_,SMARTBUFF_FLASKWOD2 = C_Item.GetItemInfo(109148); --"Draenic Strength Flask"
_,SMARTBUFF_FLASKWOD3 = C_Item.GetItemInfo(109147); --"Draenic Intellect Flask"
_,SMARTBUFF_FLASKWOD4 = C_Item.GetItemInfo(109145); --"Draenic Agility Flask"
_,SMARTBUFF_GRFLASKWOD1 = C_Item.GetItemInfo(109160); --"Greater Draenic Stamina Flask"
_,SMARTBUFF_GRFLASKWOD2 = C_Item.GetItemInfo(109156); --"Greater Draenic Strength Flask"
_,SMARTBUFF_GRFLASKWOD3 = C_Item.GetItemInfo(109155); --"Greater Draenic Intellect Flask"
_,SMARTBUFF_GRFLASKWOD4 = C_Item.GetItemInfo(109153); --"Greater Draenic Agility Flask"
_,SMARTBUFF_FLASKLEG1 = C_Item.GetItemInfo(127850); --"Flask of Ten Thousand Scars"
_,SMARTBUFF_FLASKLEG2 = C_Item.GetItemInfo(127849); --"Flask of the Countless Armies"
_,SMARTBUFF_FLASKLEG3 = C_Item.GetItemInfo(127847); --"Flask of the Whispered Pact"
_,SMARTBUFF_FLASKLEG4 = C_Item.GetItemInfo(127848); --"Flask of the Seventh Demon"
_,SMARTBUFF_FLASKBFA1 = C_Item.GetItemInfo(152639); --"Flask of Endless Fathoms"
_,SMARTBUFF_FLASKBFA2 = C_Item.GetItemInfo(152638); --"Flask of the Currents"
_,SMARTBUFF_FLASKBFA3 = C_Item.GetItemInfo(152641); --"Flask of the Undertow"
_,SMARTBUFF_FLASKBFA4 = C_Item.GetItemInfo(152640); --"Flask of the Vast Horizon"
_,SMARTBUFF_GRFLASKBFA1 = C_Item.GetItemInfo(168652); --"Greather Flask of Endless Fathoms"
_,SMARTBUFF_GRFLASKBFA2 = C_Item.GetItemInfo(168651); --"Greater Flask of the Currents"
_,SMARTBUFF_GRFLASKBFA3 = C_Item.GetItemInfo(168654); --"Greather Flask of teh Untertow"
_,SMARTBUFF_GRFLASKBFA4 = C_Item.GetItemInfo(168653); --"Greater Flask of the Vast Horizon"
_,SMARTBUFF_FLASKSL1 = C_Item.GetItemInfo(171276); --"Spectral Flask of Power"
_,SMARTBUFF_FLASKSL2 = C_Item.GetItemInfo(171278); --"Spectral Flask of Stamina"
_,SMARTBUFF_FlaskDF1_q1 = C_Item.GetItemInfo(191318); -- Phial of the Eye in the Storm (Quality 1)
_,SMARTBUFF_FlaskDF1_q2 = C_Item.GetItemInfo(191319); -- Phial of the Eye in the Storm (Quality 2)
_,SMARTBUFF_FlaskDF1_q3 = C_Item.GetItemInfo(191320); -- Phial of the Eye in the Storm (Quality 3)
_,SMARTBUFF_FlaskDF2_q1 = C_Item.GetItemInfo(191321); -- Phial of Still Air (Quality 1)
_,SMARTBUFF_FlaskDF2_q2 = C_Item.GetItemInfo(191322); -- Phial of Still Air (Quality 2)
_,SMARTBUFF_FlaskDF2_q3 = C_Item.GetItemInfo(191323); -- Phial of Still Air (Quality 3)
_,SMARTBUFF_FlaskDF3_q1 = C_Item.GetItemInfo(191324); -- Phial of Icy Preservation (Quality 1)
_,SMARTBUFF_FlaskDF3_q2 = C_Item.GetItemInfo(191325); -- Phial of Icy Preservation (Quality 2)
_,SMARTBUFF_FlaskDF3_q3 = C_Item.GetItemInfo(191326); -- Phial of Icy Preservation (Quality 3)
_,SMARTBUFF_FlaskDF4_q1 = C_Item.GetItemInfo(191327); -- Iced Phial of Corrupting Rage (Quality 1)
_,SMARTBUFF_FlaskDF4_q2 = C_Item.GetItemInfo(191328); -- Iced Phial of Corrupting Rage (Quality 2)
_,SMARTBUFF_FlaskDF4_q3 = C_Item.GetItemInfo(191329); -- Iced Phial of Corrupting Rage (Quality 3)
_,SMARTBUFF_FlaskDF5_q1 = C_Item.GetItemInfo(191330); -- Phial of Charged Isolation (Quality 1)
_,SMARTBUFF_FlaskDF5_q2 = C_Item.GetItemInfo(191331); -- Phial of Charged Isolation (Quality 2)
_,SMARTBUFF_FlaskDF5_q3 = C_Item.GetItemInfo(191332); -- Phial of Charged Isolation (Quality 3)
_,SMARTBUFF_FlaskDF6_q1 = C_Item.GetItemInfo(191333); -- Phial of Glacial Fury (Quality 1)
_,SMARTBUFF_FlaskDF6_q2 = C_Item.GetItemInfo(191334); -- Phial of Glacial Fury (Quality 2)
_,SMARTBUFF_FlaskDF6_q3 = C_Item.GetItemInfo(191335); -- Phial of Glacial Fury (Quality 3)
_,SMARTBUFF_FlaskDF7_q1 = C_Item.GetItemInfo(191336); -- Phial of Static Empowerment (Quality 1)
_,SMARTBUFF_FlaskDF7_q2 = C_Item.GetItemInfo(191337); -- Phial of Static Empowerment (Quality 2)
_,SMARTBUFF_FlaskDF7_q3 = C_Item.GetItemInfo(191338); -- Phial of Static Empowerment (Quality 3)
_,SMARTBUFF_FlaskDF8_q1 = C_Item.GetItemInfo(191339); -- Phial of Tepid Versatility (Quality 1)
_,SMARTBUFF_FlaskDF8_q2 = C_Item.GetItemInfo(191340); -- Phial of Tepid Versatility (Quality 2)
_,SMARTBUFF_FlaskDF8_q3 = C_Item.GetItemInfo(191341); -- Phial of Tepid Versatility (Quality 3)
_,SMARTBUFF_FlaskDF9_q1 = C_Item.GetItemInfo(191342); -- Aerated Phial of Deftness (Quality 1)
_,SMARTBUFF_FlaskDF9_q3 = C_Item.GetItemInfo(191343); -- Aerated Phial of Deftness (Quality 2)
_,SMARTBUFF_FlaskDF9_q3 = C_Item.GetItemInfo(191344); -- Aerated Phial of Deftness (Quality 3)
_,SMARTBUFF_FlaskDF10_q1 = C_Item.GetItemInfo(191345); -- Steaming Phial of Finesse (Quality 1)
_,SMARTBUFF_FlaskDF10_q2 = C_Item.GetItemInfo(191346); -- Steaming Phial of Finesse (Quality 1)
_,SMARTBUFF_FlaskDF10_q3 = C_Item.GetItemInfo(191347); -- Steaming Phial of Finesse (Quality 1)
_,SMARTBUFF_FlaskDF11_q1 = C_Item.GetItemInfo(191348); -- Charged Phial of Alacrity (Quality 1)
_,SMARTBUFF_FlaskDF11_q2 = C_Item.GetItemInfo(191349); -- Charged Phial of Alacrity (Quality 2)
_,SMARTBUFF_FlaskDF11_q3 = C_Item.GetItemInfo(191350); -- Charged Phial of Alacrity (Quality 3)
_,SMARTBUFF_FlaskDF12_q1 = C_Item.GetItemInfo(191354); -- Crystalline Phial of Perception (Quality 1)
_,SMARTBUFF_FlaskDF12_q2 = C_Item.GetItemInfo(191355); -- Crystalline Phial of Perception (Quality 2)
_,SMARTBUFF_FlaskDF12_q3 = C_Item.GetItemInfo(191356); -- Crystalline Phial of Perception (Quality 3)
_,SMARTBUFF_FlaskDF13_q1 = C_Item.GetItemInfo(191357); -- Phial of Elemental Chaos (Quality 1)
_,SMARTBUFF_FlaskDF13_q2 = C_Item.GetItemInfo(191358); -- Phial of Elemental Chaos (Quality 2)
_,SMARTBUFF_FlaskDF13_q3 = C_Item.GetItemInfo(191359); -- Phial of Elemental Chaos (Quality 3)
_,SMARTBUFF_FlaskDF14_q1 = C_Item.GetItemInfo(197720); -- Aerated Phial of Quick Hands (Quality 1)
_,SMARTBUFF_FlaskDF14_q2 = C_Item.GetItemInfo(197721); -- Aerated Phial of Quick Hands (Quality 2)
_,SMARTBUFF_FlaskDF14_q3 = C_Item.GetItemInfo(197722); -- Aerated Phial of Quick Hands (Quality 3)
_,SMARTBUFF_ELIXIRTBC1 = C_Item.GetItemInfo(22831); --"Elixir of Major Agility"
_,SMARTBUFF_ELIXIRTBC2 = C_Item.GetItemInfo(28104); --"Elixir of Mastery"
_,SMARTBUFF_ELIXIRTBC3 = C_Item.GetItemInfo(22825); --"Elixir of Healing Power"
_,SMARTBUFF_ELIXIRTBC4 = C_Item.GetItemInfo(22834); --"Elixir of Major Defense"
_,SMARTBUFF_ELIXIRTBC5 = C_Item.GetItemInfo(22824); --"Elixir of Major Strangth"
_,SMARTBUFF_ELIXIRTBC6 = C_Item.GetItemInfo(32062); --"Elixir of Major Fortitude"
_,SMARTBUFF_ELIXIRTBC7 = C_Item.GetItemInfo(22840); --"Elixir of Major Mageblood"
_,SMARTBUFF_ELIXIRTBC8 = C_Item.GetItemInfo(32067); --"Elixir of Draenic Wisdom"
_,SMARTBUFF_ELIXIRTBC9 = C_Item.GetItemInfo(28103); --"Adept's Elixir"
_,SMARTBUFF_ELIXIRTBC10 = C_Item.GetItemInfo(22848); --"Elixir of Empowerment"
_,SMARTBUFF_ELIXIRTBC11 = C_Item.GetItemInfo(28102); --"Onslaught Elixir"
_,SMARTBUFF_ELIXIRTBC12 = C_Item.GetItemInfo(22835); --"Elixir of Major Shadow Power"
_,SMARTBUFF_ELIXIRTBC13 = C_Item.GetItemInfo(32068); --"Elixir of Ironskin"
_,SMARTBUFF_ELIXIRTBC14 = C_Item.GetItemInfo(32063); --"Earthen Elixir"
_,SMARTBUFF_ELIXIRTBC15 = C_Item.GetItemInfo(22827); --"Elixir of Major Frost Power"
_,SMARTBUFF_ELIXIRTBC16 = C_Item.GetItemInfo(31679); --"Fel Strength Elixir"
_,SMARTBUFF_ELIXIRTBC17 = C_Item.GetItemInfo(22833); --"Elixir of Major Firepower"
_,SMARTBUFF_ELIXIR1 = C_Item.GetItemInfo(39666); --"Elixir of Mighty Agility"
_,SMARTBUFF_ELIXIR2 = C_Item.GetItemInfo(44332); --"Elixir of Mighty Thoughts"
_,SMARTBUFF_ELIXIR3 = C_Item.GetItemInfo(40078); --"Elixir of Mighty Fortitude"
_,SMARTBUFF_ELIXIR4 = C_Item.GetItemInfo(40073); --"Elixir of Mighty Strength"
_,SMARTBUFF_ELIXIR5 = C_Item.GetItemInfo(40072); --"Elixir of Spirit"
_,SMARTBUFF_ELIXIR6 = C_Item.GetItemInfo(40097); --"Elixir of Protection"
_,SMARTBUFF_ELIXIR7 = C_Item.GetItemInfo(44328); --"Elixir of Mighty Defense"
_,SMARTBUFF_ELIXIR8 = C_Item.GetItemInfo(44331); --"Elixir of Lightning Speed"
_,SMARTBUFF_ELIXIR9 = C_Item.GetItemInfo(44329); --"Elixir of Expertise"
_,SMARTBUFF_ELIXIR10 = C_Item.GetItemInfo(44327); --"Elixir of Deadly Strikes"
_,SMARTBUFF_ELIXIR11 = C_Item.GetItemInfo(44330); --"Elixir of Armor Piercing"
_,SMARTBUFF_ELIXIR12 = C_Item.GetItemInfo(44325); --"Elixir of Accuracy"
_,SMARTBUFF_ELIXIR13 = C_Item.GetItemInfo(40076); --"Guru's Elixir"
_,SMARTBUFF_ELIXIR14 = C_Item.GetItemInfo(9187); --"Elixir of Greater Agility"
_,SMARTBUFF_ELIXIR15 = C_Item.GetItemInfo(28103); --"Adept's Elixir"
_,SMARTBUFF_ELIXIR16 = C_Item.GetItemInfo(40070); --"Spellpower Elixir"
_,SMARTBUFF_ELIXIRCT1 = C_Item.GetItemInfo(58148); --"Elixir of the Master"
_,SMARTBUFF_ELIXIRCT2 = C_Item.GetItemInfo(58144); --"Elixir of Mighty Speed"
_,SMARTBUFF_ELIXIRCT3 = C_Item.GetItemInfo(58094); --"Elixir of Impossible Accuracy"
_,SMARTBUFF_ELIXIRCT4 = C_Item.GetItemInfo(58143); --"Prismatic Elixir"
_,SMARTBUFF_ELIXIRCT5 = C_Item.GetItemInfo(58093); --"Elixir of Deep Earth"
_,SMARTBUFF_ELIXIRCT6 = C_Item.GetItemInfo(58092); --"Elixir of the Cobra"
_,SMARTBUFF_ELIXIRCT7 = C_Item.GetItemInfo(58089); --"Elixir of the Naga"
_,SMARTBUFF_ELIXIRCT8 = C_Item.GetItemInfo(58084); --"Ghost Elixir"
_,SMARTBUFF_ELIXIRMOP1 = C_Item.GetItemInfo(76081); --"Elixir of Mirrors"
_,SMARTBUFF_ELIXIRMOP2 = C_Item.GetItemInfo(76079); --"Elixir of Peace"
_,SMARTBUFF_ELIXIRMOP3 = C_Item.GetItemInfo(76080); --"Elixir of Perfection"
_,SMARTBUFF_ELIXIRMOP4 = C_Item.GetItemInfo(76078); --"Elixir of the Rapids"
_,SMARTBUFF_ELIXIRMOP5 = C_Item.GetItemInfo(76077); --"Elixir of Weaponry"
_,SMARTBUFF_ELIXIRMOP6 = C_Item.GetItemInfo(76076); --"Mad Hozen Elixir"
_,SMARTBUFF_ELIXIRMOP7 = C_Item.GetItemInfo(76075); --"Mantid Elixir"
_,SMARTBUFF_ELIXIRMOP8 = C_Item.GetItemInfo(76083); --"Monk's Elixir"
-- TWW
-- Consumables
_,SMARTBUFF_TWWCrystalAugRune1 = C_Item.GetItemInfo(224572); --"Crystallized Augment Rune"
-- Flasks and phials
_,SMARTBUFF_FLASKTWW1_Q1 = C_Item.GetItemInfo(212269); --"Flask of Tempered Aggression"
_,SMARTBUFF_FLASKTWW1_Q2 = C_Item.GetItemInfo(212270); --"Flask of Tempered Aggression"
_,SMARTBUFF_FLASKTWW1_Q3 = C_Item.GetItemInfo(212271); --"Flask of Tempered Aggression"
_,SMARTBUFF_FLASKTWW2_Q1 = C_Item.GetItemInfo(212272); --"Flask of Tempered Swiftness"
_,SMARTBUFF_FLASKTWW2_Q2 = C_Item.GetItemInfo(212273); --"Flask of Tempered Swiftness"
_,SMARTBUFF_FLASKTWW2_Q3 = C_Item.GetItemInfo(212274); --"Flask of Tempered Swiftness"
_,SMARTBUFF_FLASKTWW3_Q1 = C_Item.GetItemInfo(212275); --"Flask of Tempered Versatility"
_,SMARTBUFF_FLASKTWW3_Q2 = C_Item.GetItemInfo(212276); --"Flask of Tempered Versatility"
_,SMARTBUFF_FLASKTWW3_Q3 = C_Item.GetItemInfo(212277); --"Flask of Tempered Versatility"
_,SMARTBUFF_FLASKTWW4_Q1 = C_Item.GetItemInfo(212278); --"Flask of Tempered Mastery"
_,SMARTBUFF_FLASKTWW4_Q2 = C_Item.GetItemInfo(212279); --"Flask of Tempered Mastery"
_,SMARTBUFF_FLASKTWW4_Q3 = C_Item.GetItemInfo(212280); --"Flask of Tempered Mastery"
_,SMARTBUFF_FLASKTWW5_Q1 = C_Item.GetItemInfo(212281); --"Flask of Alchemical Chaos"
_,SMARTBUFF_FLASKTWW5_Q2 = C_Item.GetItemInfo(212282); --"Flask of Alchemical Chaos"
_,SMARTBUFF_FLASKTWW5_Q3 = C_Item.GetItemInfo(212283); --"Flask of Alchemical Chaos"
_,SMARTBUFF_FLASKTWWPvP_1 = C_Item.GetItemInfo(212289); --"Vicious Flask of Classical Spirits"
_,SMARTBUFF_FLASKTWWPvP_2 = C_Item.GetItemInfo(212292); --"Vicious Flask of Honor"
_,SMARTBUFF_FLASKTWWPvP_3 = C_Item.GetItemInfo(212295); --"Vicious Flask of Manifested Fury"
_,SMARTBUFF_FLASKTWWPvP_4 = C_Item.GetItemInfo(212298); --"Vicious Flask of the Wrecking Ball"
_,SMARTBUFF_FLASKTWW6_Q1 = C_Item.GetItemInfo(212299); --"Flask of Saving Graces"
_,SMARTBUFF_FLASKTWW6_Q2 = C_Item.GetItemInfo(212300); --"Flask of Saving Graces"
_,SMARTBUFF_FLASKTWW6_Q3 = C_Item.GetItemInfo(212301); --"Flask of Saving Graces"
_,SMARTBUFF_FLASKTWW7_Q1 = C_Item.GetItemInfo(212305); --"Phial of Concentrated Ingenuity"
_,SMARTBUFF_FLASKTWW7_Q2 = C_Item.GetItemInfo(212306); --"Phial of Concentrated Ingenuity"
_,SMARTBUFF_FLASKTWW7_Q3 = C_Item.GetItemInfo(212307); --"Phial of Concentrated Ingenuity"
_,SMARTBUFF_FLASKTWW8_Q1 = C_Item.GetItemInfo(212308); --"Phial of Truesight"
_,SMARTBUFF_FLASKTWW8_Q2 = C_Item.GetItemInfo(212309); --"Phial of Truesight"
_,SMARTBUFF_FLASKTWW8_Q3 = C_Item.GetItemInfo(212310); --"Phial of Truesight"
_,SMARTBUFF_FLASKTWW9_Q1 = C_Item.GetItemInfo(212311); --"Phial of Enhanced Ambidexterity"
_,SMARTBUFF_FLASKTWW9_Q2 = C_Item.GetItemInfo(212312); --"Phial of Enhanced Ambidexterity"
_,SMARTBUFF_FLASKTWW9_Q3 = C_Item.GetItemInfo(212313); --"Phial of Enhanced Ambidexterity"
_,SMARTBUFF_FLASKTWW10_Q1 = C_Item.GetItemInfo(212314); --"Phial of Bountiful Seasons"
_,SMARTBUFF_FLASKTWW10_Q2 = C_Item.GetItemInfo(212315); --"Phial of Bountiful Seasons"
_,SMARTBUFF_FLASKTWW10_Q3 = C_Item.GetItemInfo(212316); --"Phial of Bountiful Seasons"
_,SMARTBUFF_FLASKTWW11_Q1 = C_Item.GetItemInfo(212725); --"Fleeting Flask of Tempered Aggression"
_,SMARTBUFF_FLASKTWW11_Q2 = C_Item.GetItemInfo(212727); --"Fleeting Flask of Tempered Aggression"
_,SMARTBUFF_FLASKTWW11_Q3 = C_Item.GetItemInfo(212728); --"Fleeting Flask of Tempered Aggression"
_,SMARTBUFF_FLASKTWW12_Q1 = C_Item.GetItemInfo(212729); --"Fleeting Flask of Tempered Swiftness"
_,SMARTBUFF_FLASKTWW12_Q2 = C_Item.GetItemInfo(212730); --"Fleeting Flask of Tempered Swiftness"
_,SMARTBUFF_FLASKTWW12_Q3 = C_Item.GetItemInfo(212731); --"Fleeting Flask of Tempered Swiftness"
_,SMARTBUFF_FLASKTWW13_Q1 = C_Item.GetItemInfo(212732); --"Fleeting Flask of Tempered Versatility"
_,SMARTBUFF_FLASKTWW13_Q2 = C_Item.GetItemInfo(212733); --"Fleeting Flask of Tempered Versatility"
_,SMARTBUFF_FLASKTWW13_Q3 = C_Item.GetItemInfo(212734); --"Fleeting Flask of Tempered Versatility"
_,SMARTBUFF_FLASKTWW14_Q1 = C_Item.GetItemInfo(212735); --"Fleeting Flask of Tempered Mastery"
_,SMARTBUFF_FLASKTWW14_Q2 = C_Item.GetItemInfo(212736); --"Fleeting Flask of Tempered Mastery"
_,SMARTBUFF_FLASKTWW14_Q3 = C_Item.GetItemInfo(212738); --"Fleeting Flask of Tempered Mastery"
_,SMARTBUFF_FLASKTWW15_Q1 = C_Item.GetItemInfo(212739); --"Fleeting Flask of Alchemical Chaos"
_,SMARTBUFF_FLASKTWW15_Q2 = C_Item.GetItemInfo(212740); --"Fleeting Flask of Alchemical Chaos"
_,SMARTBUFF_FLASKTWW15_Q3 = C_Item.GetItemInfo(212741); --"Fleeting Flask of Alchemical Chaos"
_,SMARTBUFF_FLASKTWW16_Q1 = C_Item.GetItemInfo(212745); --"Fleeting Flask of Saving Graces"
_,SMARTBUFF_FLASKTWW16_Q2 = C_Item.GetItemInfo(212746); --"Fleeting Flask of Saving Graces"
_,SMARTBUFF_FLASKTWW16_Q3 = C_Item.GetItemInfo(212747); --"Fleeting Flask of Saving Graces"
-- Draught of Ten Lands
_,SMARTBUFF_EXP_POTION = C_Item.GetItemInfo(166750); --"Draught of Ten Lands"
-- fishing pole
_, _, _, _, _, _, S.FishingPole = C_Item.GetItemInfo(6256); --"Fishing Pole"
SMARTBUFF_AddMsgD("Item list initialized");
-- i still want to load them regardless of the option to turn them off/hide them
-- so that my settings are preserved and loaded should i turn it back on.
LoadToys();
end
function SMARTBUFF_InitSpellIDs()
SMARTBUFF_TESTSPELL = getSpellBookItemByName(774);
-- Druid
SMARTBUFF_DRUID_CAT = getSpellBookItemByName(768); --"Cat Form"
SMARTBUFF_DRUID_TREE = getSpellBookItemByName(33891); --"Incarnation: Tree of Life"
SMARTBUFF_DRUID_TREANT = getSpellBookItemByName(114282);--"Treant Form"
SMARTBUFF_DRUID_MOONKIN = getSpellBookItemByName(24858); --"Moonkin Form"
--SMARTBUFF_DRUID_MKAURA = getSpellBookItemByName(24907); --"Moonkin Aura"
SMARTBUFF_DRUID_TRACK = getSpellBookItemByName(5225); --"Track Humanoids"
SMARTBUFF_MOTW = getSpellBookItemByName(1126); --"Mark of the Wild"
SMARTBUFF_BARKSKIN = getSpellBookItemByName(22812); --"Barkskin"
SMARTBUFF_TIGERSFURY = getSpellBookItemByName(5217); --"Tiger's Fury"
SMARTBUFF_SAVAGEROAR = getSpellBookItemByName(52610); --"Savage Roar"
SMARTBUFF_CENARIONWARD = getSpellBookItemByName(102351);--"Cenarion Ward"
SMARTBUFF_DRUID_BEAR = getSpellBookItemByName(5487); --"Bear Form"
-- Priest
SMARTBUFF_PWF = getSpellBookItemByName(21562); --"Power Word: Fortitude"
SMARTBUFF_PWS = getSpellBookItemByName(17); --"Power Word: Shield"
--SMARTBUFF_FEARWARD = getSpellBookItemByName(6346); --"Fear Ward"
SMARTBUFF_RENEW = getSpellBookItemByName(139); --"Renew"
SMARTBUFF_LEVITATE = getSpellBookItemByName(1706); --"Levitate"
SMARTBUFF_SHADOWFORM = getSpellBookItemByName(232698); --"Shadowform"
SMARTBUFF_VAMPIRICEMBRACE = getSpellBookItemByName(15286); --"Vampiric Embrace"
--SMARTBUFF_LIGHTWELL = getSpellBookItemByName(724); --"Lightwell"
--SMARTBUFF_CHAKRA1 = getSpellBookItemByName(81206) --"Chakra Sanctuary"
--SMARTBUFF_CHAKRA2 = getSpellBookItemByName(81208) --"Chakra Serenity"
--SMARTBUFF_CHAKRA3 = getSpellBookItemByName(81209) --"Chakra Chastise"
-- Priest buff links
S.LinkPriestChakra = { SMARTBUFF_CHAKRA1, SMARTBUFF_CHAKRA2, SMARTBUFF_CHAKRA3 };
-- Mage
SMARTBUFF_AB = getSpellBookItemByName(1459); --"Arcane Intellect"
--SMARTBUFF_DALARANB = getSpellBookItemByName(61316); --"Dalaran Brilliance"
--SMARTBUFF_FROSTARMOR = getSpellBookItemByName(7302); --"Frost Armor"
--SMARTBUFF_MAGEARMOR = getSpellBookItemByName(6117); --"Mage Armor"
--SMARTBUFF_MOLTENARMOR = getSpellBookItemByName(30482); --"Molten Armor"
SMARTBUFF_MANASHIELD = getSpellBookItemByName(35064); --"Mana Shield"
--SMARTBUFF_ICEWARD = getSpellBookItemByName(111264);--"Ice Ward"
SMARTBUFF_ICEBARRIER = getSpellBookItemByName(11426); --"Ice Barrier"
SMARTBUFF_MASSBARRIER = getSpellBookItemByName(414660); --"Mass Barrier"
--SMARTBUFF_COMBUSTION = getSpellBookItemByName(11129); --"Combustion"
SMARTBUFF_ARCANEPOWER = getSpellBookItemByName(12042); --"Arcane Power"
SMARTBUFF_PRESENCEOFMIND = getSpellBookItemByName(205025); --"Presence of Mind"
SMARTBUFF_ICYVEINS = getSpellBookItemByName(12472); --"Icy Veins"
SMARTBUFF_SUMMONWATERELE = getSpellBookItemByName(31687); --"Summon Water Elemental"
SMARTBUFF_SLOWFALL = getSpellBookItemByName(130); --"Slow Fall"
SMARTBUFF_REFRESHMENT = getSpellBookItemByName(42955); --"Conjure Refreshment"
--SMARTBUFF_TEMPSHIELD = getSpellBookItemByName(198111);--"Temporal Shield"
--SMARTBUFF_AMPMAGIC = getSpellBookItemByName(159916);--"Amplify Magic"
SMARTBUFF_PRISBARRIER = getSpellBookItemByName(235450);--"Prismatic Barrier"
SMARTBUFF_IMPPRISBARRIER = getSpellBookItemByName(321745);--"Improved Prismatic Barrier"
SMARTBUFF_BLAZBARRIER = getSpellBookItemByName(235313);--"Blazing Barrier"
SMARTBUFF_ARCANEFAMILIAR = getSpellBookItemByName(205022);--"Arcane Familiar"
SMARTBUFF_CREATEMG = getSpellBookItemByName(759); --"Conjure Mana Gem"
-- Mage buff links
S.ChainMageArmor = { SMARTBUFF_FROSTARMOR, SMARTBUFF_MAGEARMOR, SMARTBUFF_MOLTENARMOR };
-- Warlock
SMARTBUFF_AMPLIFYCURSE = getSpellBookItemByName(328774);--"Amplify Curse"
SMARTBUFF_DEMONARMOR = getSpellBookItemByName(285933);--"Demon ARmor"
SMARTBUFF_DARKINTENT = getSpellBookItemByName(183582);--"Dark Intent"
SMARTBUFF_UNENDINGBREATH = getSpellBookItemByName(5697); --"Unending Breath"
SMARTBUFF_SOULLINK = getSpellBookItemByName(108447);--"Soul Link"
SMARTBUFF_LIFETAP = getSpellBookItemByName(1454); --"Life Tap"
SMARTBUFF_CREATEHS = getSpellBookItemByName(6201); --"Create Healthstone"
SMARTBUFF_CREATEHSWELL = getSpellBookItemByName(29893); --"Create Soulwell"
SMARTBUFF_SOULSTONE = getSpellBookItemByName(20707); --"Soulstone"
SMARTBUFF_GOSACRIFICE = getSpellBookItemByName(108503);--"Grimoire of Sacrifice"
SMARTBUFF_INQUISITORGAZE = getSpellBookItemByName(386344);--"Inquisitor's Gaze"
-- Warlock pets
SMARTBUFF_SUMMONIMP = getSpellBookItemByName(688); --"Summon Imp"
SMARTBUFF_SUMMONFELHUNTER = getSpellBookItemByName(691); --"Summon Fellhunter"
SMARTBUFF_SUMMONVOIDWALKER= getSpellBookItemByName(697); --"Summon Voidwalker"
SMARTBUFF_SUMMONSUCCUBUS = getSpellBookItemByName(712); --"Summon Succubus"
SMARTBUFF_SUMMONINFERNAL = getSpellBookItemByName(1122); --"Summon Infernal"
SMARTBUFF_SUMMONDOOMGUARD = getSpellBookItemByName(18540); --"Summon Doomguard"
SMARTBUFF_SUMMONFELGUARD = getSpellBookItemByName(30146); --"Summon Felguard"
SMARTBUFF_SUMMONFELIMP = getSpellBookItemByName(112866); --"Summon Fel Imp"
SMARTBUFF_SUMMONVOIDLORD = getSpellBookItemByName(112867); --"Summon Voidlord"
SMARTBUFF_SUMMONSHIVARRA = getSpellBookItemByName(112868); --"Summon Shivarra"
SMARTBUFF_SUMMONOBSERVER = getSpellBookItemByName(112869); --"Summon Observer"
SMARTBUFF_SUMMONWRATHGUARD= getSpellBookItemByName(112870); --"Summon Wrathguard"
-- Hunter
SMARTBUFF_TRUESHOTAURA = getSpellBookItemByName(193526); --"Trueshot Aura" (P)
SMARTBUFF_VOLLEY = getSpellBookItemByName(194386); --"Volley"
SMARTBUFF_RAPIDFIRE = getSpellBookItemByName(3045); --"Rapid Fire"
SMARTBUFF_FOCUSFIRE = getSpellBookItemByName(82692); --"Focus Fire"
--SMARTBUFF_TRAPLAUNCHER = getSpellBookItemByName(77769); --"Trap Launcher"
--SMARTBUFF_CAMOFLAUGE = getSpellBookItemByName(51753); --"Camoflauge"
SMARTBUFF_AOTC = getSpellBookItemByName(186257); --"Aspect of the Cheetah"
--SMARTBUFF_AOTP = getSpellBookItemByName(13159); --"Aspect of the Pack"
--SMARTBUFF_AOTF = getSpellBookItemByName(172106); --"Aspect of the Fox"
SMARTBUFF_AOTW = getSpellBookItemByName(193530); --"Aspect of the Wild"
SMARTBUFF_AMMOI = getSpellBookItemByName(162536); --"Incendiary Ammo"
SMARTBUFF_AMMOP = getSpellBookItemByName(162537); --"Poisoned Ammo"
SMARTBUFF_AMMOF = getSpellBookItemByName(162539); --"Frozen Ammo"
--SMARTBUFF_LW1 = getSpellBookItemByName(160200); --"Lone Wolf: Ferocity of the Raptor"
--SMARTBUFF_LW2 = getSpellBookItemByName(160203); --"Lone Wolf: Haste of the Hyena"
--SMARTBUFF_LW3 = getSpellBookItemByName(160198); --"Lone Wolf: Grace of the Cat"
--SMARTBUFF_LW4 = getSpellBookItemByName(160206); --"Lone Wolf: Power of the Primates"
--SMARTBUFF_LW5 = getSpellBookItemByName(160199); --"Lone Wolf: Fortitude of the Bear"
--SMARTBUFF_LW6 = getSpellBookItemByName(160205); --"Lone Wolf: Wisdom of the Serpent"
--SMARTBUFF_LW7 = getSpellBookItemByName(172967); --"Lone Wolf: Versatility of the Ravager"
--SMARTBUFF_LW8 = getSpellBookItemByName(172968); --"Lone Wolf: Quickness of the Dragonhawk"
-- Hunter pets
SMARTBUFF_CALL_PET_1 = getSpellBookItemByName(883); -- "Call Pet 1"
SMARTBUFF_CALL_PET_2 = getSpellBookItemByName(83242); -- "Call Pet 2"
SMARTBUFF_CALL_PET_3 = getSpellBookItemByName(83243); -- "Call Pet 3"
SMARTBUFF_CALL_PET_4 = getSpellBookItemByName(83244); -- "Call Pet 4"
SMARTBUFF_CALL_PET_5 = getSpellBookItemByName(83245); -- "Call Pet 5"
-- Hunter buff links
S.LinkAspects = { SMARTBUFF_AOTF, SMARTBUFF_AOTC, SMARTBUFF_AOTP, SMARTBUFF_AOTW };
S.LinkAmmo = { SMARTBUFF_AMMOI, SMARTBUFF_AMMOP, SMARTBUFF_AMMOF };
S.LinkLoneWolf = { SMARTBUFF_LW1, SMARTBUFF_LW2, SMARTBUFF_LW3, SMARTBUFF_LW4, SMARTBUFF_LW5, SMARTBUFF_LW6, SMARTBUFF_LW7, SMARTBUFF_LW8 };
-- Shaman
SMARTBUFF_LIGHTNINGSHIELD = getSpellBookItemByName(192106); --"Lightning Shield"
SMARTBUFF_WATERSHIELD = getSpellBookItemByName(52127); --"Water Shield"
SMARTBUFF_EARTHSHIELD = getSpellBookItemByName(974); --"Earth Shield"
SMARTBUFF_WATERWALKING = getSpellBookItemByName(546); --"Water Walking"
SMARTBUFF_EMASTERY = getSpellBookItemByName(16166); --"Elemental Mastery"
SMARTBUFF_ASCENDANCE_ELE = getSpellBookItemByName(114050); --"Ascendance (Elemental)"
SMARTBUFF_ASCENDANCE_ENH = getSpellBookItemByName(114051); --"Ascendance (Enhancement)"
SMARTBUFF_ASCENDANCE_RES = getSpellBookItemByName(114052); --"Ascendance (Restoration)"
SMARTBUFF_WINDFURYW = getSpellBookItemByName(33757); --"Windfury Weapon"
SMARTBUFF_FLAMETONGUEW = getSpellBookItemByName(318038); --"Flametongue Weapon"
SMARTBUFF_EVERLIVINGW = getSpellBookItemByName(382021); --"Everliving Weapon"
SMARTBUFF_SKYFURY = getSpellBookItemByName(462854); --"Skyfury"
SMARTBUFF_TSWARD = getSpellBookItemByName(462742); --"Thunderstrike Ward" -- Shield
SMARTBUFF_TIDEGUARD = getSpellBookItemByName(457481); --"Tidecaller's Guard" -- Shield. Replaces Flametongue Weapon
-- Shaman buff links
S.ChainShamanShield = { SMARTBUFF_LIGHTNINGSHIELD, SMARTBUFF_WATERSHIELD, SMARTBUFF_EARTHSHIELD };
-- Warrior
SMARTBUFF_BATTLESHOUT = getSpellBookItemByName(6673); --"Battle Shout"
--SMARTBUFF_COMMANDINGSHOUT = getSpellBookItemByName(97462); --"Reallying Cry"
SMARTBUFF_BERSERKERRAGE = getSpellBookItemByName(18499); --"Berserker Rage"
SMARTBUFF_BATSTANCE = getSpellBookItemByName(386164); --"Battle Stance"
SMARTBUFF_DEFSTANCE = getSpellBookItemByName(197690); --"Defensive Stance"
SMARTBUFF_GLADSTANCE = getSpellBookItemByName(156291); --"Gladiator Stance"
SMARTBUFF_SHIELDBLOCK = getSpellBookItemByName(2565); --"Shield Block"
-- Warrior buff links
S.ChainWarriorStance = { SMARTBUFF_BATSTANCE, SMARTBUFF_DEFSTANCE, SMARTBUFF_GLADSTANCE };
S.ChainWarriorShout = { SMARTBUFF_BATTLESHOUT, SMARTBUFF_COMMANDINGSHOUT };
-- Rogue
SMARTBUFF_STEALTH = getSpellBookItemByName(1784); --"Stealth"
SMARTBUFF_BLADEFLURRY = getSpellBookItemByName(13877); --"Blade Flurry"
SMARTBUFF_SAD = getSpellBookItemByName(5171); --"Slice and Dice"
SMARTBUFF_EVASION = getSpellBookItemByName(5277); --"Evasion"
SMARTBUFF_HUNGERFORBLOOD = getSpellBookItemByName(60177); --"Hunger For Blood"
SMARTBUFF_TRICKS = getSpellBookItemByName(57934); --"Tricks of the Trade"
SMARTBUFF_RECUPERATE = getSpellBookItemByName(185311); --"Crimson Vial
-- Poisons
SMARTBUFF_WOUNDPOISON = getSpellBookItemByName(8679); --"Wound Poison"
SMARTBUFF_CRIPPLINGPOISON = getSpellBookItemByName(3408); --"Crippling Poison"
SMARTBUFF_DEADLYPOISON = getSpellBookItemByName(2823); --"Deadly Poison"
SMARTBUFF_LEECHINGPOISON = getSpellBookItemByName(108211); --"Leeching Poison"
SMARTBUFF_INSTANTPOISON = getSpellBookItemByName(315584); --"Instant Poison"
SMARTBUFF_NUMBINGPOISON = getSpellBookItemByName(5761); --"Numbing Poison"
SMARTBUFF_AMPLIFYPOISON = getSpellBookItemByName(381664); --"Amplifying Poison"
SMARTBUFF_ATROPHICPOISON = getSpellBookItemByName(381637); --"Atrophic Poison"
-- Rogue buff links
S.ChainRoguePoisonsLethal = { SMARTBUFF_DEADLYPOISON, SMARTBUFF_WOUNDPOISON, SMARTBUFF_INSTANTPOISON, SMARTBUFF_AGONIZINGPOISON, SMARTBUFF_AMPLIFYPOISON };
S.ChainRoguePoisonsNonLethal = { SMARTBUFF_CRIPPLINGPOISON, SMARTBUFF_LEECHINGPOISON, SMARTBUFF_NUMBINGPOISON, SMARTBUFF_ATROPHICPOISON };
-- Paladin
SMARTBUFF_RIGHTEOUSFURY = getSpellBookItemByName(25780); --"Righteous Fury"
-- SMARTBUFF_HOLYSHIELD = getSpellBookItemByName(20925); --"Sacred Shield"
SMARTBUFF_BOK = getSpellBookItemByName(203538); --"Greater Blessing of Kings"
-- SMARTBUFF_BOM = getSpellBookItemByName(203528); --"Greater Blessing of Might"
SMARTBUFF_BOW = getSpellBookItemByName(203539); --"Greater Blessing of Wisdom"
SMARTBUFF_HOF = getSpellBookItemByName(1044); --"Blessing of Freedom"
SMARTBUFF_HOP = getSpellBookItemByName(1022); --"Blessing of Protection"
SMARTBUFF_HOSAL = getSpellBookItemByName(204013); --"Blessing of Salvation"
-- SMARTBUFF_SOJUSTICE = getSpellBookItemByName(20164); --"Seal of Justice"
-- SMARTBUFF_SOINSIGHT = getSpellBookItemByName(20165); --"Seal of Insight"
-- SMARTBUFF_SORIGHTEOUSNESS = getSpellBookItemByName(20154); --"Seal of Righteousness"
-- SMARTBUFF_SOTRUTH = getSpellBookItemByName(31801); --"Seal of Truth"
-- SMARTBUFF_SOCOMMAND = getSpellBookItemByName(105361); --"Seal of Command"
SMARTBUFF_AVENGINGWARTH = getSpellBookItemByName(31884); --"Avenging Wrath"
SMARTBUFF_BEACONOFLIGHT = getSpellBookItemByName(53563); --"Beacon of Light"
SMARTBUFF_BEACONOFAITH = getSpellBookItemByName(156910); --"Beacon of Faith"
SMARTBUFF_CRUSADERAURA = getSpellBookItemByName(32223); --"Crusader Aura"
SMARTBUFF_DEVOTIONAURA = getSpellBookItemByName(465); --"Devotion Aura"
SMARTBUFF_RETRIBUTIONAURA = getSpellBookItemByName(183435); --"Retribution Aura"
SMARTBUFF_CONCENTRATIONAURA = getSpellBookItemByName(317920); --"Concentration Aura"
SMARTBUFF_RITEOFSANTIFICATION = getSpellBookItemByName(433568); --"Right of Sanctification, Hero"
SMARTBUFF_RITEOFADJURATION = getSpellBookItemByName(433584); --"Right of Adjuration, Hero"
-- Paladin buff links
S.ChainPaladinAura = { SMARTBUFF_DEVOTIONAURA, SMARTBUFF_RETRIBUTIONAURA, SMARTBUFF_CONCENTRATIONAURA };
S.ChainPaladinSeal = { SMARTBUFF_SOCOMMAND, SMARTBUFF_SOTRUTH, SMARTBUFF_SOJUSTICE, SMARTBUFF_SOINSIGHT, SMARTBUFF_SORIGHTEOUSNESS };
S.ChainPaladinBlessing = { SMARTBUFF_BOK, SMARTBUFF_BOM, SMARTBUFF_BOW};
-- Death Knight
SMARTBUFF_DANCINGRW = getSpellBookItemByName(49028); --"Dancing Rune Weapon"
-- SMARTBUFF_BLOODPRESENCE = getSpellBookItemByName(48263); --"Blood Presence"
-- SMARTBUFF_FROSTPRESENCE = getSpellBookItemByName(48266); --"Frost Presence"
-- SMARTBUFF_UNHOLYPRESENCE = getSpellBookItemByName(48265); --"Unholy Presence"
SMARTBUFF_PATHOFFROST = getSpellBookItemByName(3714); --"Path of Frost"
-- SMARTBUFF_BONESHIELD = getSpellBookItemByName(49222); --"Bone Shield"
SMARTBUFF_HORNOFWINTER = getSpellBookItemByName(57330); --"Horn of Winter"
SMARTBUFF_RAISEDEAD = getSpellBookItemByName(46584); --"Raise Dead"
-- SMARTBUFF_POTGRAVE = getSpellBookItemByName(155522); --"Power of the Grave" (P)
-- Death Knight buff links
S.ChainDKPresence = { SMARTBUFF_BLOODPRESENCE, SMARTBUFF_FROSTPRESENCE, SMARTBUFF_UNHOLYPRESENCE };
-- Monk
-- SMARTBUFF_LOTWT = getSpellBookItemByName(116781); --"Legacy of the White Tiger"
-- SMARTBUFF_LOTE = getSpellBookItemByName(115921); --"Legacy of the Emperor"
SMARTBUFF_BLACKOX = getSpellBookItemByName(115315); --"Summon Black Ox Statue"
SMARTBUFF_JADESERPENT = getSpellBookItemByName(115313); --"Summon Jade Serpent Statue"
SMARTBUFF_SOTFIERCETIGER = getSpellBookItemByName(103985); --"Stance of the Fierce Tiger"
SMARTBUFF_SOTSTURDYOX = getSpellBookItemByName(115069); --"Stagger"
-- SMARTBUFF_SOTWISESERPENT = getSpellBookItemByName(115070); --"Stance of the Wise Serpent"
-- SMARTBUFF_SOTSPIRITEDCRANE= getSpellBookItemByName(154436); --"Stance of the Spirited Crane"
-- Monk buff links
S.ChainMonkStatue = { SMARTBUFF_BLACKOX, SMARTBUFF_JADESERPENT };
S.ChainMonkStance = { SMARTBUFF_SOTFIERCETIGER, SMARTBUFF_SOTSTURDYOX, SMARTBUFF_SOTWISESERPENT, SMARTBUFF_SOTSPIRITEDCRANE };
-- Evoker
SMARTBUFF_BRONZEBLESSING = getSpellBookItemByName(364342); --"Blessing of the Bronze"
SMARTBUFF_SENSEPOWER = getSpellBookItemByName(361021); --"Sense Power"
SMARTBUFF_SourceOfMagic = getSpellBookItemByName(369459); --"Source of Magic"
SMARTBUFF_EbonMight = getSpellBookItemByName(395152); --"Ebon Might"
SMARTBUFF_BlisteringScale = getSpellBookItemByName(360827); --"Blistering Scales"
SMARTBUFF_Timelessness = getSpellBookItemByName(412710); --"Timelessness"
SMARTBUFF_BronzeAttunement = getSpellBookItemByName(403265); --"Bronze Attunement"
SMARTBUFF_BlackAttunement = getSpellBookItemByName(403264); --"Black Attunement"
-- Demon Hunter
-- Tracking -- this is deprecated due to moving to minimap
SMARTBUFF_FINDMINERALS = getSpellBookItemByName(2580); --"Find Minerals"
SMARTBUFF_FINDHERBS = getSpellBookItemByName(2383); --"Find Herbs"
SMARTBUFF_FINDTREASURE = getSpellBookItemByName(2481); --"Find Treasure"
SMARTBUFF_TRACKHUMANOIDS = getSpellBookItemByName(19883); --"Track Humanoids"
SMARTBUFF_TRACKBEASTS = getSpellBookItemByName(1494); --"Track Beasts"
SMARTBUFF_TRACKUNDEAD = getSpellBookItemByName(19884); --"Track Undead"
SMARTBUFF_TRACKHIDDEN = getSpellBookItemByName(19885); --"Track Hidden"
SMARTBUFF_TRACKELEMENTALS = getSpellBookItemByName(19880); --"Track Elementals"
SMARTBUFF_TRACKDEMONS = getSpellBookItemByName(19878); --"Track Demons"
SMARTBUFF_TRACKGIANTS = getSpellBookItemByName(19882); --"Track Giants"
SMARTBUFF_TRACKDRAGONKIN = getSpellBookItemByName(19879); --"Track Dragonkin"
-- Racial
SMARTBUFF_STONEFORM = getSpellBookItemByName(20594); --"Stoneform"
SMARTBUFF_BLOODFURY = getSpellBookItemByName(20572); --"Blood Fury" 33697, 33702
SMARTBUFF_BERSERKING = getSpellBookItemByName(26297); --"Berserking"
SMARTBUFF_WOTFORSAKEN = getSpellBookItemByName(7744); --"Will of the Forsaken"
SMARTBUFF_WarStomp = getSpellBookItemByName(20549); --"War Stomp"
SMARTBUFF_Visage = getSpellBookItemByName(351239); --"Evoker Visage"
-- Food
SMARTBUFF_FOOD_AURA = C_Spell.GetSpellInfo(46899); --"Well Fed"
SMARTBUFF_FOOD_SPELL = C_Spell.GetSpellInfo(433); --"Food"
SMARTBUFF_DRINK_SPELL = C_Spell.GetSpellInfo(430); --"Drink"
-- Misc
SMARTBUFF_KIRUSSOV = C_Spell.GetSpellInfo(46302); --"K'iru's Song of Victory"
SMARTBUFF_FISHING = C_Spell.GetSpellInfo(450647) or C_Spell.GetSpellInfo(131476); --"Fishing"
-- Scroll
SMARTBUFF_SBAGILITY = C_Spell.GetSpellInfo(8115); --"Scroll buff: Agility"
SMARTBUFF_SBINTELLECT = C_Spell.GetSpellInfo(8096); --"Scroll buff: Intellect"
SMARTBUFF_SBSTAMINA = C_Spell.GetSpellInfo(8099); --"Scroll buff: Stamina"
SMARTBUFF_SBSPIRIT = C_Spell.GetSpellInfo(8112); --"Scroll buff: Spirit"
SMARTBUFF_SBSTRENGHT = C_Spell.GetSpellInfo(8118); --"Scroll buff: Strength"
SMARTBUFF_SBPROTECTION = C_Spell.GetSpellInfo(89344); --"Scroll buff: Armor"
SMARTBUFF_BMiscItem1 = C_Spell.GetSpellInfo(326396); --"WoW's 16th Anniversary"
SMARTBUFF_BMiscItem2 = C_Spell.GetSpellInfo(62574); --"Warts-B-Gone Lip Balm"
SMARTBUFF_BMiscItem3 = C_Spell.GetSpellInfo(98444); --"Vrykul Drinking Horn"
SMARTBUFF_BMiscItem4 = C_Spell.GetSpellInfo(127230); --"Visions of Insanity"
SMARTBUFF_BMiscItem5 = C_Spell.GetSpellInfo(124036); --"Anglers Fishing Raft"
SMARTBUFF_BMiscItem6 = C_Spell.GetSpellInfo(125167); --"Ancient Pandaren Fishing Charm"
SMARTBUFF_BMiscItem7 = C_Spell.GetSpellInfo(138927); --"Burning Essence"
SMARTBUFF_BMiscItem8 = C_Spell.GetSpellInfo(160331); --"Blood Elf Illusion"
SMARTBUFF_BMiscItem9 = C_Spell.GetSpellInfo(158486); --"Safari Hat"
SMARTBUFF_BMiscItem10 = C_Spell.GetSpellInfo(158474); --"Savage Safari Hat"
SMARTBUFF_BMiscItem11 = C_Spell.GetSpellInfo(176151); --"Whispers of Insanity"
SMARTBUFF_BMiscItem12 = C_Spell.GetSpellInfo(193456); --"Gaze of the Legion"
SMARTBUFF_BMiscItem13 = C_Spell.GetSpellInfo(193547); --"Fel Crystal Infusion"
SMARTBUFF_BMiscItem14 = C_Spell.GetSpellInfo(190668); --"Empower"
SMARTBUFF_BMiscItem14_1 = C_Spell.GetSpellInfo(175457); --"Focus Augmentation"
SMARTBUFF_BMiscItem14_2 = C_Spell.GetSpellInfo(175456); --"Hyper Augmentation"
SMARTBUFF_BMiscItem14_3 = C_Spell.GetSpellInfo(175439); --"Stout Augmentation
SMARTBUFF_BMiscItem16 = C_Spell.GetSpellInfo(181642); --"Bodyguard Miniaturization Device"
SMARTBUFF_BMiscItem17 = C_Spell.GetSpellInfo(242551); --"Fel Focus"
-- Shadowlands
SMARTBUFF_BAugmentRune = C_Spell.GetSpellInfo(367405); --"Eternal Augmentation from Eternal Augment Rune"
SMARTBUFF_BVieledAugment = C_Spell.GetSpellInfo(347901); --"Veiled Augmentation from Veiled Augment Rune"
SMARTBUFF_BDreamAugmentRune = C_Spell.GetSpellInfo(393438); --"Dream Augmentation from Dream Augment Rune"
-- Dragonflight
SMARTBUFF_BDraconicRune = C_Spell.GetSpellInfo(393438); -- Draconic Augmentation from Draconic Augment Rune
SMARTBUFF_BVantusRune_VotI_q1 = C_Spell.GetSpellInfo(384154); -- Vantus Rune: Vault of the Incarnates (Quality 1)
SMARTBUFF_BVantusRune_VotI_q2 = C_Spell.GetSpellInfo(384248); -- Vantus Rune: Vault of the Incarnates (Quality 2)
SMARTBUFF_BVantusRune_VotI_q3 = C_Spell.GetSpellInfo(384306); -- Vantus Rune: Vault of the Incarnates (Quality 3)
-- TWW
SMARTBUFF_BTWWCrystalAugRune1 = C_Spell.GetSpellInfo(453250); -- Crystallization/Crystallized Augment Rune
S.LinkSafariHat = { SMARTBUFF_BMiscItem9, SMARTBUFF_BMiscItem10 };
S.LinkAugment = { SMARTBUFF_BMiscItem14, SMARTBUFF_BMiscItem14_1, SMARTBUFF_BMiscItem14_2, SMARTBUFF_BMiscItem14_3, SMARTBUFF_BAugmentRune, SMARTBUFF_BVieledAugment, SMARTBUFF_BDreamAugmentRune, SMARTBUFF_BDraconicRune, SMARTBUFF_TWWCrystalAugRune1 };
-- Flasks & Elixirs
SMARTBUFF_BFLASKTBC1 = C_Spell.GetSpellInfo(28520); --"Flask of Relentless Assault"
SMARTBUFF_BFLASKTBC2 = C_Spell.GetSpellInfo(28540); --"Flask of Pure Death"
SMARTBUFF_BFLASKTBC3 = C_Spell.GetSpellInfo(28518); --"Flask of Fortification"
SMARTBUFF_BFLASKTBC4 = C_Spell.GetSpellInfo(28521); --"Flask of Blinding Light"
SMARTBUFF_BFLASKTBC5 = C_Spell.GetSpellInfo(28519); --"Flask of Mighty Versatility"
SMARTBUFF_BFLASK1 = C_Spell.GetSpellInfo(53760); --"Flask of Endless Rage"
SMARTBUFF_BFLASK2 = C_Spell.GetSpellInfo(53755); --"Flask of the Frost Wyrm"
SMARTBUFF_BFLASK3 = C_Spell.GetSpellInfo(53758); --"Flask of Stoneblood"
SMARTBUFF_BFLASK4 = C_Spell.GetSpellInfo(54212); --"Flask of Pure Mojo"
SMARTBUFF_BFLASKCT1 = C_Spell.GetSpellInfo(79471); --"Flask of the Winds"
SMARTBUFF_BFLASKCT2 = C_Spell.GetSpellInfo(79472); --"Flask of Titanic Strength"
SMARTBUFF_BFLASKCT3 = C_Spell.GetSpellInfo(79470); --"Flask of the Draconic Mind"
SMARTBUFF_BFLASKCT4 = C_Spell.GetSpellInfo(79469); --"Flask of Steelskin"
SMARTBUFF_BFLASKCT5 = C_Spell.GetSpellInfo(94160); --"Flask of Flowing Water"
SMARTBUFF_BFLASKCT7 = C_Spell.GetSpellInfo(92679); --"Flask of Battle"
SMARTBUFF_BFLASKMOP1 = C_Spell.GetSpellInfo(105617); --"Alchemist's Flask"
SMARTBUFF_BFLASKMOP2 = C_Spell.GetSpellInfo(105694); --"Flask of the Earth"
SMARTBUFF_BFLASKMOP3 = C_Spell.GetSpellInfo(105693); --"Flask of Falling Leaves"
SMARTBUFF_BFLASKMOP4 = C_Spell.GetSpellInfo(105689); --"Flask of Spring Blossoms"
SMARTBUFF_BFLASKMOP5 = C_Spell.GetSpellInfo(105691); --"Flask of the Warm Sun"
SMARTBUFF_BFLASKMOP6 = C_Spell.GetSpellInfo(105696); --"Flask of Winter's Bite"
SMARTBUFF_BFLASKCT61 = C_Spell.GetSpellInfo(79640); --"Enhanced Intellect"
SMARTBUFF_BFLASKCT62 = C_Spell.GetSpellInfo(79639); --"Enhanced Agility"
SMARTBUFF_BFLASKCT63 = C_Spell.GetSpellInfo(79638); --"Enhanced Strength"
SMARTBUFF_BFLASKWOD1 = C_Spell.GetSpellInfo(156077); --"Draenic Stamina Flask"
SMARTBUFF_BFLASKWOD2 = C_Spell.GetSpellInfo(156071); --"Draenic Strength Flask"
SMARTBUFF_BFLASKWOD3 = C_Spell.GetSpellInfo(156070); --"Draenic Intellect Flask"
SMARTBUFF_BFLASKWOD4 = C_Spell.GetSpellInfo(156073); --"Draenic Agility Flask"
SMARTBUFF_BGRFLASKWOD1 = C_Spell.GetSpellInfo(156084); --"Greater Draenic Stamina Flask"
SMARTBUFF_BGRFLASKWOD2 = C_Spell.GetSpellInfo(156080); --"Greater Draenic Strength Flask"
SMARTBUFF_BGRFLASKWOD3 = C_Spell.GetSpellInfo(156079); --"Greater Draenic Intellect Flask"
SMARTBUFF_BGRFLASKWOD4 = C_Spell.GetSpellInfo(156064); --"Greater Draenic Agility Flask"
SMARTBUFF_BFLASKLEG1 = C_Spell.GetSpellInfo(188035); --"Flask of Ten Thousand Scars"
SMARTBUFF_BFLASKLEG2 = C_Spell.GetSpellInfo(188034); --"Flask of the Countless Armies"
SMARTBUFF_BFLASKLEG3 = C_Spell.GetSpellInfo(188031); --"Flask of the Whispered Pact"
SMARTBUFF_BFLASKLEG4 = C_Spell.GetSpellInfo(188033); --"Flask of the Seventh Demon"
SMARTBUFF_BFLASKBFA1 = C_Spell.GetSpellInfo(251837); --"Flask of Endless Fathoms"
SMARTBUFF_BFLASKBFA2 = C_Spell.GetSpellInfo(251836); --"Flask of the Currents"
SMARTBUFF_BFLASKBFA3 = C_Spell.GetSpellInfo(251839); --"Flask of the Undertow"
SMARTBUFF_BFLASKBFA4 = C_Spell.GetSpellInfo(251838); --"Flask of the Vast Horizon"
SMARTBUFF_BGRFLASKBFA1 = C_Spell.GetSpellInfo(298837); --"Greather Flask of Endless Fathoms"
SMARTBUFF_BGRFLASKBFA2 = C_Spell.GetSpellInfo(298836); --"Greater Flask of the Currents"
SMARTBUFF_BGRFLASKBFA3 = C_Spell.GetSpellInfo(298841); --"Greather Flask of teh Untertow"
SMARTBUFF_BGRFLASKBFA4 = C_Spell.GetSpellInfo(298839); --"Greater Flask of the Vast Horizon"
SMARTBUFF_BFLASKSL1 = C_Spell.GetSpellInfo(307185); --"Spectral Flask of Power"
SMARTBUFF_BFLASKSL2 = C_Spell.GetSpellInfo(307187); --"Spectral Flask of Stamina"
-- Dragonflight
SMARTBUFF_BFlaskDF1 = C_Spell.GetSpellInfo(371345); -- Phial of the Eye in the Storm
SMARTBUFF_BFlaskDF2 = C_Spell.GetSpellInfo(371204); -- Phial of Still Air
SMARTBUFF_BFlaskDF3 = C_Spell.GetSpellInfo(371036); -- Phial of Icy Preservation
SMARTBUFF_BFlaskDF4 = C_Spell.GetSpellInfo(374000); -- Iced Phial of Corrupting Rage
SMARTBUFF_BFlaskDF5 = C_Spell.GetSpellInfo(371386); -- Phial of Charged Isolation
SMARTBUFF_BFlaskDF6 = C_Spell.GetSpellInfo(373257); -- Phial of Glacial Fury
SMARTBUFF_BFlaskDF7 = C_Spell.GetSpellInfo(370652); -- Phial of Static Empowerment
SMARTBUFF_BFlaskDF8 = C_Spell.GetSpellInfo(371172); -- Phial of Tepid Versatility
SMARTBUFF_BFlaskDF9 = C_Spell.GetSpellInfo(393700); -- Aerated Phial of Deftness
SMARTBUFF_BFlaskDF10 = C_Spell.GetSpellInfo(393717); -- Steaming Phial of Finesse
SMARTBUFF_BFlaskDF11 = C_Spell.GetSpellInfo(371186); -- Charged Phial of Alacrity
SMARTBUFF_BFlaskDF12 = C_Spell.GetSpellInfo(393714); -- Crystalline Phial of Perception
-- the Phial of Elemental Chaos gives 1 the following 4 random buffs every 60 seconds
SMARTBUFF_BFlaskDF13_1 = C_Spell.GetSpellInfo(371348); -- Elemental Chaos: Fire
SMARTBUFF_BFlaskDF13_2 = C_Spell.GetSpellInfo(371350); -- Elemental Chaos: Air
SMARTBUFF_BFlaskDF13_3 = C_Spell.GetSpellInfo(371351); -- Elemental Chaos: Earth
SMARTBUFF_BFlaskDF13_4 = C_Spell.GetSpellInfo(371353); -- Elemental Chaos: Frost
SMARTBUFF_BFlaskDF14 = C_Spell.GetSpellInfo(393665); -- Aerated Phial of Quick Hands
-- The War Within
SMARTBUFF_BFLASKTWW1 = C_Spell.GetSpellInfo(431971); -- Flask of Tempered Aggression
SMARTBUFF_BFLASKTWW2 = C_Spell.GetSpellInfo(431972); -- Flask of Tempered Swiftness
SMARTBUFF_BFLASKTWW3 = C_Spell.GetSpellInfo(431973); -- Flask of Tempered Versatility
SMARTBUFF_BFLASKTWW4 = C_Spell.GetSpellInfo(431974); -- Flask of Tempered Mastery
SMARTBUFF_BFLASKTWW5 = C_Spell.GetSpellInfo(432021); -- Flask of Tempered Chaos
SMARTBUFF_BFLASKTWW6 = C_Spell.GetSpellInfo(432473); -- Flask of Tempered Aggression
SMARTBUFF_BFLASKTWW7 = C_Spell.GetSpellInfo(432306); -- Phial of Concentrated Ingenuity
SMARTBUFF_BFLASKTWW8 = C_Spell.GetSpellInfo(432265); -- Phial of Truesight
SMARTBUFF_BFLASKTWW9 = C_Spell.GetSpellInfo(432304); -- Phial of Enhanced Ambidexterity
SMARTBUFF_BFLASKTWW10 = C_Spell.GetSpellInfo(432286); -- Phial of Bountiful Seasons
SMARTBUFF_BFLASKTWWPvP_1 = C_Spell.GetSpellInfo(432403); -- Vicious Flask of Classical Spirits
SMARTBUFF_BFLASKTWWPvP_2 = C_Spell.GetSpellInfo(432430); -- Vicious Flask of Honor
SMARTBUFF_BFLASKTWWPvP_3 = C_Spell.GetSpellInfo(432497); -- Vicious Flask of Manifested Fury
SMARTBUFF_BFLASKTWWPvP_4 = C_Spell.GetSpellInfo(432452); -- Vicious Flask of the Wrecking Ball
S.LinkFlaskTBC = { SMARTBUFF_BFLASKTBC1, SMARTBUFF_BFLASKTBC2, SMARTBUFF_BFLASKTBC3, SMARTBUFF_BFLASKTBC4, SMARTBUFF_BFLASKTBC5 };
S.LinkFlaskCT7 = { SMARTBUFF_BFLASKCT1, SMARTBUFF_BFLASKCT2, SMARTBUFF_BFLASKCT3, SMARTBUFF_BFLASKCT4, SMARTBUFF_BFLASKCT5 };
S.LinkFlaskMoP = { SMARTBUFF_BFLASKCT61, SMARTBUFF_BFLASKCT62, SMARTBUFF_BFLASKCT63, SMARTBUFF_BFLASKMOP2, SMARTBUFF_BFLASKMOP3, SMARTBUFF_BFLASKMOP4, SMARTBUFF_BFLASKMOP5, SMARTBUFF_BFLASKMOP6 };
S.LinkFlaskWoD = { SMARTBUFF_BFLASKWOD1, SMARTBUFF_BFLASKWOD2, SMARTBUFF_BFLASKWOD3, SMARTBUFF_BFLASKWOD4, SMARTBUFF_BGRFLASKWOD1, SMARTBUFF_BGRFLASKWOD2, SMARTBUFF_BGRFLASKWOD3, SMARTBUFF_BGRFLASKWOD4 };
S.LinkFlaskLeg = { SMARTBUFF_BFLASKLEG1, SMARTBUFF_BFLASKLEG2, SMARTBUFF_BFLASKLEG3, SMARTBUFF_BFLASKLEG4 };
S.LinkFlaskBfA = { SMARTBUFF_BFLASKBFA1, SMARTBUFF_BFLASKBFA2, SMARTBUFF_BFLASKBFA3, SMARTBUFF_BFLASKBFA4, SMARTBUFF_BGRFLASKBFA1, SMARTBUFF_BGRFLASKBFA2, SMARTBUFF_BGRFLASKBFA3, SMARTBUFF_BGRFLASKBFA4 };
S.LinkFlaskSL = { SMARTBUFF_BFLASKSL1, SMARTBUFF_BFLASKSL2 };
S.LinkFlaskDF = { SMARTBUFF_BFlaskDF1, SMARTBUFF_BFlaskDF2, SMARTBUFF_BFlaskDF3, SMARTBUFF_BFlaskDF4, SMARTBUFF_BFlaskDF5, SMARTBUFF_BFlaskDF6, SMARTBUFF_BFlaskDF7, SMARTBUFF_BFlaskDF8, SMARTBUFF_BFlaskDF9, SMARTBUFF_BFlaskDF10, SMARTBUFF_BFlaskDF11, SMARTBUFF_BFlaskDF12, SMARTBUFF_BFlaskDF13_1, SMARTBUFF_BFlaskDF13_2, SMARTBUFF_BFlaskDF13_3, SMARTBUFF_BFlaskDF13_4, SMARTBUFF_BFlaskDF14 };
S.LinkFlaskTWW = { SMARTBUFF_BFLASKTWW1, SMARTBUFF_BFLASKTWW2, SMARTBUFF_BFLASKTWW3, SMARTBUFF_BFLASKTWW4, SMARTBUFF_BFLASKTWW5, SMARTBUFF_BFLASKTWW6, SMARTBUFF_BFLASKTWW7, SMARTBUFF_BFLASKTWW8, SMARTBUFF_BFLASKTWW9, SMARTBUFF_BFLASKTWW10, SMARTBUFF_BFLASKTWWPvP_1, SMARTBUFF_BFLASKTWWPvP_2, SMARTBUFF_BFLASKTWWPvP_3, SMARTBUFF_BFLASKTWWPvP_4}
SMARTBUFF_BELIXIRTBC1 = C_Spell.GetSpellInfo(54494); --"Major Agility" B
SMARTBUFF_BELIXIRTBC2 = C_Spell.GetSpellInfo(33726); --"Mastery" B
SMARTBUFF_BELIXIRTBC3 = C_Spell.GetSpellInfo(28491); --"Healing Power" B
SMARTBUFF_BELIXIRTBC4 = C_Spell.GetSpellInfo(28502); --"Major Defense" G
SMARTBUFF_BELIXIRTBC5 = C_Spell.GetSpellInfo(28490); --"Major Strength" B
SMARTBUFF_BELIXIRTBC6 = C_Spell.GetSpellInfo(39625); --"Major Fortitude" G
SMARTBUFF_BELIXIRTBC7 = C_Spell.GetSpellInfo(28509); --"Major Mageblood" B
SMARTBUFF_BELIXIRTBC8 = C_Spell.GetSpellInfo(39627); --"Draenic Wisdom" B
SMARTBUFF_BELIXIRTBC9 = C_Spell.GetSpellInfo(54452); --"Adept's Elixir" B
SMARTBUFF_BELIXIRTBC10 = C_Spell.GetSpellInfo(134870); --"Empowerment" B
SMARTBUFF_BELIXIRTBC11 = C_Spell.GetSpellInfo(33720); --"Onslaught Elixir" B
SMARTBUFF_BELIXIRTBC12 = C_Spell.GetSpellInfo(28503); --"Major Shadow Power" B
SMARTBUFF_BELIXIRTBC13 = C_Spell.GetSpellInfo(39628); --"Ironskin" G
SMARTBUFF_BELIXIRTBC14 = C_Spell.GetSpellInfo(39626); --"Earthen Elixir" G
SMARTBUFF_BELIXIRTBC15 = C_Spell.GetSpellInfo(28493); --"Major Frost Power" B
SMARTBUFF_BELIXIRTBC16 = C_Spell.GetSpellInfo(38954); --"Fel Strength Elixir" B
SMARTBUFF_BELIXIRTBC17 = C_Spell.GetSpellInfo(28501); --"Major Firepower" B
SMARTBUFF_BELIXIR1 = C_Spell.GetSpellInfo(28497); --"Mighty Agility" B
SMARTBUFF_BELIXIR2 = C_Spell.GetSpellInfo(60347); --"Mighty Thoughts" G