forked from JeffP07/TheorycraftClassic
-
Notifications
You must be signed in to change notification settings - Fork 3
/
localization.lua
2109 lines (2027 loc) · 86.3 KB
/
localization.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
if (TheoryCraft_Locale == nil) then
-- The format of the tooltip is defined below.
-- It looks ghastly complicated at first, but is quite straight forward.
-- show is which checkbox needs to be enabled for the line to show
-- if inverse is true, then the checkbox needs to be unchecked
-- left is what gets added to the left hand side of the toolip
-- right is what gets added to the right hand side of the tooltip
-- If a value is not found, the entire line will be hidden.
-- to avoid this, put it in an if... eg the line:
-- "foo#IFbar lalala $invalidvalue$ no#"
-- will just show the word "foo", as the invalid value will hide the entire
-- if.
-- Where you want one value to be shown, or if that isn't valid to show
-- another, use OR. Eg on a spell with 1000 minimum damage:
-- "foo#ORthis is invalid$invalidvalue$/bar $mindamage$OR#"
-- will just show foobar 1000, however if the spell is a heal nothing
-- will be shown at all.
-- Format for ORs:
-- "#OR text / more text OR#"
-- Format for IFs:
-- "#IF text IF#"
TheoryCraft_TooltipOrs = {
hitorhealhit = "hit",
hitorhealheal = "heal",
damorhealdam = "Dam",
damorhealheal = "Heal",
damorapap = "AP",
damorapdam = "+dam",
}
TheoryCraft_TooltipFormat = {
{show = true, left = "#c1,1,1#$spellname$", right = "#c0.5,0.5,0.5#Rank $spellrank$"},
{show = true, left = "#c1,1,1#$wandlineleft2$", right = "#c1,1,1#$wandlineright2$"},
{show = true, left = "#c1,1,1#$wandlineleft3$", right = "#c1,1,1#$wandlineright3$"},
{show = "embedstyle1", left = "#c1,1,1#$wandlineleft4$", right = "#c0.9,0.9,1#$critchance,1$%#c1,1,1# to crit"},
{show = "embedstyle1", inverse = true, left = "#c1,1,1#$wandlineleft4$"},
{show = true, left = "#c1,1,1#$basemanacost$ Mana", right = "#c1,1,1#$spellrange$"},
{show = "embedstyle1", left = "#c0.9,0.9,1##OR$dps$#c1,1,1# Dps/$hps$#c1,1,1# HpsOR#",
right = "#c0.9,0.9,1#$critchance,1$%#c1,1,1# to crit"},
{show = "embedstyle2", left = "#c0.9,0.9,1##OR$dpm,2$#c1,1,1# Dpm/$hpm,2$#c1,1,1# HpmOR#",
right = "#c0.9,0.9,1#$critchance,1$%#c1,1,1# to crit"},
{show = "embedstyle3", left = "#c0.9,0.9,1##OR$dps$#c1,1,1# Dps/$hpm,2$#c1,1,1# HpmOR#",
right = "#c0.9,0.9,1#$critchance,1$%#c1,1,1# to crit"},
{show = true, left = "#c1,1,1#$basecasttime$", right = "#c1,1,1#$cooldown$"},
{show = true, left = "#c1,1,1#$cooldownremaining$",},
{show = "embed", left = "#c1,0.82745098,0##OR$description$/$basedescription$OR##WRAP#"},
{show = "embed", inverse = true, left = "#c1,0.82745098,0#$basedescription$#WRAP#"},
{show = true, left = "#c1,0.5,1#$outfitname$"},
{show = true, left = "Restores $evocation$ mana."},
{show = true, left = "Unbuffed: $sealunbuffed,1$ dps"},
{show = true, left = "With this seal: $sealbuffed,1$ dps"},
{show = "titles", left = "#c1,1,1##TITLE=Healing Statistics#"},
{show = "embed", inverse = true, left = "Heals: $healrange$"},
{show = "critwithdam", left = "Crits: $crithealchance,2$% (for $crithealrange$)"},
{show = "critwithoutdam", left = "Crits: $crithealchance,2$%"},
{show = "hps", left = "HPS: $hps,1$#IF, $withhothps,1$IF#"},
{show = "dpsdam", left = "HPS from +heal: $hpsdam,1$ ($hpsdampercent,1$%)"},
{show = "averagedamnocrit", left = "Average Heal: $averagehealnocrit$"},
{show = "averagedamnocrit", left = "Ticks For: $averagehealtick$"},
{show = "averagedam", left = "Average Heal: $averageheal$"},
{show = "averagedam", left = "Ticks For: $averagehealtick$"},
{show = "titles", left = "#c1,1,1##TITLE=Damage Statistics#"},
{show = "embed", inverse = true, left = "Hits: $dmgrange$"},
{show = "critmelee", left = "Crits: $critdmgchance,2$% (for $critdmgrange$)"},
{show = "critwithdam", left = "Crits: $critdmgchance,2$% (for $critdmgrange$)"},
{show = "sepignite", left = "With Ignite: $igniterange$"},
{show = "critwithoutdam", left = "Crits: $critdmgchance,2$%"},
{show = "dps", left = "DPS: $dps,1$#IF, $withdotdps,1$IF#"},
{show = "dpsdam", left = "DPS from +dam: $dpsdam,1$ ($dpsdampercent,1$%)"},
{show = "averagedamnocrit", left = "Average Hit: $averagedamnocrit$"},
{show = "averagedamnocrit", left = "Ticks For: $averagedamtick$"},
{show = "averagedam", left = "Average Hit: $averagedam$"},
{show = "averagedam", left = "Ticks For: $averagedamtick$"},
{show = "titles", left = "#c1,1,1##TITLE=Multipliers:#"},
{show = "plusdam", left = "Base +$damorheal$: $plusdam$"},
{show = "damcoef", left = "+$damorheal$ Coefficient: $damcoef,1$%#IF, $damcoef2,1$%IF#"},
{show = "dameff", left = "+$damorheal$ Efficiency: $dameff,1$%"},
{show = "damtodouble", left = "+$damorheal$ to Double: $damtodouble$"},
{show = "damfinal", left = "Final +$damorheal$: $damfinal$#IF, $damfinal2$IF#"},
{show = "titles", left = "#c1,1,1##TITLE=Resists:#"},
{show = "resists", left = "Resist Rate ($resistlevel$): $resistrate$%"},
{show = "resists", left = "After Level Resists: $dpsafterresists,1$ DPS"},
{show = "resists", left = "Up to: $penetration,1$ DPS Penetrated"},
{show = "titles", left = "#c1,1,1##TITLE=Comparisons:#"},
{show = "nextcrit", left = "1% to crit: +$nextcritheal,2$ average heal (Eq: $nextcrithealequive,2$ +heal)"},
{show = "nextstr", left = "10 str: +$nextstrdam,2$ average $hitorheal$ (Eq: $nextstrdamequive,2$ $damorap$)"},
{show = "nextagi", left = "10 agi: +$nextagidam,2$ average $hitorheal$#IF (Eq: $nextagidamequive,2$ $damorap$)IF#"},
{show = "nextcrit", left = "1% to crit: +$nextcritdam,2$ average $hitorheal$#IF (Eq: $nextcritdamequive,2$ $damorap$)IF#"},
{show = "nexthit", left = "1% to hit: +$nexthitdam,2$ average $hitorheal$#IF (Eq: $nexthitdamequive,2$ $damorap$)IF#"},
{show = "nextpen", left = "10 pen: #OR$dontshowupto$/Up to OR#+$nextpendam,2$ average $hitorheal$#IF (Eq: $nextpendamequive,2$ $damorap$)IF#"},
{show = "titles", left = "#c1,1,1##TITLE=Rotations:#"},
{show = true, left = "MS rot ($msrotationlength,1$ sec) dps: $msrotationdps,1$"},
{show = true, left = "AS rot ($asrotationlength,1$ sec) dps: $asrotationdps,1$"},
{show = true, left = "MS/Arcane rot dps: $arcrotationdps,1$"},
{show = "titles", left = "#c1,1,1##TITLE=Combined Comparisons:#"},
{show = "nextagi", left = "10 agi: +$nextagidps,2$ MS rot dps#IF (Eq: $nextagidpsequive,2$ $damorap$)IF#"},
{show = "nextcrit", left = "1% to crit: +$nextcritdps,2$ MS rot dps (Eq: $nextcritdpsequive,2$ $damorap$)"},
{show = "nexthit", left = "1% to hit: +$nexthitdps,2$ MS rot dps (Eq: $nexthitdpsequive,2$ $damorap$)"},
{show = "titles", left = "#c1,1,1##TITLE=Efficiency:#"},
{show = "mana", left = "True Mana Cost: $manacost,1$"},
{show = "dpm", left = "DPM: $dpm,2$#IF, $withdotdpm,2$IF#"},
{show = "dpsmana", left = "DPS/Mana: $dpsmana,3$"},
{show = "hpm", left = "HPM: $hpm,2$#IF, $withhothpm,2$IF#"},
{show = "lifetap", left = "Lifetap DPH: $lifetapdpm,1$"},
{show = "lifetap", left = "Lifetap HPH: $lifetaphpm,1$"},
{show = "lifetap", left = "Lifetap DPS: $lifetapdps,1$"},
{show = "lifetap", left = "Lifetap HPS: $lifetaphps,1$"},
{show = "showregenheal", left = "10 sec of regen: +$regenheal$ healing"},
{show = "showregenheal", left = "10 sec of regen whilst casting: +$icregenheal$ healing"},
{show = "showregendam", left = "10 sec of regen: +$regendam$ damage"},
{show = "showregendam", left = "10 sec of regen whilst casting: +$icregendam$ damage"},
{show = "max", left = "Healing til oom: $maxoomheal$ ($maxoomhealtime$ secs)"},
{show = "max", left = "Damage til oom: $maxoomdam$ ($maxoomdamtime$ secs)"},
{show = "maxevoc", left = "Damage til oom w/ evoc+gem: $maxevocoomdam$ ($maxevocoomdamtime$ secs)"},
}
TheoryCraft_MeleeComboEnergyConverter = "into (.-) additional"
TheoryCraft_MeleeComboReader = "(%d+) point(.-): (%d+)%-(%d+) damage"
TheoryCraft_MeleeComboReplaceWith = "$points$ point%1: %2%-%3 damage"
TheoryCraft_MeleeMinMaxReader = {
{ pattern = "(%d+)%% of your attack power", -- Bloodthirst
type={"bloodthirstmult"} },
{ pattern = "causing (%d+) to (%d+) damage, modified by attack power", -- Shield Slam
type={"mindamage", "maxdamage"} },
{ pattern = "(%d+)%% damage", -- Shred/Ravage
type={"backstabmult"} },
{ pattern = "(%d+)%% weapon damage", -- Backstab
type={"backstabmult"} },
{ pattern = "plus (%d+)", -- Backstab
type={"addeddamage"} },
{ pattern = "next attack by (%d+) damage", -- Maul
type={"addeddamage"} },
{ pattern = "causing (%d+) additional damage", -- Claw
type={"addeddamage"} },
{ pattern = "causes (%d+) damage in addition", -- Sinister Strike
type={"addeddamage"} },
{ pattern = "increases melee damage by (%d+)", -- Aimed Shot
type={"addeddamage"} },
{ pattern = "increases ranged damage by (%d+)", -- Aimed Shot
type={"addeddamage"} },
{ pattern = "for an additional (%d+) damage", -- Multi-Shot
type={"addeddamage"} },
{ pattern = "inflicting (%d+) damage%.", -- Swipe
type={"addeddamage"} },
{ pattern = "that causes (%d+) damage,", -- Mocking Blow
type={"addeddamage"} },
{ pattern = "and doing (%d+) damage to them", -- Thunder Clap
type={"addeddamage"} },
}
TheoryCraft_MeleeMinMaxReplacer = {
{ search = " causing %d+ to %d+ damage, modified by attack power, ", -- Shield Slam
replacewith = " causing $damage$ damage " },
{ search = " deals %d+%% weapon damage and ", -- Scattershot / Ghostly
replacewith = " deals $damage$ damage and " },
{ search = " causing damage equal to %d+%% of your attack power", -- Bloodthirst
replacewith = " causing $damage$ damage" },
{ search = "Increases the druid's next attack by %d+ damage", -- Maul
replacewith = "Your next attack causes $damage$ damage" },
{ search = " causing %d+% additional damage", -- Claw
replacewith = " causing $damage$ damage" },
{ search = " causing %d+%% weapon damage plus %d+ to the target", -- Backstab
replacewith = " causing $damage$ damage" },
{ search = " causing %d+%% damage plus %d+ to the target", -- Shred/Ravage
replacewith = " causing $damage$ damage" },
{ search = " causes %d+ damage in addition to your normal weapon damage", -- Sinister Strike
replacewith = " causes $damage$ damage" },
{ search = " that increases melee damage by %d+", -- Aimed Shot
replacewith = " that deals $damage$ damage to the target" },
{ search = " increases ranged damage by %d+", -- Aimed Shot
replacewith = " causes $damage$ damage to the target" },
{ search = " for an additional %d+ damage", -- Multi-Shot
replacewith = " for $damage$ damage" },
{ search = " deals weapon damage plus %d+ and ", -- Mortal Strike
replacewith = " deals $damage$ damage and " },
{ search = " does your weapon damage plus %d+ to ", -- Cleave
replacewith = " deals $damage$ damage to " },
{ search = " causing weapon damage plus %d+", -- Overpower
replacewith = " causing $damage$ damage" },
{ search = " to block enemy melee and ranged attacks%.", -- Block
replacewith = " to block enemy melee and ranged attacks, reducing damage taken by $blockvalue$." },
{ search = "This attack deals %d+%% weapon damage ", -- Riposte
replacewith = "This attack deals $damage$ damage " },
{ search = "inflicting (%d+) damage%.", -- Swipe
replacewith = "inflicting $damage$ damage." },
{ search = "that causes (%d+) damage,", -- Mocking Blow
replacewith = "that causes $damage$ damage," },
{ search = "and doing (%d+) damage to them", -- Thunder Clap
replacewith = "and doing $damage$ damage to them" },
{ search = " causing weapon damage ", -- Whirlwind
replacewith = " causing $damage$ damage " },
}
TheoryCraft_SpellMinMaxReader = {
{ pattern = "causing (%d+) to (%d+) Fire damage to himself and (%d+) to (%d+) Fire damage", -- Hellfire
type={"mindamage", "maxdamage", "mindamage", "maxdamage"} },
{ pattern = "causing (%d+) Fire damage to himself and (%d+) Fire damage", -- Hellfire
type={"bothdamage", "bothdamage"} },
{ pattern = "will be struck for (%d+) Nature damage.", -- Lightning Shield
type={"bothdamage"} },
{ pattern = "and causing (%d+) Nature damage", -- Insect Swarm
type={"bothdamage"} },
{ pattern = "horror for 3 sec and causes (%d+) Shadow damage", -- Death Coil
type={"bothdamage"} },
{ pattern = "(%d+) to (%d+)(.+)and another (%d+) to (%d+)", -- Generic Hybrid spell
type={"mindamage", "maxdamage", "tmptext", "dotmindamage", "dotmaxdamage"} },
{ pattern = "(%d+) to (%d+)(.+)and another (%d+)", -- Generic Hybrid spell
type={"mindamage", "maxdamage", "tmptext", "dotbothdamage"} },
{ pattern = "(%d+)(.+)and another (%d+) to (%d+)", -- Generic Hybrid spell
type={"bothdamage", "tmptext", "dotmindamage", "dotmaxdamage"} },
{ pattern = "(%d+)(.+)and another (%d+)", -- Generic Hybrid spell
type={"bothdamage", "tmptext", "dotbothdamage"} },
{ pattern = "(%d+) to (%d+)(.+)an additional (%d+) to (%d+)", -- Generic Hybrid spell
type={"mindamage", "maxdamage", "tmptext", "dotmindamage", "dotmaxdamage"} },
{ pattern = "(%d+) to (%d+)(.+)an additional (%d+)", -- Generic Hybrid spell
type={"mindamage", "maxdamage", "tmptext", "dotbothdamage"} },
{ pattern = "(%d+)(.+)an additional (%d+) to (%d+)", -- Generic Hybrid spell
type={"bothdamage", "tmptext", "dotmindamage", "dotmaxdamage"} },
{ pattern = "(%d+)(.+)an additional (%d+)", -- Generic Hybrid spell
type={"bothdamage", "tmptext", "dotbothdamage"} },
{ pattern = "(%d+) to (%d+)(.+) and (%d+) to (%d+)", -- Flame Shock
type={"mindamage", "maxdamage", "tmptext", "dotmindamage", "dotmaxdamage"} },
{ pattern = "(%d+) to (%d+)(.+) and (%d+)", -- Flame Shock
type={"mindamage", "maxdamage", "tmptext", "dotbothdamage"} },
{ pattern = "causing (%d+)(.+) and (%d+) to (%d+)", -- Flame Shock
type={"bothdamage", "tmptext", "dotmindamage", "dotmaxdamage"} },
{ pattern = "causing (%d+)(.+) and (%d+)", -- Flame Shock
type={"bothdamage", "tmptext", "dotbothdamage"} },
{ pattern = "(%d+) to (%d+) Fire damage.", -- Magma totem
type={"mindamage", "maxdamage"} },
{ pattern = "(%d+) Fire damage.", -- Magma totem
type={"bothdamage"} },
{ pattern = "yards for (%d+) to (%d+) every ", -- Healing Stream totem
type={"mindamage", "maxdamage"} },
{ pattern = "yards for (%d+) every ", -- Healing Stream totem
type={"bothdamage"} },
{ pattern = "(%d+) to (%d+)", -- Generic Normal spell
type={"mindamage", "maxdamage"} },
{ pattern = "(%d+)", -- Generic no damage range spell
type={"bothdamage"} },
}
TheoryCraft_Dequips = {
{ type = "all", text="All Stats %+(%d+)" },
{ type = "formattackpower", text="%+(%d+) Attack Power in Cat, Bear" },
{ type = "attackpower", text="%+(%d+) Attack Power" },
{ type = "rangedattackpower", text="%+(%d+) ranged Attack Power" },
{ type = "rangedattackpower", text="Ranged Attack Power %+(%d+)%/" },
{ type = "strength", text="%+(%d+) Strength" },
{ type = "strength", text="Strength %+(%d+)" },
{ type = "agility", text="%+(%d+) Agility" },
{ type = "agility", text="Agility %+(%d+)" },
{ type = "stamina", text="%+(%d+) Stamina" },
{ type = "stamina", text="Stamina %+(%d+)" },
{ type = "intellect", text="%+(%d+) Intellect" },
{ type = "intellect", text="Intellect %+(%d+)" },
{ type = "spirit", text="%+(%d+) Spirit" },
{ type = "spirit", text="Spirit %+(%d+)" },
{ type = "totalhealth", text="Health %+(%d+)" },
{ type = "totalhealth", text="HP %+(%d+)" },
{ type = "meleecritchance", text="Improves your chance to get a critical strike by (%d+)%%%." },
}
TheoryCraft_Locale = {
HitMessage = "Your (.+) hits (.+) for (%d+)%.",
CritMessage = "Your (.+) crits (.+) for (%d+)%.",
Absorbed = "(%+) absorbed",
ID_Beast = "Beast",
ID_Humanoid = "Humanoid",
ID_Giant = "Giant",
ID_Dragonkin = "Dragonkin",
ID_Equip = "Equip: ",
ID_Set = "Set: ",
ID_Use = "Use: ",
to = " to ",
Attack = "Attack",
InstantCast = "Instant cast",
SecCast = " sec cast",
Mana = " Mana",
Cooldown = " sec cooldown",
CooldownRem = "Cooldown remaining: ",
Set = "%(%d+/%d+%)",
LoadText = "TheoryCraftClassic "..TheoryCraft_Version.." by Aelian, ported by Xodious-Whitemane. Type /tc for ui interface. Type /tc more for hidden features.",
lifetap = "Life Tap",
MinMax = {
autoshotbefore = "Shoots the target for ",
autoshotafter = ".",
shooterror = "No wand equipped.",
crusader = "granting %d+ melee attack power",
},
SpellTranslator = {
["Frostbolt"] = "Frostbolt",
["Frost Nova"] = "Frost Nova",
["Cone of Cold"] = "Cone of Cold",
["Blizzard"] = "Blizzard",
["Arcane Explosion"] = "Arcane Explosion",
["Arcane Missiles"] = "Arcane Missiles",
["Fire Blast"] = "Fire Blast",
["Fireball"] = "Fireball",
["Pyroblast"] = "Pyroblast",
["Scorch"] = "Scorch",
["Blast Wave"] = "Blast Wave",
["Flamestrike"] = "Flamestrike",
["Ice Barrier"] = "Ice Barrier",
["Evocation"] = "Evocation",
["Shadow Bolt"] = "Shadow Bolt",
["Soul Fire"] = "Soul Fire",
["Searing Pain"] = "Searing Pain",
["Immolate"] = "Immolate",
["Firebolt"] = "Firebolt",
["Lash of Pain"] = "Lash of Pain",
["Conflagrate"] = "Conflagrate",
["Rain of Fire"] = "Rain of Fire",
["Hellfire"] = "Hellfire",
["Corruption"] = "Corruption",
["Curse of Agony"] = "Curse of Agony",
["Curse of Doom"] = "Curse of Doom",
["Drain Soul"] = "Drain Soul",
["Siphon Life"] = "Siphon Life",
["Drain Life"] = "Drain Life",
["Death Coil"] = "Death Coil",
["Shadowburn"] = "Shadowburn",
["Life Tap"] = "Life Tap",
["Prayer of Healing"] = "Prayer of Healing",
["Shadow Word: Pain"] = "Shadow Word: Pain",
["Mind Flay"] = "Mind Flay",
["Mind Blast"] = "Mind Blast",
["Smite"] = "Smite",
["Holy Fire"] = "Holy Fire",
["Holy Nova"] = "Holy Nova",
["Power Word: Shield"] = "Power Word: Shield",
["Desperate Prayer"] = "Desperate Prayer",
["Lesser Heal"] = "Lesser Heal",
["Heal"] = "Heal",
["Flash Heal"] = "Flash Heal",
["Greater Heal"] = "Greater Heal",
["Devouring Plague"] = "Devouring Plague",
["Renew"] = "Renew",
["Starshards"] = "Starshards",
["Healing Touch"] = "Healing Touch",
["Tranquility"] = "Tranquility",
["Rejuvenation"] = "Rejuvenation",
["Regrowth"] = "Regrowth",
["Starfire"] = "Starfire",
["Wrath"] = "Wrath",
["Insect Swarm"] = "Insect Swarm",
["Entangling Roots"] = "Entangling Roots",
["Moonfire"] = "Moonfire",
["Hurricane"] = "Hurricane",
["Ravage"] = "Ravage",
["Shred"] = "Shred",
["Claw"] = "Claw",
["Maul"] = "Maul",
["Ferocious Bite"] = "Ferocious Bite",
["Swipe"] = "Swipe",
["Bloodthirst"] = "Bloodthirst",
["Mortal Strike"] = "Mortal Strike",
["Overpower"] = "Overpower",
["Whirlwind"] = "Whirlwind",
["Heroic Strike"] = "Heroic Strike",
["Cleave"] = "Cleave",
["Block"] = "Block",
["Thunder Clap"] = "Thunder Clap",
["Mocking Blow"] = "Mocking Blow",
["Shield Slam"] = "Shield Slam",
["Sinister Strike"] = "Sinister Strike",
["Hemorrhage"] = "Hemorrhage",
["Backstab"] = "Backstab",
["Ghostly Strike"] = "Ghostly Strike",
["Ambush"] = "Ambush",
["Riposte"] = "Riposte",
["Eviscerate"] = "Eviscerate",
["Flash of Light"] = "Flash of Light",
["Holy Light"] = "Holy Light",
["Exorcism"] = "Exorcism",
["Holy Wrath"] = "Holy Wrath",
["Consecration"] = "Consecration",
["Hammer of Wrath"] = "Hammer of Wrath",
["Seal of the Crusader"] = "Seal of the Crusader",
["Seal of Command"] = "Seal of Command",
["Seal of Righteousness"] = "Seal of Righteousness",
["Holy Shock"] = "Holy Shock",
["Chain Lightning"] = "Chain Lightning",
["Lightning Bolt"] = "Lightning Bolt",
["Lightning Shield"] = "Lightning Shield",
["Lesser Healing Wave"] = "Lesser Healing Wave",
["Healing Wave"] = "Healing Wave",
["Chain Heal"] = "Chain Heal",
["Earth Shock"] = "Earth Shock",
["Flame Shock"] = "Flame Shock",
["Frost Shock"] = "Frost Shock",
["Magma Totem"] = "Magma Totem",
["Searing Totem"] = "Searing Totem",
["Healing Stream Totem"] = "Healing Stream Totem",
["Arcane Shot"] = "Arcane Shot",
["Serpent Sting"] = "Serpent Sting",
["Mend Pet"] = "Mend Pet",
["Multi-Shot"] = "Multi-Shot",
["Volley"] = "Volley",
["Aimed Shot"] = "Aimed Shot",
["Scatter Shot"] = "Scatter Shot",
["Raptor Strike"] = "Raptor Strike",
["Auto Shot"] = "Auto Shot",
["Attack"] = "Attack",
["Shoot"] = "Shoot",
},
-- Appears on the advanced tab, left side matches spell data (do not translate), right side equals display text
TalentTranslator = {
-- Warlock
{ id="suppression", translated="Suppression" },
{ id="impcorrupt", translated="Corruption" },
{ id="impdrainlife", translated="Drain Life" },
{ id="impcoa", translated="CoA" },
{ id="shadowmastery", translated="SM" },
{ id="demonicembrace", translated="Demonic Emb" },
{ id="impsearing", translated="Searing Pain" },
{ id="impimmolate", translated="Immolate" },
{ id="emberstorm", translated="Emberstorm" },
{ id="devastation", translated="Devastation" },
{ id="ruin", translated="Ruin" },
-- Mage
{ id="subtlety", translated="Subtlety" },
{ id="focus", translated="Arcane Focus" },
{ id="clearcast", translated="Clearcast" },
{ id="meditation", translated="Meditation" },
{ id="arcanemind", translated="Arcane Mind" },
{ id="instab", translated="Instability" },
{ id="impfire", translated="Fireball" },
{ id="ignite", translated="Ignite" },
{ id="incinerate", translated="Incinerate" },
{ id="impflame", translated="Flamestrike" },
{ id="critmass", translated="Crit Mass" },
{ id="firepower", translated="Fire Power" },
{ id="impfrost", translated="Frostbolt" },
{ id="shards", translated="Ice Shards" },
{ id="piercice", translated="Pierc Ice" },
{ id="chanelling", translated="Chanelling" },
{ id="shatter", translated="Shatter" },
{ id="impcoc", translated="Cone of Cold" },
-- Mage2
{ id="subtlety", translated="Subtlety" },
{ id="focus", translated="Arcane Focus" },
{ id="clearcast", translated="Clearcast" },
{ id="impae", translated="IAE" },
{ id="meditation", translated="Meditation" },
{ id="arcanemind", translated="Arcane Mind" },
{ id="instab", translated="Instability" },
{ id="impfire", translated="Fireball" },
{ id="ignite", translated="Ignite" },
{ id="incinerate", translated="Incinerate" },
{ id="impflame", translated="Flamestrike" },
{ id="burnsoul", translated="Burning Soul" },
{ id="masterofelements", translated="Mast Element" },
{ id="critmass", translated="Crit Mass" },
{ id="firepower", translated="Fire Power" },
{ id="impfrost", translated="Frostbolt" },
{ id="elemprec", translated="Elem Prec" },
{ id="shards", translated="Ice Shards" },
{ id="piercice", translated="Pierc Ice" },
{ id="chanelling", translated="Chanelling" },
{ id="shatter", translated="Shatter" },
{ id="impcoc", translated="Cone of Cold" },
-- Hunter
{ id="lethalshots", translated="Lethal Shots" },
{ id="mortalshots", translated="Mortal Shots" },
{ id="rws", translated="Ranged Spec" },
{ id="barrage", translated="Barrage" },
{ id="humanoidslaying", translated="Humananoid" },
{ id="monsterslaying", translated="Monster" },
{ id="savagestrikes", translated="Savage" },
{ id="survivalist", translated="Survivalist" },
{ id="killerinstinct", translated="Killer Inst" },
{ id="reflexes", translated="Reflexes" },
-- Priest
{ id="imppwrword", translated="PW: Shield" },
{ id="pmeditation", translated="Meditation" },
{ id="mentalagility", translated="Mental Agi" },
{ id="mentalstrength", translated="Mental Str" },
{ id="forceofwill", translated="Force of Will" },
{ id="imprenew", translated="Renew" },
{ id="holyspec", translated="Holy Spec" },
{ id="divinefury", translated="Divine Fury" },
{ id="imphealing", translated="Imp Healing" },
{ id="searinglight", translated="Searing Light" },
{ id="guidance", translated="Guidance" },
{ id="imppoh", translated="Imp PoH" },
{ id="spiritual", translated="Spiritual" },
{ id="shadowfocus", translated="Shadow Focus" },
{ id="darkness", translated="Darkness" },
-- Warrior
{ id="impoverpower", translated="Overpower" },
{ id="impale", translated="Impale" },
{ id="twohandspec", translated="Twohnd Spec" },
{ id="axespec", translated="Axe Spec" },
{ id="polearmspec", translated="Polearm Spec" },
{ id="cruelty", translated="Cruelty" },
{ id="onehandspec", translated="Onehnd Spec" },
-- Shaman
{ id="lightningmast", translated="Lightning" },
{ id="elemfocus", translated="Elem Focus" },
{ id="convection", translated="Convection" },
{ id="concussion", translated="Concussion" },
{ id="callofthunder", translated="Call of Thund" },
{ id="fury", translated="Elem Fury" },
{ id="impcl", translated="Imp Chain L" },
{ id="ancestral", translated="Ancestral" },
{ id="thundering", translated="Thundering" },
{ id="impls", translated="Lghtng Shield" },
{ id="imphealingwave", translated="Healing Wve" },
{ id="tidalfocus", translated="Tidal Focus" },
{ id="tidalmastery", translated="Tidal Mast" },
{ id="purification", translated="Purification" },
{ id="natguid", translated="Natures Guid" },
{ id="weaponmast", translated="Weapon" },
-- Druid
{ id="impwrath", translated="Wrath" },
{ id="impmoon", translated="Moonfire" },
{ id="vengeance", translated="Vengeance" },
{ id="impstarfire", translated="Starfire" },
{ id="grace", translated="Grace" },
{ id="moonfury", translated="Moonfury" },
{ id="natweapons", translated="Nat Weapons" },
{ id="claws", translated="Sharp Claws" },
{ id="strikes", translated="Pred Strikes" },
{ id="savagefury", translated="Savage Fury" },
{ id="hotw", translated="Heart ot W" },
{ id="imptouch", translated="Healing Tch" },
{ id="reflection", translated="Reflection" },
{ id="tranquil", translated="Tranquil" },
{ id="imprejuve", translated="Rejuvenation" },
{ id="giftofnat", translated="Gift of Nat" },
{ id="impregrowth", translated="Regrowth" },
-- Paladin
{ id="divineint", translated="Divine Int" },
{ id="divinestrength", translated="Divine Str" },
{ id="illumination", translated="Illumination" },
{ id="holypower", translated="Holy Power" },
{ id="conviction", translated="Conviction" },
-- Rogue
{ id="malice", translated="Malice" },
{ id="lethality", translated="Lethality" },
{ id="impbs", translated="Backstab" },
{ id="daggerspec", translated="Dagger spec" },
{ id="fistspec", translated="Fist spec" },
{ id="aggression", translated="Aggression" },
{ id="opportunity", translated="Opportunity" },
{ id="impambush", translated="Imp Ambush" },
},
-- Needs translating for the predefined sets to have set bonuses
SetTranslator = {
{ id="Magisters", translated="Magister's Regalia" },
{ id="Sorcerers", translated="Sorcerer's Regalia" },
{ id="Arcanist", translated="Arcanist Regalia" },
{ id="Netherwind", translated="Netherwind Regalia" },
{ id="Dreadmist", translated="Dreadmist Raiment" },
{ id="Deathmist", translated="Deathmist Raiment" },
{ id="Felheart", translated="Felheart Raiment" },
{ id="Nemesis", translated="Nemesis Raiment" },
{ id="Devout", translated="Vestments of the Devout" },
{ id="Virtuous", translated="Vestments of the Virtuous" },
{ id="Prophecy", translated="Vestments of Prophecy" },
{ id="Transcendence", translated="Vestments of Transcendence" },
{ id="Wildheart", translated="Wildheart Raiment" },
{ id="Feralheart", translated="Feralheart Raiment" },
{ id="Cenarion", translated="Cenarion Raiment" },
{ id="Stormrage", translated="Stormrage Raiment" },
{ id="Elements", translated="The Elements" },
{ id="Five Thunders", translated="The Five Thunders" },
{ id="Earthfury", translated="The Earthfury" },
{ id="Ten Storms", translated="The Ten Storms" },
{ id="Lightforge", translated="Lightforge Armor" },
{ id="Soulforge", translated="Soulforge Armor" },
{ id="Lawbringer", translated="Lawbringer Armor" },
{ id="Judgement", translated="Judgement Armor" },
{ id="Valor", translated="Battlegear of Valor" },
{ id="Heroism", translated="Battlegear of Heroism" },
{ id="Might", translated="Battlegear of Might" },
{ id="Wrath", translated="Battlegear of Wrath" },
{ id="Shadowcraft", translated="Shadowcraft Armor" },
{ id="Darkmantle", translated="Darkmantle Armor" },
{ id="Nightslayer", translated="Nightslayer Armor" },
{ id="Bloodfang", translated="Bloodfang Armor" },
{ id="Beaststalker", translated="Beaststalker Armor" },
{ id="Beastmaster", translated="Beastmaster Armor" },
{ id="Giantstalker", translated="Giantstalker Armor" },
{ id="Dragonstalker", translated="Dragonstalker Armor" },
},
}
TheoryCraft_CheckButtons = {
["embedstyle1"] = { short = "DPS | Crit", description = "Adds an extra line in the middle of the tooltip,\nwith DPS/HPS on the left and Crit chance on the right.", descriptionmelee="For melee, will only show your crit chance above\nthe description of each ability." },
["embedstyle2"] = { hide = {"ROGUE", "WARRIOR"}, short = "DPM | Crit", description = "Adds an extra line in the middle of the tooltip,\nwith DPM/HPM on the left and Crit chance on the right." },
["embedstyle3"] = { hide = {"ROGUE", "WARRIOR"}, short = "DPS/HPM | Crit", description = "Adds an extra line in the middle of the tooltip,\nwith DPS/HPM on the left and Crit chance on the right." },
["titles"] = { hide = {"ROGUE", "WARRIOR"}, short = "Titles", description = "Seperates the tooltip extended info in to seperate categories." },
["embed"] = { short = "Embed", description = "Modifies the base description of your spell tooltips,\nto include the effects of gear.", descriptionmelee = "Modifies the base description of your ability tooltips\nto replace terms like 'weapon damage plus 160'\nwith actual damage done." },
["crit"] = { short = "Crit", description = "Adds your crit rate to your spell tooltips.\nIncludes talents, gear and base crit rate (int/$cr).", descriptionmelee = "Adds your crit damage and crit chance to your ability tooltips." },
["critdam"] = { hide = {"ROGUE", "WARRIOR"}, short = "Crit Damage", description = "Shows the damage range of your critical strikes" },
["rollignites"] = { hide = {"ROGUE", "WARRIOR", "WARLOCK", "PRIEST", "DRUID", "PALADIN", "SHAMAN", "HUNTER" }, short = "Rolling Ignites", description = "All calculations that include critical strikes\nwill factor in rolling ignites. That is where\nignite procs whilst ignite is already on the target,\nresetting the timer but adding to the damage." },
["sepignite"] = { hide = {"ROGUE", "WARRIOR", "WARLOCK", "PRIEST", "DRUID", "PALADIN", "SHAMAN", "HUNTER" }, short = "Seperate Ignite", description = "Seperates the ignite component from your crit damage." },
["dps"] = { hide = {"ROGUE", "WARRIOR"}, short = "DPS", description = "Adds Damage per Second cast time to\nyour tooltips. For instant casts,\ncast time is taken as the length of\nthe global cooldown, 1.5 seconds.", descriptionmelee = "How much this ability increases your dps by, if you use it each time the timer is up." },
["combinedot"] = { hide = {"ROGUE", "WARRIOR"}, short = "Combine DoT", description = "If enabled, spells that have both a \ndirect component and an over time component will have\nthe DoT DPS expressed as (DPS+DoT)/Casttime\n rather then DoT/Duration." },
["dotoverct"] = { hide = {"ROGUE", "WARRIOR"}, short = "DoT over CT", description = "DoTs will have their DPS as Total Damage / Cast time, \nrather then Total Damage / DoT Duration" },
["hps"] = { hide = {"ROGUE", "WARRIOR"}, short = "HPS", description = "Is calculated the same way as DPS,\nwith the same extended options." },
["dpsdam"] = { hide = {"ROGUE", "WARRIOR"}, short = "DPS from +dam", description = "How much of your DPS/HPS is from your +damage gear." },
["averagedam"] = {short = "Average Hit", description = "Adds the spells average hit to your tooltips.", descriptionmelee = "Adds your average damage to your ability tooltips." },
["procs"] = { hide = {"ROGUE", "WARRIOR"}, short = "Include Procs", description = "All Proc based effects (Wrath of Cenarius, Darkmoon Trinket, Netherwind)\neffects are averaged instead of only being applied while the buff is active." },
["mitigation"] = { hide = {"STRIPPED"}, short = "Enable Mitigation", description = "If enabled your targets armor will be included in TC's calculations.\nYou can view a mobs armor by typing in /tc armor 'mob name', or\njust leaving it blank to list all known mobs." },
["resists"] = { hide = {"ROGUE", "WARRIOR"}, short = "Resists", description = "Adds a resists category to the tooltip.\nThis includes the resist rate of your *target* and\nyour dps after level-based resists are accounted for.\nIf you have any Spell Penetration gear it'll also\ntell you how much dps your penetration gear adds.\nNote that unless your target has a resist score equal to\nor higher then your penetration score, this dps\npenetrated won't be achieved." },
["averagethreat"] = { hide = {"ROGUE", "WARRIOR", "SHAMAN", "HUNTER", "DRUID", "WARLOCK", "PRIEST", "MAGE"}, short = "Average Threat", description = "The average threat caused by the attack." },
["plusdam"] = { hide = {"ROGUE", "WARRIOR"}, short = "+Damage", description = "+Damage for that spell, before the +dam coefficient." },
["damcoef"] = { hide = {"ROGUE", "WARRIOR"}, short = "+Damage Coefficient", description = "+Damage coefficient for that spell.\nWill be modified by applicable talents." },
["dameff"] = { hide = {"ROGUE", "WARRIOR"}, short = "+Damage Efficiency", description = "The +damage system is based on 3.5 +damage = +1dps, before crits.\nIf the spell gets this, then the efficiency will be 100%." },
["damfinal"] = { hide = {"ROGUE", "WARRIOR"}, short = "Final +Damage", description = "+Damage added to the spell after the +dam coefficient." },
["healanddamage"] = { hide = {"ROGUE", "WARRIOR", "MAGE", "SHAMAN", "HUNTER", "DRUID"}, short = "Show Heal Component", description = "If enabled spells that both damage and heal will\nhave both components listed seperately.\nNormally only the damage component will be shown." },
["nextagi"] = { hide = {"MAGE", "WARLOCK", "PRIEST", "PALADIN", "SHAMAN" }, short = "Next 10 agility", description = "", descriptionmelee = "Shows how much 10 agility will add to your average damage,\nalong with how much attack power would provide an equivelant boost." },
["nextstr"] = { hide = {"MAGE", "WARLOCK", "PRIEST", "PALADIN", "SHAMAN" }, short = "Next 10 strength", description = "", descriptionmelee = "Shows how much 10 strength will add to your average damage,\nalong with how much attack power would provide an equivelant boost." },
["nextcrit"] = { short = "Next 1% to Crit", description = "Shows how much another 1% chance to crit will add to your *average damage*\nalong with how much +damage gear would be equivelant", descriptionmelee = "Shows how much +1% to crit will add to your average damage,\nalong with how much attack power would provide an equivelant boost." },
["nexthit"] = { short = "Next 1% to Hit", description = "Shows how much another 1% chance to hit will add to your *average damage*\nalong with how much +damage gear would be equivelant. To have it incorporate\nyour targets level you must have 'Factor Resists' turned on.", descriptionmelee = "Shows how much +1% to hit will add to your average damage,\nalong with how much attack power would provide an equivelant boost." },
["nextpen"] = { hide = {"ROGUE", "WARRIOR"}, short = "Next 10 Penetration", description = "If the target has a higher resistance score then your\npenetration score, your average damage will be\nlower then what TC says. Having an extra 10 penetration\nwill increase your actual average damage closer to TC's\ncalculated value, by the amount shown.\nTC will also tell you how much extra +damage\nwould increase your actual damage by the same amount.\nIf you have Factor Resists turned on, it'll tell you exactly\nhow much damage it'll add and the equivelant +damage figure." },
["mana"] = { hide = {"ROGUE", "WARRIOR"}, short = "True Mana Cost", description = "Adds the true mana cost of your spell to the tooltip.\nIf a spell costs 30 mana, and you regenerate 40 mana\nwhilst casting it then this will be negative.\nIt is effected by things like mana regen whilst casting,\nshaman earthfury bonus, paladin's illumination talent, etc.\nAll internal calculations go off this value." },
["dpm"] = { hide = {"ROGUE", "WARRIOR"}, short = "DPM", description = "Average Damage divided by True Mana Cost" },
["hpm"] = { hide = {"ROGUE", "WARRIOR"}, short = "HPM", description = "Average Heal divided by True Mana Cost" },
["max"] = { hide = {"ROGUE", "WARRIOR"}, short = "Max til oom", description = "Shows how much damage/healing you can do before going oom,\nchaincasting the spell including all normal forms of regen." },
["maxevoc"] = { hide = {"ROGUE", "WARRIOR", "WARLOCK", "PRIEST", "DRUID", "PALADIN", "SHAMAN", "HUNTER" }, short = "Max til oom (gem+evoc)", description = "Same as 'Max til oom', but includes two mage abilities to regen mana." },
["lifetap"] = { hide = {"ROGUE", "WARRIOR", "MAGE", "SHAMAN", "HUNTER", "DRUID", "PRIEST", "PALADIN"}, short = "Lifetap Values", description = "DPS, DPM, HPS, HPM if enabled will have\nadditional info for if you're using Lifetap.\nTakes in to account the global cooldown." },
["buttontext"] = { short = "Enable Button Text", description = "TheoryCraft can show values on your Action Buttons.\nThis option will enable the feature.\n\nNote: Only supports the default Blizzard, Discord, Nurfed and Flex Action Bars, along with the Spellbook." },
["tryfirst"] = { short = "Default Button Text", description = "The default value to show on your Action Buttons." },
["trysecond"] = { short = "Alt Button Text", description = "If the default value is nil, TheoryCraft will\ntry to show this value." },
["tryfirstsfg"] = { short = "Default Significant Figures", description = "How much the text value should be rounded by.\nA value of 100 will show the number 353 as 400." },
["trysecondsfg"]= { short = "Alt Significant Figures", description = "How much the text value should be rounded by.\nA value of 100 will show the number 353 as 400." },
["framebyframe"]= { short = "Frame by Frame", tooltiptitle = "Force Frame by Frame", description = "Forces button text to be generated one button per frame, instead of all at once.\nNormally this is only done only in combat, as each button is virtually instant to\ngenerate. On very slow computers you may wish to force TC to always generate\nbuttons this way, by ticking this checkbox." },
["outfit"] = { short = " ", tooltiptitle = "Outfit", description = "TheoryCraft allows you to test different sets of gear.\nAny of the 8-9 piece class sets can be tested (with\nyour gear making up the other slots), or you can\nmix and match gear of your choice by selecting\nthe 'Custom' set." },
["showsimult"] = { short = "Compare Mode", description = "If checked, your current stats and your outfits/talents stats\nwill be shown simulatenously on the tooltip." },
["dontcrit"] = { hide = {"ROGUE", "WARRIOR"}, short = "Don't include crits", description = "If checked crits won't be included in calculated values (eg: dpm/hpm/dps).\nThis will also disable illumination, master of elements and natures grace bonuses." },
["dontresist"] = { hide = {"ROGUE", "WARRIOR"}, short = "Factor resists", description = "If checked, level-based and resistance-based resists will be factored\nfor all calculated values (eg: dpm/hpm/dps).\nResists can be set below." },
["useglock"] = { hide = {"ROGUE", "WARRIOR"}, short = "Use GLOCK", description = "GLOCK is an external addon that calculates Mob's resistances from combat.\nIf checked, and GLOCK is enabled, these values can be used by TheoryCraft\nto provide the most accurate statistics available for your target.\n\nWith this option enabled, the edit boxes below are regularly overwritten." },
}
-- Used for schoolname in the buffs/equips. Wherever schoolname appears, it'll try each "text" value,
-- and the amount will be added to the "name" value. "text" should be localised, "name" should not.
TheoryCraft_PrimarySchools = {
{ name = "Frost", text = "Frost" },
{ name = "Nature", text = "Nature" },
{ name = "Fire", text = "Fire" },
{ name = "Arcane", text = "Arcane" },
{ name = "Shadow", text = "Shadow" },
{ name = "Holy", text = "Holy" },
}
-- All buffs and equip effects are read from here
-- Variable Name: Description:
-- text The text that the buff description or equip line says. If it contains the word schoolname then it tries each
-- school name in that position, eg Frost, and adds it to the appropriate variable. Can not be used for the rare
-- cases of items that only increase crit to one school, as it will only add to the damage component
-- type The variable to modify when it sees this label, from the following:
-- All/Damage/Frost Increases damage/healing of all spells in that school
-- Allcritchance/Frostcrithit Any of their subcategories can be modified too
-- manaperfive Increases mana per 5 second regen
-- ICPercent The value that your mana regen is multiplied by to get in-5-second-rule regen
-- amount The amount to increase the value by. Valid values are:
-- "n/100" 100th of tooltip value
-- "totem" 5/2 of tooltip value (used for totem mana regen)
-- "hl" for blessing of light, holy light +heal (read from tooltip)
-- "fol" for blessing of light, flash of light +heal (read from tooltip)
-- any other value will add that amount to the data value
-- me Mutually exclusive, if this tag is on an increaser then after this line has been found, no other increaser
-- with the me tag will read this line, good for things like Wizard Oil and Lesser Wizard Oil, where you don't want
-- Wizard Oil being picked up in Lesser Wizard Oil. The tag highest up gets spotted first.
-- Checks every buff for these
TheoryCraft_Buffs = {
{ text="damage done increases by (%d+)%%", type="Damagebaseincrease", amount="n/100" }, -- General buff in av
{ text="Ignore (%d+) of enem.+armor", type="Sunder" }, -- Bonereaver's Edge
{ text="Increases Healing Wave's effect by up to (%d+)%%.", type="Healing Wavetalentmod", amount="n/100" }, -- Healing Way
{ text="Restores (%d+)%% of total Mana every 4 sec%.", type="FelEnergy", amount="n/100" }, -- Fel Energy
{ text="Magical damage dealt.-increase.-(%d+)", type="All" }, -- Very Berry/Eye of Moam
{ text="Magical resistances of your spell targets reduced by (%d+)", type="Allpenetration" }, -- Eye of Moam
{ text="Increases damage and healing done by magical spells and effects by up to (%d+)%.", type="All" }, -- Elements/Five Thunders
{ text="Melee attack power increased by (%d+)%. Melee attacks are %d+%% faster, but deal less damage%.", type="AttackPowerCrusader" }, -- Seal of the crusader
{ text="(%d+) mana regen per tick%.", type="manaperfive" }, -- Warchief's blessing
{ text="Gain (%d+) mana every 2 seconds%.", type="manaperfive", amount="totem" }, -- Totems
{ text="Receives up to (%d+) extra healing from Holy Light spells", type="Holy Light", amount="hl", target = "target"}, -- Blessing of light
{ text="(%d+) extra healing from Flash of Light spells%.", type="Flash of Light", amount="fol", target = "target" }, -- Blessing of light
{ text="Holy Shock spell increased by 100%%", type="Holycritchance", amount=100 }, -- Divine Favour
{ text="Holy Shock spell increased by 100%%", type="Holy Shockcritchance", amount=100 }, -- Divine Favour
{ text="Increases critical strike chance from Fire damage spells by (%d+)%%", type="Firecritchance" }, -- Combustion in 1.11
{ text="Spell effects increased by (%d+)%.", type="All" }, -- Spell Blasting
{ text="Mana cost of your next spell is reduced by 100%%%.", type="Holycritchance", amount=25 }, -- Inner Focus
{ text="Increases healing done by spells and effects by up to (%d+) for %d+ sec%.", type="Healing" }, -- Blessed Prayer
{ text="Shadow damage you deal increased by (%d+)%%%.", type="Shadowbaseincrease", amount="n/100" }, -- Shadowform
{ text="Increases damage by (%d+)%%%.", type="Allbaseincrease", amount=0.05 }, -- Sayge's fortune
{ text="Increases damage by (%d+)%%%.", type="Meleebaseincrease", amount=0.05 }, -- Sayge's fortune
{ text="Fire damage increased by (%d+)%%%.", type="Firebaseincrease", amount="n/100" }, -- Burning Wish Demonic Sacrifice Imp
{ text="Increases damage caused by (%d+)%%%.", type="Allbaseincrease", amount="n/100" }, -- Master Demonologist Succubus
{ text="Shadow damage increased by (%d+)%%%.", type="Shadowbaseincrease", amount="n/100" }, -- Touch of Shadow Demonic Sacrifice Succubus
{ text="Melee damage increased by (%d+)%%%.", type="Meleebaseincrease", amount="n/100" }, -- Enrage
{ text="100%% Mana regeneration may continue while casting", type="ICPercent", amount=4 }, -- Innervate
{ text="(%d+)%% of your mana regeneration to continue while", type="ICPercent", amount="n/100" }, -- Mage Armor
{ text="schoolname spell damage increased by up to (%d+)%." }, -- Elixir of frost power
{ text="Increases spell fire damage by up to (%d+)%.", type="Fire" }, -- Elixir of greater firepower
{ text="Spell damage and healing done increased by (%d+)%%%.", type="Allbaseincrease", amount="n/100" }, -- Power Infusion
{ text="Increased damage and mana cost for your spells%.", type="Damagemodifier", amount=0.35 }, -- Arcane Power
{ text="(%d+) [mM]ana every 5 seconds%.", type="manaperfive" }, -- Blessing of Wisdom/Nightfin soup
{ text="Mana Regeneration increased by (%d+) every 5 seconds%.", type="manaperfive" }, -- Safefish Well Fed
{ text="Spell damage increased by .-(%d+)", type="Damage" }, -- Flask of Supreme Power / ZHC Damage
{ text="spell critical chance.-(%d+)", type="Allcritchance" }, -- Moonkin Aura/Fire Festival Fury
{ text="Magical damage and healing dealt is increased by (%d+)", type="All" }, -- ToEP
{ text="Healing increased by up to (%d+)", type="Healing" }, -- ZHC Healing
{ text="In addition, both the demon and master will inflict (%d+)%% more damage%.", type="Allbaseincrease", amount="n/100" }, -- Soul Link
}
TheoryCraft_Debuffs = {
{ text="Armor decreased by (%d+)%.", type="Sunder" }, -- Sunder Armor
{ text="Armor decreased%.", type="DontMitigate", amount=1 }, -- Expose Armor
{ text="Frost spells have a (%d+)%% ", type="Frostcritchance" }, -- Winter's Chill
{ text="All attackers gain (%d+) Ranged Attack Power against this target%.", type="huntersmark" }, -- Hunter's Mark
{ text="Increases Shadow damage taken by (%d+)%%%.", type="Shadowbaseincrease", amount="n/100" }, -- Shadow Weaving
{ text="Reduces Fire and Frost resistances by (%d+)%.", type="Firepenetration" }, -- Curse of the Elements
{ text="Reduces Fire and Frost resistances by (%d+)%.", type="Frostpenetration" }, -- Curse of the Elements
{ text="Increases Fire and Frost damage taken by (%d+)%%%.", type="Firebaseincrease", amount="n/100" }, -- Curse of the Elements
{ text="Increases Fire and Frost damage taken by (%d+)%%%.", type="Frostbaseincrease", amount="n/100" }, -- Curse of the Elements
{ text="Shadow and Arcane damage taken increased by (%d+)%%%.", type="Shadowbaseincrease", amount="n/100" }, -- Curse of shadows
{ text="Shadow and Arcane damage taken increased by (%d+)%%%.", type="Arcanebaseincrease", amount="n/100" }, -- Curse of shadows
{ text="Reduces Shadow and Arcane resistances by (%d+)%.", type="Shadowpenetration" }, -- Curse of Shadows
{ text="Reduces Shadow and Arcane resistances by (%d+)%.", type="Arcanepenetration" }, -- Curse of Shadows
{ text="Increases Holy damage taken by up to (%d+)%%.", type="Holy" }, -- Judgement of Crusader
{ text="Frozen in place%.", type="doshatter", amount=1 }, -- Frost Nova
{ text="Frozen%.", type="doshatter", amount=1 }, -- Freezing Band?
{ text="Increases Fire damage taken by (%d+)%%%.", type="Firebaseincrease", amount="n/100" }, -- Improved Scorch
}
-- Dot Duration is read from here
TheoryCraft_DotDurations = {
{ text=" over (%d+) sec", amount="n" }, -- Shadow Word: Pain, Corruption, Immolate, Renew
{ text="every second for (%d+) sec%.", amount="n" }, -- Volley
{ text=" seconds for (%d+) sec%.", amount="n" }, -- Tranquility
{ text="each second for (%d+) sec%.", amount="n" }, -- Arcane Missiles
{ text="Lasts (%d+) sec%.", amount="n" }, -- Drain and Siphon Life
{ text="after 1 min%.", amount="60" }, -- Curse of Doom
}
-- Checks every line for these
TheoryCraft_EquipEveryRight = {
{ text="^Speed (%d+%.?%d+)", type="OffhandSpeed", slot="SecondaryHand" }, -- Weapon Damage
{ text="^Speed (%d+%.?%d+)", type="MainSpeed", slot="MainHand" }, -- Weapon Damage
{ text="^Speed (%d+%.?%d+)", type="RangedSpeed", slot="Ranged" }, -- Weapon Damage
{ text="^Dagger", type="MeleeAPMult", amount=-0.7, slot="MainHand" }, -- Weapon Damage
{ text="^Dagger", type="DaggerEquipped", amount=1, slot="MainHand" } , -- Used for dagger spec
{ text="^Fist Weapon", type="FistEquipped", amount=1, slot="MainHand" }, -- Used for fist spec
{ text="^Axe", type="AxeEquipped", amount=1, slot="MainHand" }, -- Used for Axe Spec
{ text="^Polearm", type="PolearmEquipped", amount=1, slot="MainHand" }, -- Used for Polearm Spec
{ text="^Shield", type="ShieldEquipped", amount=1, slot="SecondaryHand" }, -- Used for Block
}
TheoryCraft_EquipEveryLine = {
{ text="%+(%d+) Healing Spells", type="Healing" }, -- of healing items
{ text=".+Block Value %+(%d+)", type="BlockValueReport" }, -- Block Value (ZG Enchant)
{ text="Ranged Attack Power %+(%d+)", type="RangedAttackPowerReport" }, -- Hunter Leg/Helm enchant
{ text="^(%d+) Block", type="BlockValueReport" }, -- Block Value (shield)
{ text="%+(%d+) Attack Power", type="AttackPowerReport" }, -- Attack power
{ text="Adds (%d+%.?%d+) damage per second", type="AmmoDPS", slot="Ammo" }, -- Arrows
{ text="Main Hand", type="MeleeAPMult", amount="2.4", slot="MainHand" }, -- Weapon Damage
{ text="One%-Hand", type="MeleeAPMult", amount="2.4", slot="MainHand" }, -- Weapon Damage
{ text="Two%-Hand", type="MeleeAPMult", amount="3.3", slot="MainHand" }, -- Weapon Damage
{ text="(%d+) %- %d+", type="RangedMin", slot="Ranged" }, -- Weapon Damage
{ text="%d+ %- (%d+)", type="RangedMax", slot="Ranged" }, -- Weapon Damage
{ text="Scope %(%+(%d+) Damage%)", type="RangedMin", slot="Ranged" }, -- Weapon Damage enchant
{ text="Scope %(%+(%d+) Damage%)", type="RangedMax", slot="Ranged" }, -- Weapon Damage enchant
{ text="(%d+) %- %d+", type="MeleeMin", slot="MainHand" }, -- Weapon Damage
{ text="%d+ %- (%d+)", type="MeleeMax", slot="MainHand" }, -- Weapon Damage
{ text="Weapon Damage %+(%d+)", type="MeleeMin", slot="MainHand" }, -- Weapon Damage enchant
{ text="Weapon Damage %+(%d+)", type="MeleeMax", slot="MainHand" }, -- Weapon Damage enchant
{ text="(%d+) %- %d+", type="OffhandMin", slot="SecondaryHand" }, -- Weapon Damage
{ text="%d+ %- (%d+)", type="OffhandMax", slot="SecondaryHand" }, -- Weapon Damage
{ text="Weapon Damage %+(%d+)", type="OffhandMin", slot="SecondaryHand" }, -- Weapon Damage enchant
{ text="Weapon Damage %+(%d+)", type="OffhandMax", slot="SecondaryHand" }, -- Weapon Damage enchant
{ text="%+(%d+) schoolname Spell Damage" }, -- of wrath items
{ text="schoolname Damage +(+%d+)" }, -- AQ Glove enchants
{ text="Healing and Spell Damage %+(%d+)", type="All", me=1 }, -- zg enchant
{ text="%+(%d+) Healing", type="Healing" }, -- of healing items
{ text="%+(%d+) Damage and Healing Spells", type="All" }, -- of sorcery items
{ text="schoolname Spell Damage %+(%d+)", me=1 }, -- Winter's Might
{ text="Spell Damage %+(%d+)", type="All", me=1 }, -- Spell Damage +30 enchant
{ text="Healing Spells %+(%d+)", type="Healing" }, -- zg priest and healing enchant
{ text="++(%d+) Spell Damage and Healing", type="All" }, -- not sure
{ text="Use: Restores 375 to 625 mana%.", type="manarestore", amount="500" }, -- Robe of the Archmage
{ text="Spell Hit %+(%d+)%%", type="Allhitchance" }, -- zg enchant
{ text="%/Hit %+(%d+)%%", type="Meleehitchance" }, -- Hunter Leg/Helm enchant
{ text="^.(%d+) mana every 5 sec%.", type="manaperfive" }, -- of restoration
{ text="Mana Regen %+(%d+)/", type="manaperfive" }, -- zg enchant
{ text="Mana Regen (%d+) per 5 sec%.", type="manaperfive" }, -- bracers healing enchant
{ text="^Brilliant Mana Oil", type="manaperfive", amount="12" }, -- Enchanting oils
{ text="^Brilliant Mana Oil", type="Healing", amount="25" }, -- Enchanting oils
{ text="^Brilliant Wizard Oil", type="Allcritchance", amount="1" }, -- Enchanting oils
{ text="^Brilliant Wizard Oil", type="Damage", amount="36" }, -- Enchanting oils
{ text="^Minor Mana Oil", type="manaperfive", amount="4" }, -- Enchanting oils
{ text="^Lesser Mana Oil", type="manaperfive", amount="8" }, -- Enchanting oils
{ text="^Minor Wizard Oil", type="Damage", amount="8" }, -- Enchanting oils
{ text="^Lesser Wizard Oil", type="Damage", amount="16" }, -- Enchanting oils
{ text="^Wizard Oil", type="Damage", amount="24" }, -- Enchanting oils
}
-- Won't check any lines containing the following words (for speed)
TheoryCraft_IgnoreLines = {
"^Durability", "^Soulbound", "^Classes%:", "^Requires", "^%d+ Armor", "^Head", "^Neck", "^Shoulder",
"^Back", "^Chest", "^Wrist", "^Hands", "^Waist", "^Legs", "^Feet", "^Finger", "^Trinket",
"^Wand", "^Held In Off%-hand", "Resistances?$", "^%+%d+ Stamina", "^%+%d+ Intellect",
"^%+%d+ Spirit", "^%+%d+ Agility", "^%+%d+ Strength"
}
-- These are handled specially
TheoryCraft_SetsDequipOnly= {
{ text="Mana cost of Shadow spells reduced by %d+%%%.", type="Shadowmanacost", amount=-0.15 }, -- Felheart 8 piece bonus
}
-- Checks every line beginning Set: for these
TheoryCraft_Sets = {
{ text="(%d+)%% of your Mana regeneration to continue while casting", type="ICPercent", amount="n/100" }, -- Stormrage/Trans
{ text="Your normal ranged attacks have a 4%% chance of restoring 200 mana%.", type="Beastmanarestore", amount=200 }, -- Beaststalker/Beastmaster
{ text="Health or Mana gained from Drain Life and Drain Mana increased by 15%%%.", type="Drain Lifeillum", amount=0.15 }, -- Felheart 3 piece bonus
{ text="10%% chance after casting Arcane Missiles, Fireball, or Frostbolt that your next spell with a casting time under 10 seconds cast instantly%.", type="FrostboltNetherwind", amount=1 }, -- Netherwind
{ text="10%% chance after casting Arcane Missiles, Fireball, or Frostbolt that your next spell with a casting time under 10 seconds cast instantly%.", type="FireballNetherwind", amount=1 }, -- Netherwind
{ text="Increases your chance of a critical hit with Prayer of Healing by (%d+)%%%.", type="Prayer of Healingcritchance" }, -- Prophecy 8 piece
{ text="Improves your chance to get a critical strike with all Shock spells by (%d+)%%%.", type="Shockcritchance" }, -- Shaman Legionnaire set bonus
{ text="Improves your chance to get a critical strike with Nature spells by (%d+)%%%.", type="Naturecritchance" }, -- ten storms set bonus
{ text="After casting your Healing Wave or Lesser Healing Wave spell, gives you a 25%% chance to gain Mana equal to 35%% of the base cost of the spell%.", type="EarthfuryBonusmanacost", amount=-0.0875 }, -- earth fury set bonus
{ text="Increases the damage of Multi%-shot and Volley by (%d+)%%%.", type="Barragemodifier", amount="n/100"}, -- giantstalker set bonus
{ text="Improves your chance to get a critical strike with Holy spells by (%d+)%%%.", type="Holycritchance" }, -- Prophecy
{ text="Chance on spell cast to increase your damage and healing by up to 95 for 10 sec%.", type="All", amount=95, duration=9.9, proc=0.04, exact=1 }, -- Elements
}
-- Checks every line beginning with Equip: or Set: for these
TheoryCraft_Equips = {
{ text="Undead by magical spells and effects by up to (%d+)%.", type="Undead" }, -- Rune of the Dawn
{ text="Increases healing done by Lesser Healing Wave by up to (%d+)%.", type="Lesser Healing Wave" }, -- Totem of Life
{ text="^(%d+) Block", type="BlockValueReport" }, -- Block Value
{ text=".+block value of your shield by (%d+)%.", type="BlockValueReport" }, -- Block Value
{ text="Improves your chance to hit by (%d+)%%%.", type="Meleehitchance" }, -- Generic Hit
{ text="Improves your chance to get a critical strike by (%d+)%%%.", type="CritReport" }, -- Generic Crit
{ text="%+(%d+) Attack Power%.", type="AttackPowerReport" }, -- Attack power
{ text="%+(%d+) ranged Attack Power%.", type="RangedAttackPowerReport" }, -- Hunter's Royal seal of eldre'thalas
{ text="Improves your chance to get a critical strike with spells by (%d+)%%%.", type="Allcritchance" }, -- Generic spell crit
{ text="Decreases the magical resistances of your spell targets by (%d+)%.", type="Allpenetration" }, -- Penetration
{ text="Improves your chance to hit with spells by (%d+)%%%.", type="Allhitchance" }, -- ZG drops
{ text="Increases the critical effect chance of your Holy spells by (%d+)%%%.", type="Holycritchance" }, -- Benediction
{ text="Increases damage and healing done by magical spells and effects by up to (%d+)%.", type="All" }, -- Standard +dam
{ text="Increases healing done by spells and effects by up to (%d+)%.", type="Healing" }, -- Standard +heal
{ text="Increases damage done by schoolname spells and effects by up to (%d+)%." }, -- Single school +dam
{ text="Restores (%d+) mana .+ 5 sec%.", type="manaperfive" }, -- mana per five
{ text="Gives a chance when your harmful spells land to increase the damage of your spells and effects by 132 for 10 sec%.", type="All", amount=132, duration=9.9, proc=0.05, exact=1 }, -- Wrath of Cenarius
{ text="2%% chance on successful spellcast to allow 100%% of your Mana regeneration to continue while casting for 15 sec%.", type="ICPercent", amount=1, duration=15, proc=0.02, exact=0 }, -- Darkmoon Trinket
}
TheoryCraft_WeaponSkillOther = "Unarmed"
-- Used for calcuting real crit chance, off attack skill of your current weapon.
-- English must not be translated. ltext is the text that will be to the left of the weapon type
-- Skill is what skill it matches. (eg Two-Handed Axes)
TheoryCraft_WeaponSkills = {
{ english="Axe", text="Axe", ltext="Two-Hand", skill="Two-Handed Axes" },
{ english="Sword", text="Sword", ltext="Two-Hand", skill="Two-Handed Swords" },
{ english="Mace", text="Mace", ltext="Two-Hand", skill="Two-Handed Maces" },
{ english="Staff", text="Staff", skill="Staves" },
{ english="Axe", text="Axe", skill="Axes" },
{ english="Sword", text="Sword", skill="Swords" },
{ english="Mace", text="Mace", skill="Maces" },
{ english="Polearm", text="Polearm", skill="Polearms" },
{ english="Dagger", text="Dagger", skill="Daggers" },
{ english="", text="Fishing Pole", skill="Fishing" },
}
-- Slot is the text that appears on the custom form, text needs to be translated. Realslot needs to stay as is.
TheoryCraft_SlotNames = {
{ realslot="Head", slot="Head", text="Head" },
{ realslot="Neck", slot="Neck", text="Neck" },
{ realslot="Shoulder", slot="Shoulder", text="Shoulder" },
{ realslot="Back", slot="Back", text="Back" },
{ realslot="Chest", slot="Chest", text="Chest" },
{ realslot="Shirt", slot="Shirt", text="Shirt" },
{ realslot="Tabard", slot="Tabard", text="Tabard" },
{ realslot="Wrist", slot="Wrist", text="Wrist" },
{ realslot="Hands", slot="Hands", text="Hands" },
{ realslot="Waist", slot="Waist", text="Waist" },
{ realslot="Legs", slot="Legs", text="Legs" },
{ realslot="Feet", slot="Feet", text="Feet" },
{ realslot="Finger0", slot="Finger0", text="Finger" },
{ realslot="Finger1", slot="Finger1", text="Finger" },
{ realslot="Trinket0", slot="Trinket0", text="Trinket" },
{ realslot="Trinket1", slot="Trinket1", text="Trinket" },
{ realslot="MainHand", slot="Main", text="Main Hand" },
{ realslot="MainHand", slot="Main", text="One-Hand" },
{ realslot="MainHand", slot="Main", text="Two-Hand", both=true },
{ realslot="SecondaryHand", slot="Off Hand", text="Held In Off-hand" },
{ realslot="SecondaryHand", slot="Off Hand", text="One-Hand" },
{ realslot="SecondaryHand", slot="Off Hand", text="Off Hand" },
{ realslot="Ranged", slot="Ranged", text="Wand" },
{ realslot="Ranged", slot="Ranged", text="Bow" },
{ realslot="Ranged", slot="Ranged", text="Gun" },
{ realslot="Ranged", slot="Ranged", text="Crossbow" },
{ realslot="Ranged", slot="Ranged", text="Ranged" },
{ realslot="Ranged", slot="Ranged", text="Thrown" },
}
--
-- From here on *DOES NOT NEED TO BE TRANSLATED*
--
-- In fact, TC will work just fine with none of the text below.
--
-- It does not need to be modified, and is automatically generated.
--
-- The purpose of this function is simply to help TC work with set bonuses even
-- when run for the very first time. Contact Aelian/Mania if you wish
-- to provide a locale of the following.
--
-- Or you can simply use TC's automatically generated file in
-- World of Warcraft\Account Name\SavedVariables\TheoryCraft.lua
--
function TheoryCraft_LoadDefaultSetData()
TheoryCraft_SetBonuses = {
["Darkmantle Armor"] = {
[1] = {
["pieces"] = 2,
["text"] = "+8 All Resistances.",
},
[2] = {
["pieces"] = 4,
["text"] = "Chance on melee attack to restore 35 energy.",
},
[3] = {
["pieces"] = 6,
["text"] = "+40 Attack Power.",
},
[4] = {
["pieces"] = 8,
["text"] = "+200 Armor.",
},
},
["Lawbringer Armor"] = {
[1] = {
["pieces"] = 3,
["text"] = "Increases the chance of triggering a Judgement of Light heal by 10%.",
},