-
Notifications
You must be signed in to change notification settings - Fork 1
/
EventAlert_InitVar.lua
224 lines (212 loc) · 5.42 KB
/
EventAlert_InitVar.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
EA_Config = {
SpecPowerCheck = {
FocusPet,
ComboPoint,
Mana,
Rage,
Focus,
Energy,
Runes,
RunicPower,
Runes,
SoulShards,
--Eclipse,
LunarPower,
HolyPower,
DarkForce,
LightForce,
Insanity,
BurningEmbers,
DemonicFury,
LifeBloom,
ArcaneCharges,
Maelstrom,
Fury,
Pain,
},
EA_SPELL_ITEM= {
[240487] = 147294,
[30507] = 23835,
[240511] = 147297,
[483] = 142333,
[67769] = 40771,
[148429] = 102463,
[54466] = 39687,
[55039] = 41121,
[240512] = 147300,
[200271] = 132509,
[51582] = 35581,
[30458] = 23825,
[20631] = 16768,
[205510] = 139499,
[30461] = 23826,
[240513] = 147301,
[30526] = 23841,
[67833] = 48933,
[205509] = 139498,
[55002] = 41111,
[279742] = 163695,
[30216] = 23736,
[30217] = 23737,
[240514] = 147302,
[117631] = 81193,
[55884] = 152789,
[55016] = 41118,
[250796] = 151652,
[54736] = 40776,
[39965] = 44598,
[240516] = 147304,
[240515] = 147303,
[240510] = 147299,
[205503] = 139493,
[235169] = 144249,
[281194] = 164310,
[235991] = 144259,
[126755] = 87215,
[240508] = 147295,
[30486] = 23827,
[12883] = 23762,
[205504] = 139494,
[205500] = 139490,
[240485] = 147298,
[54359] = 40536,
[163830] = 112059,
[240509] = 147296,
[205508] = 139497,
[205507] = 139496,
[205505] = 139495,
[89637] = 63396,
[82207] = 60223,
[228461] = 134526,
[235966] = 144258,
[30249] = 23763,
[240518] = 147305,
[56350] = 41119,
[67799] = 48945,
[56488] = 42641,
[46567] = 23836,
},
DoAlertSound,
AlertSound,
AlertSoundValue,
LockFrame,
ShareSettings,
ShowFrame,
ShowName,
ShowFlash,
ShowTimer,
TimerFontSize,
StackFontSize,
SNameFontSize,
ChangeTimer,
Version,
AllowESC,
AllowAltAlerts,
Target_MyDebuff,
}
-----------------------------------------------------------------
EA_Position = {
Anchor,
relativePoint,
xLoc,
yLoc,
xOffset,
yOffset,
RedDebuff,
GreenDebuff,
Tar_NewLine,
TarAnchor,
TarrelativePoint,
Tar_xOffset,
Tar_yOffset,
ScdAnchor,
Scd_xOffset,
Scd_yOffset,
Execution,
PlayerLv2BOSS,
SCD_UseCooldown,
};
-----------------------------------------------------------------
EA_Pos = { };
EA_SPELLINFO_SELF = { };
EA_SPELLINFO_TARGET = { };
EA_SPELLINFO_SCD = { };
EA_ClassAltSpellName = { };
GC_IndexOfGroupFrame = { };
-----------------------------------------------------------------
EA_DEBUGFLAG1 = false;
EA_DEBUGFLAG2 = false;
EA_DEBUGFLAG3 = false;
EA_DEBUGFLAG11 = false;
EA_DEBUGFLAG21 = false;
-----------------------------------------------------------------
EA_DEBUGFLAG601 = false; --Deubg for
EA_DEBUGFLAG602 = false; --Deubg for
EA_DEBUGFLAG603 = false; --Deubg for
EA_DEBUGFLAG604 = false; --Deubg for
EA_DEBUGFLAG605 = false; --Deubg for
EA_DEBUGFLAG606 = false; --Deubg for
EA_DEBUGFLAG607 = false; --Deubg for
EA_DEBUGFLAG608 = false; --Deubg for
EA_DEBUGFLAG609 = false; --Deubg for
EA_DEBUGFLAG610 = false; --Deubg for
EA_DEBUGFLAG611 = false; --Deubg for
-----------------------------------------------------------------
EA_CurrentBuffs = { };
EA_TarCurrentBuffs = { };
EA_ScdCurrentBuffs = { };
EA_ShowScrollSpells = { };
EA_ShowScrollSpell_YPos = 25;
-----------------------------------------------------------------
EA_SpecFrame_Self = false;
EA_SpecFrame_Target = false;
EA_SpecFrame_LifeBloom = { UnitID = "", UnitName = "", ExpireTime = 0, Stack = 0 };
fLock_EventAlert_Buffs_Update = false
EA_COMBO_POINTS = 0;
EA_playerClass = nil;
EA_SpecID = nil;
EA_RUNE_TYPE=1;
-----------------------------------------------------------------
RUNETYPE_BLOOD = 1;
RUNETYPE_UNHOLY = 2;
RUNETYPE_FROST = 3;
RUNETYPE_DEATH = 4;
MAX_RUNES = 6;
iconTextures = {};
iconTextures[RUNETYPE_BLOOD] = "Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Blood";
iconTextures[RUNETYPE_UNHOLY] = "Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Unholy";
iconTextures[RUNETYPE_FROST] = "Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Frost";
iconTextures[RUNETYPE_DEATH] = "Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Death";
runeTextures = {
[RUNETYPE_BLOOD] = "Interface\\PlayerFrame\\UI-PlayerFrame-DeathKnight-Blood-Off.tga",
[RUNETYPE_UNHOLY] = "Interface\\PlayerFrame\\UI-PlayerFrame-DeathKnight-Death-Off.tga",
[RUNETYPE_FROST] = "Interface\\PlayerFrame\\UI-PlayerFrame-DeathKnight-Frost-Off.tga",
[RUNETYPE_DEATH] = "Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Chromatic-Off.tga",
}
runeEnergizeTextures = {
[RUNETYPE_BLOOD] = "Interface\\PlayerFrame\\Deathknight-Energize-Blood",
[RUNETYPE_UNHOLY] = "Interface\\PlayerFrame\\Deathknight-Energize-Unholy",
[RUNETYPE_FROST] = "Interface\\PlayerFrame\\Deathknight-Energize-Frost",
[RUNETYPE_DEATH] = "Interface\\PlayerFrame\\Deathknight-Energize-White",
}
runeColors = {
[RUNETYPE_BLOOD] = {1, 0, 0},
[RUNETYPE_UNHOLY] = {0, 0.5, 0},
[RUNETYPE_FROST] = {0, 1, 1},
[RUNETYPE_DEATH] = {0.8, 0.1, 1},
}
runeTypeText = {
[RUNETYPE_BLOOD] = "血魄",
[RUNETYPE_UNHOLY] = "穢邪",
[RUNETYPE_FROST] = "冰霜",
[RUNETYPE_DEATH] = "死亡",
}
RUNE_MAPPING = {
[1] = 1,
[2] = 2,
[3] = 5,
[4] = 6,
[5] = 3,
[6] = 4,
}
-----------------------------------------------------------------