-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMSBTProfiles.lua
More file actions
3741 lines (3513 loc) · 106 KB
/
MSBTProfiles.lua
File metadata and controls
3741 lines (3513 loc) · 106 KB
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
-------------------------------------------------------------------------------
-- Title: Mik's Scrolling Battle Text Profiles
-- Author: Mikord
-------------------------------------------------------------------------------
-- Create module and set its name.
local module = {}
local moduleName = "Profiles"
MikSBT[moduleName] = module
-------------------------------------------------------------------------------
-- Imports.
-------------------------------------------------------------------------------
-- Local references to various modules for faster access.
local L = MikSBT.translations
-- Local references to various functions for faster access.
local string_find = string.find
local string_gsub = string.gsub
local string_format = string.format
local CopyTable = MikSBT.CopyTable
local EraseTable = MikSBT.EraseTable
local SplitString = MikSBT.SplitString
local Print = MikSBT.Print
local GetSkillName = MikSBT.GetSkillName
local IsClassic = WOW_PROJECT_ID >= WOW_PROJECT_CLASSIC
-------------------------------------------------------------------------------
-- Private constants.
-------------------------------------------------------------------------------
local DEFAULT_PROFILE_NAME = "Default"
-- The .toc entries for saved variables.
local SAVED_VARS_NAME = "MSBTProfiles_SavedVars"
local SAVED_VARS_PER_CHAR_NAME = "MSBTProfiles_SavedVarsPerChar"
local SAVED_MEDIA_NAME = "MSBT_SavedMedia"
-- Localized pet name followed by a space.
local PET_SPACE = PET .. " "
-- Flags used by the combat log.
local FLAG_YOU = 0xF0000000
local TARGET_TARGET = 0x00010000
local REACTION_HOSTILE = 0x00000040
-- Spell IDs.
--local SPELLID_BERSERK = 93622
--local SPELLID_ELUSIVE_BREW = 126453 -- Activated ability
local SPELLID_EXECUTE = 5308
local SPELLID_FIRST_AID = 3273
local SPELLID_HAMMER_OF_WRATH = 24275
local SPELLID_KILL_SHOT = 53351
--local SPELLID_LAVA_SURGE = not IsClassic and 77762
local SPELLID_REVENGE = 6572
local SPELLID_VICTORY_RUSH = 34428
--local SPELLID_SHADOW_ORB = 77487
-- Trigger spell names.
--local SPELL_BERSERK = GetSkillName(SPELLID_BERSERK)
--local SPELL_BLINDSIDE = GetSkillName(121153)
--local SPELL_BLOODSURGE = GetSkillName(46916)
local SPELL_BRAIN_FREEZE = GetSkillName(44549)
local SPELL_BF_FIREBALL = GetSkillName(57761)
local SPELL_CLEARCASTING = GetSkillName(16870)
--local SPELL_DECIMATION = GetSkillName(108869)
--local SPELL_ELUSIVE_BREW = not IsClassic and GetSkillName(128939)
local SPELL_EXECUTE = GetSkillName(SPELLID_EXECUTE)
local SPELL_FINGERS_OF_FROST = GetSkillName(44544)
local SPELL_FREEZING_FOG = GetSkillName(59052)
local SPELL_HAMMER_OF_WRATH = GetSkillName(SPELLID_HAMMER_OF_WRATH)
local SPELL_KILL_SHOT = GetSkillName(SPELLID_KILL_SHOT)
local SPELL_KILLING_MACHINE = GetSkillName(51124)
--local SPELL_LAVA_SURGE = not IsClassic and GetSkillName(SPELLID_LAVA_SURGE)
--local SPELL_LOCK_AND_LOAD = GetSkillName(168980)
local SPELL_MAELSTROM_WEAPON = GetSkillName(53817)
--local SPELL_MANA_TEA = GetSkillName(115867)
local SPELL_MISSILE_BARRAGE = GetSkillName(62401)
--local SPELL_MOLTEN_CORE = GetSkillName(122351)
--local SPELL_NIGHTFALL = GetSkillName(108558)
local SPELL_PREDATORS_SWIFTNESS = GetSkillName(69369)
local SPELL_PVP_TRINKET = GetSkillName(42292)
local SPELL_REVENGE = GetSkillName(SPELLID_REVENGE)
local SPELL_RIME = GetSkillName(59057)
local SPELL_SHADOW_TRANCE = GetSkillName(17941)
local SPELL_SHIELD_SLAM = GetSkillName(23922)
--local SPELL_SHADOW_INFUSION = GetSkillName(91342)
--local SPELL_SHADOW_ORB = GetSkillName(SPELLID_SHADOW_ORB)
--local SPELL_SHOOTING_STARS = GetSkillName(93400)
local SPELL_SUDDEN_DEATH = GetSkillName(52437)
--local SPELL_SUDDEN_DOOM = not IsClassic and GetSkillName(81340) -- XXX: No trigger atm - DK
local SPELL_SWORD_AND_BOARD = GetSkillName(50227)
local SPELL_TASTE_FOR_BLOOD = GetSkillName(56636)
local SPELL_THE_ART_OF_WAR = GetSkillName(59578)
local SPELL_TIDAL_WAVES = GetSkillName(53390)
--local SPELL_ULTIMATUM = GetSkillName(122510)
local SPELL_VICTORY_RUSH = GetSkillName(SPELLID_VICTORY_RUSH) -- XXX: Update for buff
--local SPELL_VITAL_MISTS = GetSkillName(122107)
-- Throttle, suppression, and other spell names.
--local SPELL_BLOOD_PRESENCE = GetSkillName(48266)
--local SPELL_DRAIN_LIFE = not IsClassic and GetSkillName(234153)
local SPELL_SHADOWMEND = GetSkillName(39373)
--local SPELL_REFLECTIVE_SHIELD = GetSkillName(58252)
local SPELL_UNDYING_RESOLVE = GetSkillName(51915)
local SPELL_VAMPIRIC_EMBRACE = GetSkillName(15286)
local SPELL_VAMPIRIC_TOUCH = GetSkillName(34914)
-------------------------------------------------------------------------------
-- Private variables.
-------------------------------------------------------------------------------
--- Prevent tainting global _.
local _
-- Dynamically created frame for receiving events.
local eventFrame
-- Meta table for the differential profile tables.
local differentialMap = {}
local differential_mt = { __index = function(t,k) return differentialMap[t][k] end }
local differentialCache = {}
-- Holds variables to be saved between sessions.
local savedVariables
local savedVariablesPerChar
local savedMedia
-- Currently selected profile.
local currentProfile
-- Path information for setting differential options.
local pathTable = {}
-- Flag to hold whether or not this is the first load.
local isFirstLoad
-------------------------------------------------------------------------------
-- Master profile utility functions.
-------------------------------------------------------------------------------
-- ****************************************************************************
-- Returns a table to be used for the settings of the passed class using color
-- information from the default class colors table.
-- ****************************************************************************
local function CreateClassSettingsTable(class)
-- Return disabled settings if the class doesn't exist in the default class colors table for some reason.
if (not RAID_CLASS_COLORS[class]) then return { disabled = true, colorR = 1, colorG = 1, colorB = 1 } end
-- Return a table using the default class color.
return { colorR = RAID_CLASS_COLORS[class].r, colorG = RAID_CLASS_COLORS[class].g, colorB = RAID_CLASS_COLORS[class].b }
end
-------------------------------------------------------------------------------
-- Master profile.
-------------------------------------------------------------------------------
local masterProfile
if IsClassic then
masterProfile = {
-- Scroll area settings.
scrollAreas = {
Incoming = {
name = L.MSG_INCOMING,
offsetX = -140,
offsetY = -160,
animationStyle = "Parabola",
direction = "Down",
behavior = "CurvedLeft",
stickyBehavior = "Jiggle",
textAlignIndex = 3,
stickyTextAlignIndex = 3,
},
Outgoing = {
name = L.MSG_OUTGOING,
offsetX = 100,
offsetY = -160,
animationStyle = "Parabola",
direction = "Down",
behavior = "CurvedRight",
stickyBehavior = "Jiggle",
textAlignIndex = 1,
stickyTextAlignIndex = 1,
iconAlign = "Right",
},
Notification = {
name = L.MSG_NOTIFICATION,
offsetX = -175,
offsetY = 120,
scrollHeight = 200,
scrollWidth = 350,
},
Static = {
name = L.MSG_STATIC,
offsetX = -20,
offsetY = -300,
scrollHeight = 125,
animationStyle = "Static",
direction = "Down",
},
},
-- Built-in event settings.
events = {
INCOMING_DAMAGE = {
colorG = 0,
colorB = 0,
message = "(%n) -%a",
scrollArea = "Incoming",
},
INCOMING_DAMAGE_CRIT = {
colorG = 0,
colorB = 0,
message = "(%n) -%a",
scrollArea = "Incoming",
isCrit = true,
},
INCOMING_MISS = {
colorR = 0,
colorG = 0,
message = MISS .. "!",
scrollArea = "Incoming",
},
INCOMING_DODGE = {
colorR = 0,
colorG = 0,
message = DODGE .. "!",
scrollArea = "Incoming",
},
INCOMING_PARRY = {
colorR = 0,
colorG = 0,
message = PARRY .. "!",
scrollArea = "Incoming",
},
INCOMING_BLOCK = {
colorR = 0,
colorG = 0,
message = BLOCK .. "!",
scrollArea = "Incoming",
},
INCOMING_DEFLECT = {
colorR = 0,
colorG = 0,
message = DEFLECT .. "!",
scrollArea = "Incoming",
},
INCOMING_ABSORB = {
colorB = 0,
message = ABSORB .. "! <%a>",
scrollArea = "Incoming",
},
INCOMING_IMMUNE = {
colorB = 0,
message = IMMUNE .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_DAMAGE = {
colorG = 0,
colorB = 0,
message = "(%s) -%a",
scrollArea = "Incoming",
},
INCOMING_SPELL_DAMAGE_CRIT = {
colorG = 0,
colorB = 0,
message = "(%s) -%a",
scrollArea = "Incoming",
isCrit = true,
},
INCOMING_SPELL_DAMAGE_SHIELD = {
colorG = 0,
colorB = 0,
message = "(%s) -%a",
scrollArea = "Incoming",
},
INCOMING_SPELL_DAMAGE_SHIELD_CRIT = {
colorG = 0,
colorB = 0,
message = "(%s) -%a",
scrollArea = "Incoming",
isCrit = true,
},
INCOMING_SPELL_DOT = {
colorG = 0,
colorB = 0,
message = "(%s) -%a",
scrollArea = "Incoming",
},
INCOMING_SPELL_DOT_CRIT = {
colorG = 0,
colorB = 0,
message = "(%s) -%a",
scrollArea = "Incoming",
isCrit = true,
},
INCOMING_SPELL_MISS = {
colorR = 0,
colorG = 0,
message = "(%s) " .. MISS .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_DODGE = {
colorR = 0,
colorG = 0,
message = "(%s) " .. DODGE .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_PARRY = {
colorR = 0,
colorG = 0,
message = "(%s) " .. PARRY .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_BLOCK = {
colorR = 0,
colorG = 0,
message = "(%s) " .. BLOCK .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_DEFLECT = {
colorR = 0,
colorG = 0,
message = "(%s) " .. DEFLECT .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_RESIST = {
colorR = 0.5,
colorG = 0,
colorB = 0.5,
message = "(%s) " .. RESIST .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_ABSORB = {
colorB = 0,
message = "(%s) " .. ABSORB .. "! <%a>",
scrollArea = "Incoming",
},
INCOMING_SPELL_IMMUNE = {
colorB = 0,
message = "(%s) " .. IMMUNE .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_REFLECT = {
colorR = 0.5,
colorG = 0,
colorB = 0.5,
message = "(%s) " .. REFLECT .. "!",
scrollArea = "Incoming",
},
INCOMING_SPELL_INTERRUPT = {
colorB = 0,
message = "(%s) " .. INTERRUPT .. "!",
scrollArea = "Incoming",
},
INCOMING_HEAL = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
scrollArea = "Incoming",
},
INCOMING_HEAL_CRIT = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
fontSize = 22,
scrollArea = "Incoming",
isCrit = true,
},
INCOMING_HOT = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
scrollArea = "Incoming",
},
INCOMING_HOT_CRIT = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
scrollArea = "Incoming",
isCrit = true,
},
SELF_HEAL = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
scrollArea = "Incoming",
},
SELF_HEAL_CRIT = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
fontSize = 22,
scrollArea = "Incoming",
isCrit = true,
},
SELF_HOT = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
scrollArea = "Incoming",
},
SELF_HOT_CRIT = {
colorR = 0,
colorB = 0,
message = "(%s - %n) +%a",
scrollArea = "Incoming",
isCrit = true,
},
INCOMING_ENVIRONMENTAL = {
colorG = 0,
colorB = 0,
message = "-%a %e",
scrollArea = "Incoming",
},
OUTGOING_DAMAGE = {
message = "%a",
scrollArea = "Outgoing",
},
OUTGOING_DAMAGE_CRIT = {
message = "%a",
scrollArea = "Outgoing",
isCrit = true,
},
OUTGOING_MISS = {
message = MISS .. "!",
scrollArea = "Outgoing",
},
OUTGOING_DODGE = {
message = DODGE .. "!",
scrollArea = "Outgoing",
},
OUTGOING_PARRY = {
message = PARRY .. "!",
scrollArea = "Outgoing",
},
OUTGOING_BLOCK = {
message = BLOCK .. "!",
scrollArea = "Outgoing",
},
OUTGOING_DEFLECT = {
message = DEFLECT.. "!",
scrollArea = "Outgoing",
},
OUTGOING_ABSORB = {
colorB = 0,
message = "<%a> " .. ABSORB .. "!",
scrollArea = "Outgoing",
},
OUTGOING_IMMUNE = {
colorB = 0,
message = IMMUNE .. "!",
scrollArea = "Outgoing",
},
OUTGOING_EVADE = {
colorG = 0.5,
colorB = 0,
message = EVADE .. "!",
fontSize = 22,
scrollArea = "Outgoing",
},
OUTGOING_SPELL_DAMAGE = {
colorB = 0,
message = "%a (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_DAMAGE_CRIT = {
colorB = 0,
message = "%a (%s)",
scrollArea = "Outgoing",
isCrit = true,
},
OUTGOING_SPELL_DAMAGE_SHIELD = {
colorB = 0,
message = "%a (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_DAMAGE_SHIELD_CRIT = {
colorB = 0,
message = "%a (%s)",
scrollArea = "Outgoing",
isCrit = true,
},
OUTGOING_SPELL_DOT = {
colorB = 0,
message = "%a (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_DOT_CRIT = {
colorB = 0,
message = "%a (%s)",
scrollArea = "Outgoing",
isCrit = true,
},
OUTGOING_SPELL_MISS = {
message = MISS .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_DODGE = {
message = DODGE .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_PARRY = {
message = PARRY .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_BLOCK = {
message = BLOCK .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_DEFLECT = {
message = DEFLECT .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_RESIST = {
colorR = 0.5,
colorG = 0.5,
colorB = 0.698,
message = RESIST .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_ABSORB = {
colorB = 0,
message = "<%a> " .. ABSORB .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_IMMUNE = {
colorB = 0,
message = IMMUNE .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_REFLECT = {
colorB = 0,
message = REFLECT .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_INTERRUPT = {
colorB = 0,
message = INTERRUPT .. "! (%s)",
scrollArea = "Outgoing",
},
OUTGOING_SPELL_EVADE = {
colorG = 0.5,
colorB = 0,
message = EVADE .. "! (%s)",
fontSize = 22,
scrollArea = "Outgoing",
},
OUTGOING_HEAL = {
colorR = 0,
colorB = 0,
message = "+%a (%s - %n)",
scrollArea = "Outgoing",
},
OUTGOING_HEAL_CRIT = {
colorR = 0,
colorB = 0,
message = "+%a (%s - %n)",
fontSize = 22,
scrollArea = "Outgoing",
isCrit = true,
},
OUTGOING_HOT = {
colorR = 0,
colorB = 0,
message = "+%a (%s - %n)",
scrollArea = "Outgoing",
},
OUTGOING_HOT_CRIT = {
colorR = 0,
colorB = 0,
message = "+%a (%s - %n)",
scrollArea = "Outgoing",
isCrit = true,
},
OUTGOING_DISPEL = {
colorB = 0.5,
message = L.MSG_DISPEL .. "! (%s)",
scrollArea = "Outgoing",
},
PET_INCOMING_DAMAGE = {
colorG = 0.41,
colorB = 0.41,
message = "(%n) " .. PET .. " -%a",
scrollArea = "Incoming",
},
PET_INCOMING_DAMAGE_CRIT = {
colorG = 0.41,
colorB = 0.41,
message = "(%n) " .. PET .. " -%a",
scrollArea = "Incoming",
isCrit = true,
},
PET_INCOMING_MISS = {
colorR = 0.57,
colorG = 0.58,
message = PET .. " " .. MISS .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_DODGE = {
colorR = 0.57,
colorG = 0.58,
message = PET .. " " .. DODGE .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_PARRY = {
colorR = 0.57,
colorG = 0.58,
message = PET .. " " .. PARRY .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_BLOCK = {
colorR = 0.57,
colorG = 0.58,
message = PET .. " " .. BLOCK .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_DEFLECT = {
colorR = 0.57,
colorG = 0.58,
message = PET .. " " .. DEFLECT .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_ABSORB = {
colorB = 0.57,
message = PET .. " " .. ABSORB .. "! <%a>",
scrollArea = "Incoming",
},
PET_INCOMING_IMMUNE = {
colorB = 0.57,
message = PET .. " " .. IMMUNE .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_DAMAGE = {
colorG = 0.41,
colorB = 0.41,
message = "(%s) " .. PET .. " -%a",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_DAMAGE_CRIT = {
colorG = 0.41,
colorB = 0.41,
message = "(%s) " .. PET .. " -%a",
scrollArea = "Incoming",
isCrit = true,
},
PET_INCOMING_SPELL_DAMAGE_SHIELD = {
colorG = 0.41,
colorB = 0.41,
message = "(%s) " .. PET .. " -%a",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_DAMAGE_SHIELD_CRIT = {
colorG = 0.41,
colorB = 0.41,
message = "(%s) " .. PET .. " -%a",
scrollArea = "Incoming",
isCrit = true,
},
PET_INCOMING_SPELL_DOT = {
colorG = 0.41,
colorB = 0.41,
message = "(%s) " .. PET .. " -%a",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_DOT_CRIT = {
colorG = 0.41,
colorB = 0.41,
message = "(%s) " .. PET .. " -%a",
scrollArea = "Incoming",
isCrit = true,
},
PET_INCOMING_SPELL_MISS = {
colorR = 0.57,
colorG = 0.58,
message = "(%s) " .. PET .. " " .. MISS .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_DODGE = {
colorR = 0.57,
colorG = 0.58,
message = "(%s) " .. PET .. " " .. DODGE .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_PARRY = {
colorR = 0.57,
colorG = 0.58,
message = "(%s) " .. PET .. " " .. PARRY .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_BLOCK = {
colorR = 0.57,
colorG = 0.58,
message = "(%s) " .. PET .. " " .. BLOCK .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_DEFLECT = {
colorR = 0.57,
colorG = 0.58,
message = "(%s) " .. PET .. " " .. DEFLECT .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_RESIST = {
colorR = 0.94,
colorG = 0,
colorB = 0.94,
message = "(%s) " .. PET .. " " .. RESIST .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_ABSORB = {
colorB = 0.57,
message = "(%s) " .. PET .. " " .. ABSORB .. "! <%a>",
scrollArea = "Incoming",
},
PET_INCOMING_SPELL_IMMUNE = {
colorB = 0.57,
message = "(%s) " .. PET .. " " .. IMMUNE .. "!",
scrollArea = "Incoming",
},
PET_INCOMING_HEAL = {
colorR = 0.57,
colorB = 0.57,
message = "(%s - %n) " .. PET .. " +%a",
scrollArea = "Incoming",
},
PET_INCOMING_HEAL_CRIT = {
colorR = 0.57,
colorB = 0.57,
message = "(%s - %n) " .. PET .. " +%a",
scrollArea = "Incoming",
isCrit = true,
},
PET_INCOMING_HOT = {
colorR = 0.57,
colorB = 0.57,
message = "(%s - %n) " .. PET .. " +%a",
scrollArea = "Incoming",
},
PET_INCOMING_HOT_CRIT = {
colorR = 0.57,
colorB = 0.57,
message = "(%s - %n) " .. PET .. " +%a",
scrollArea = "Incoming",
isCrit = true,
},
PET_OUTGOING_DAMAGE = {
colorG = 0.5,
colorB = 0,
message = PET .. " %a",
scrollArea = "Outgoing",
},
PET_OUTGOING_DAMAGE_CRIT = {
colorG = 0.5,
colorB = 0,
message = PET .. " %a",
scrollArea = "Outgoing",
isCrit = true,
},
PET_OUTGOING_MISS = {
colorG = 0.5,
colorB = 0,
message = PET .. " " .. MISS,
scrollArea = "Outgoing",
},
PET_OUTGOING_DODGE = {
colorG = 0.5,
colorB = 0,
message = PET .. " " .. DODGE,
scrollArea = "Outgoing",
},
PET_OUTGOING_PARRY = {
colorG = 0.5,
colorB = 0,
message = PET .. " " .. PARRY,
scrollArea = "Outgoing",
},
PET_OUTGOING_BLOCK = {
colorG = 0.5,
colorB = 0,
message = PET .. " " .. BLOCK,
scrollArea = "Outgoing",
},
PET_OUTGOING_DEFLECT = {
colorG = 0.5,
colorB = 0,
message = PET .. " " .. DEFLECT,
scrollArea = "Outgoing",
},
PET_OUTGOING_ABSORB = {
colorR = 0.5,
colorG = 0.5,
message = PET .. " <%a> " .. ABSORB,
scrollArea = "Outgoing",
},
PET_OUTGOING_IMMUNE = {
colorR = 0.5,
colorG = 0.5,
message = PET .. " " .. IMMUNE,
scrollArea = "Outgoing",
},
PET_OUTGOING_EVADE = {
colorG = 0.77,
colorB = 0.57,
message = PET .. " " .. EVADE,
fontSize = 22,
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_DAMAGE = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " %a (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_DAMAGE_CRIT = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " %a (%s)",
scrollArea = "Outgoing",
isCrit = true,
},
PET_OUTGOING_SPELL_DAMAGE_SHIELD = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " %a (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_DAMAGE_SHIELD_CRIT = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " %a (%s)",
scrollArea = "Outgoing",
isCrit = true,
},
PET_OUTGOING_SPELL_DOT = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " %a (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_DOT_CRIT = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " %a (%s)",
scrollArea = "Outgoing",
isCrit = true,
},
PET_OUTGOING_SPELL_MISS = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " " .. MISS .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_DODGE = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " " .. DODGE .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_PARRY = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " " .. PARRY .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_BLOCK = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " " .. BLOCK .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_DEFLECT = {
colorR = 0.33,
colorG = 0.33,
message = PET .. " " .. DEFLECT .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_RESIST = {
colorR = 0.73,
colorG = 0.73,
colorB = 0.84,
message = PET .. " " .. RESIST .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_ABSORB = {
colorR = 0.5,
colorG = 0.5,
message = PET .. " <%a> " .. ABSORB .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_IMMUNE = {
colorR = 0.5,
colorG = 0.5,
message = PET .. " " .. IMMUNE .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_SPELL_EVADE = {
colorG = 0.77,
colorB = 0.57,
message = PET .. " " .. EVADE .. "! (%s)",
scrollArea = "Outgoing",
},
PET_OUTGOING_HEAL = {
colorR = 0.57,
colorB = 0.57,
message = PET .. " " .. "+%a (%s - %n)",
scrollArea = "Outgoing",
},
PET_OUTGOING_HEAL_CRIT = {
colorR = 0.57,
colorB = 0.57,
message = PET .. " " .. "+%a (%s - %n)",
fontSize = 22,
scrollArea = "Outgoing",
isCrit = true,
},
PET_OUTGOING_HOT = {
colorR = 0.57,
colorB = 0.57,
message = PET .. " " .. "+%a (%s - %n)",
scrollArea = "Outgoing",
},
PET_OUTGOING_HOT_CRIT = {
colorR = 0.57,
colorB = 0.57,
message = PET .. " " .. "+%a (%s - %n)",
scrollArea = "Outgoing",
isCrit = true,
},
PET_OUTGOING_DISPEL = {
colorB = 0.73,
message = PET .. " " .. L.MSG_DISPEL .. "! (%s)",
scrollArea = "Outgoing",
},
NOTIFICATION_DEBUFF = {
colorR = 0,
colorG = 0.5,
colorB = 0.5,
message = "[%sl]",
},
NOTIFICATION_DEBUFF_STACK = {
colorR = 0,
colorG = 0.5,
colorB = 0.5,
message = "[%sl %a]",
},
NOTIFICATION_BUFF = {
colorR = 0.698,
colorG = 0.698,
colorB = 0,
message = "[%sl]",
},
NOTIFICATION_BUFF_STACK = {
colorR = 0.698,
colorG = 0.698,
colorB = 0,
message = "[%sl %a]",
},
NOTIFICATION_ITEM_BUFF = {
colorR = 0.698,
colorG = 0.698,
colorB = 0.698,
message = "[%sl]",
},
NOTIFICATION_DEBUFF_FADE = {
colorR = 0,
colorG = 0.835,
colorB = 0.835,
message = "-[%sl]",
},
NOTIFICATION_BUFF_FADE = {
colorR = 0.918,
colorG = 0.918,
colorB = 0,
message = "-[%sl]",
},
NOTIFICATION_ITEM_BUFF_FADE = {
colorR = 0.831,
colorG = 0.831,
colorB = 0.831,
message = "-[%sl]",
},