vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | if not ace:LoadTranslation("DamageMetersFu") then |
2 | |||
3 | DamageMetersFuLocals = { |
||
4 | -- Basics |
||
5 | NAME = "FuBar - DamageMetersFu", |
||
6 | DESCRIPTION = "Damage meters control and information.", |
||
7 | COMMANDS = {"/dmfu", "/damagemetersfu"}, |
||
8 | CMD_OPTIONS = {}, |
||
9 | |||
10 | -- Slash command arguments |
||
11 | ARGUMENT_CLEAR = "clear", |
||
12 | ARGUMENT_PAUSE = "pause", |
||
13 | ARGUMENT_RESET_POSITION = "resetpos", |
||
14 | |||
15 | -- Orphans |
||
16 | TEXT = "Damage Meters", |
||
17 | SHORT_TEXT = "DM", |
||
18 | HINT = "Click to toggle the DamageMeters window.", |
||
19 | |||
20 | -- Menu Values |
||
21 | MENU_DISPLAY_NONE = "Display None", |
||
22 | MENU_SHORT_DISPLAY = "Brief Label Text", |
||
23 | MENU_COLOR_DISPLAY = "Show Colored Values", |
||
24 | MENU_USE_DM_COLORS = "Use DM Colors", |
||
25 | MENU_VALUE = "Values", |
||
26 | MENU_RANK = "Ranks", |
||
27 | MENU_LEADER = "Leaders", |
||
28 | MENU_RESET_POSITION = "Reset Position", |
||
29 | MENU_PAUSE = "Pause Parsing", |
||
30 | MENU_CLEAR = "Clear", |
||
31 | |||
32 | DAMAGEMETERS_MISSING = "DamageMeters N/A", |
||
33 | DAMAGEMETERS_MISSING_DESC = "Please install DamageMeters before attempting to use this addon.", |
||
34 | DAMAGEMETERS_QUANT = {} |
||
35 | } |
||
36 | |||
37 | -- Versioning and backwards compatibility with 4.2.1 |
||
38 | if ( DamageMeters_VERSION == 4500 ) then |
||
39 | DamageMetersFuLocals.DAMAGEMETERS_QUANT = { |
||
40 | [1] = { name = "Damage Done", abbr = "D", color = 'FF0000' }, |
||
41 | [2] = { name = "Healing Done", abbr = "H", color = '00FF00' }, |
||
42 | [3] = { name = "Damage Taken", abbr = "DT", color = 'FF7F00' }, |
||
43 | [4] = { name = "Healing Taken", abbr = "HT", color = '00B24C' }, |
||
44 | [5] = { name = "Curing Done", abbr = "Cu", color = '99B2CC' }, |
||
45 | [6] = { name = "Overheal Done", abbr = "Oh", color = 'FFFF00' }, |
||
46 | [7] = { name = "Raw Healing Done", abbr = "RawHD", color = 'FF00FD' }, |
||
47 | [8] = { name = "Damage Per/sec", abbr = "DPS", color = '8428E0' }, |
||
48 | [9] = { name = "Healing Per/sec", abbr = "HPS", color = '33E57F' }, |
||
49 | [10] = { name = "Damage Taken Per/sec", abbr = "DTPS", color = 'FFB233' }, |
||
50 | [11] = { name = "Healing Taken Per/sec", abbr = "HTPS", color = '00CCCC' }, |
||
51 | [12] = { name = "Cures Per/sec", abbr = "CuPS", color = '667FF9' }, |
||
52 | [13] = { name = "Overheal Per/sec", abbr = "OHPS", color = '666600' }, |
||
53 | [14] = { name = "Raw Healing Per/sec", abbr = "RawHPS", color = 'CC00CA' }, |
||
54 | [15] = { name = "Idle Time", abbr = "IT", color = '0000FF' }, |
||
55 | [16] = { name = "Net Damage", abbr = "NetD", color = '7F0000' }, |
||
56 | [17] = { name = "Net Healing", abbr = "NetH", color = '007F00' }, |
||
57 | [18] = { name = "Damage+Healing", abbr = "D+H", color = '7F7F7F' }, |
||
58 | [19] = { name = "Health", abbr = "H", color = '804DB2' }, |
||
59 | [20] = { name = "Overheal Percent", abbr = "Oh%", color = '8080B2' } |
||
60 | } |
||
61 | else |
||
62 | DamageMetersFuLocals.DAMAGEMETERS_QUANT = { |
||
63 | [1] = { name = "Damage Done", abbr = "D", color = 'FF0000' }, |
||
64 | [2] = { name = "Healing Done", abbr = "H", color = '00FF00' }, |
||
65 | [3] = { name = "Damage Taken", abbr = "DT", color = 'FF7F00' }, |
||
66 | [4] = { name = "Healing Taken", abbr = "HT", color = '00B24C' }, |
||
67 | [5] = { name = "Curing Done", abbr = "Cu", color = '99B2CC' }, |
||
68 | [6] = { name = "Damage Per/sec", abbr = "DPS", color = '8428E0' }, |
||
69 | [7] = { name = "Healing Per/sec", abbr = "HPS", color = '33E57F' }, |
||
70 | [8] = { name = "Damage Taken Per/sec", abbr = "DTPS", color = 'FFB233' }, |
||
71 | [9] = { name = "Healing Taken Per/sec", abbr = "HTPS", color = '00CCCC' }, |
||
72 | [10] = { name = "Cures Per/sec", abbr = "CuPS", color = '667FF9' }, |
||
73 | [11] = { name = "Idle Time", abbr = "IT", color = '0000FF' }, |
||
74 | [12] = { name = "Net Damage", abbr = "NetD", color = '7F0000' }, |
||
75 | [13] = { name = "Net Healing", abbr = "NetH", color = '007F00' }, |
||
76 | [14] = { name = "Damage+Healing", abbr = "D+H", color = '7F7F7F' } |
||
77 | } |
||
78 | end |
||
79 | |||
80 | |||
81 | DamageMetersFuLocals.CMD_OPTIONS = { |
||
82 | { |
||
83 | option = DamageMetersFuLocals.ARGUMENT_CLEAR, |
||
84 | desc = "Clear your local DamageMeters data.", |
||
85 | method = "DMClear" |
||
86 | }, |
||
87 | { |
||
88 | option = DamageMetersFuLocals.ARGUMENT_PAUSE, |
||
89 | desc = "Toggle whether to pause/unpause DamageMeters parsing.", |
||
90 | method = "DMTogglePause" |
||
91 | }, |
||
92 | { |
||
93 | option = DamageMetersFuLocals.ARGUMENT_RESET_POSITION, |
||
94 | desc = "Reset the DamageMeters window position", |
||
95 | method = "DMResetPos" |
||
96 | }, |
||
97 | } |
||
98 | end |