-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTotemusLocals.lua
286 lines (267 loc) · 9.77 KB
/
TotemusLocals.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
BINDING_HEADER_TOTEMUS = "TOTEMUS"
-- This statement will load any translation that is present or default to English.
if( not ace:LoadTranslation("TOTEMUS") ) then
TOTEMUS_MSG_COLOR = "|cffcceebb";
TOTEMUS_DISPLAY_OPTION = "[|cfff5f530%s|cff0099CC]";
TOTEMUS_CONST = {
Title = "TOTEMUS",
Version = "0.7",
Desc = "TOTEMUS hack job",
Timerheader = "Shaman Timers",
UpdateInterval = 0.2,
ChatCmd = {"/totem", "/totemus"},
ChatOpt = {
{
option = "reset",
desc = "Reset the window positions.",
method = "chatReset",
},
{
option = "feldom",
desc = "Set the Fel Domination modifier: ctrl alt shift none",
method = "chatFelDom",
},
{
option = "closeonclick",
desc = "Toggle closing the pet menu on clicking a button",
method = "chatCloseClick",
},
{
option = "soulstonesound",
desc = "Toggle playing of soulstone expired sound",
method = "chatSoulstoneSound",
},
{
option = "shadowtrancesound",
desc = "Toggle playing of nightfall proc sound",
method = "chatShadowTranceSound",
},
{
option = "texture",
desc = "Choose a different shardcount texture: default blue orange rose turquoise violet x",
method = "chatTexture",
},
{
option = "lock",
desc = "Toggle locking of the frames",
method = "chatLock",
},
{
option = "timers",
desc = "Toggle to turn on/off the timers",
method = "chatTimers",
},
},
Chat = {
FelDomModifier = "Fel Domination Modifier is now: ",
FelDomValid = "Valid Modifiers are: ctrl alt shift none",
CloseOnClick = "Close On Click is now: ",
ShadowTranceSound = "Playing of Shadowtrance sound is now: ",
SoulstoneSound = "Playing of Soulstone expired sound is now: ",
Texture = "Texture is now: ",
TextureValid = "Valid textures are: default blue orange rose turquoise violet x",
Lock = "Frame lock is now: ",
Timers = "Timers are now: ",
},
Message = {
TooFarAway = "They are too far away.",
Busy = "They are busy.",
PreSummon = "Going to summon %s, please click the portal.",
PreSoulstone = "Placing my soulstone on %s.",
Soulstone = "%s has been soulstoned.",
SoulstoneAborted = "Soustone Aborted! It's not placed.",
FailedSummon = "Summoning %s failed!",
},
Pattern = {
Healthstone = "Hearthstone",
Corrupted = "Corrupted",
Healthstone = "Healthstone",
Soulstone = "Soulstone",
Spellstone = "Spellstone",
Firestone = "Firestone",
ShadowTrance = "^You gain Shadow Trance.$",
RitualOfSummoning = "Ritual of Summoning",
SoulstoneResurrection = "Soulstone Resurrection",
Shaman = "Shaman",
Rank = "Rank (.+)",
Resisted = "^Your [%a%s%p]+ was resisted by [%a%s%p]+%.",
Immune = "^Your [%a%s%p]+ failed%. [%a%s%p]+ is immune%.$",
},
State = {
Reset = 0,
Cast = 1,
Start = 2,
Stop = 3,
NewMonsterNewSpell = 4,
NewSpell = 5,
Update = 6,
Failed = 7
},
Spell = {
--Earth Totems
--["Earthbind Totem"] = "EBT",
-- Water Totems
--["Disease Cleansing Totem"] = "DCT",
--["Poison Cleansing Totem"] = "PCT",
--Air Totems
["Grounding Totem"] = "GRDT",
["Sentry Totem"] = "SENT",
["Tranquil Air Totem"] = "TRAC",
["Hearthstone"] = "HEARTHSTONE",
["Astral Recall"] = "ASTRAL",
},
RankedSpell = {
-- Earth Totems
["Stoneclaw Totem Rank 1"] = { "SCT", 1 },
["Stoneclaw Totem Rank 2"] = { "SCT", 2 },
["Stoneclaw Totem Rank 3"] = { "SCT", 3 },
["Stoneclaw Totem Rank 4"] = { "SCT", 4 },
["Stoneclaw Totem Rank 5"] = { "SCT", 5 },
["Stoneclaw Totem Rank 6"] = { "SCT", 6 },
["Stoneskin Totem Rank 1"] = { "SST", 1 },
["Stoneskin Totem Rank 2"] = { "SST", 2 },
["Stoneskin Totem Rank 3"] = { "SST", 3 },
["Stoneskin Totem Rank 4"] = { "SST", 4 },
["Stoneskin Totem Rank 5"] = { "SST", 5 },
["Stoneskin Totem Rank 6"] = { "SST", 6 },
["Strength of Earth Totem Rank 1"] = { "SOET", 1 },
["Strength of Earth Totem Rank 2"] = { "SOET", 2 },
["Strength of Earth Totem Rank 3"] = { "SOET", 3 },
["Strength of Earth Totem Rank 4"] = { "SOET", 4 },
["Strength of Earth Totem Rank 5"] = { "SOET", 5 },
["Tremor Totem"] = {"TRET", 1},
["Earthbind Totem"] = {"EBT", 1},
-- Water Totems
--["Elemental Protection Totem Rank 1"] = {"EPT", 1},
["Fire Resistance Totem Rank 1"] = {"FRT", 1},
["Fire Resistance Totem Rank 2"] = {"FRT", 2},
["Healing Stream Totem Rank 1"] = {"HST", 1},
["Healing Stream Totem Rank 2"] = {"HST", 2},
["Healing Stream Totem Rank 3"] = {"HST", 3},
["Healing Stream Totem Rank 4"] = {"HST", 4},
["Healing Stream Totem Rank 5"] = {"HST", 5},
["Mana Spring Totem Rank 1"] = {"MST", 1},
["Mana Spring Totem Rank 2"] = {"MST", 1},
["Mana Spring Totem Rank 3"] = {"MST", 1},
["Mana Spring Totem Rank 4"] = {"MST", 1},
["Mana Tide Totem Rank 1"] = {"MTT", 1},
["Mana Tide Totem Rank 2"] = {"MTT", 2},
["Mana Tide Totem Rank 3"] = {"MTT", 3},
["Disease Cleansing Totem"] = {"DCT", 1},
["Poison Cleansing Totem"] = {"PCT", 1},
-- Air Totems
["Grace of Air Totem Rank 1"] = {"GOAT", 1},
["Grace of Air Totem Rank 2"] = {"GOAT", 2},
["Grace of Air Totem Rank 3"] = {"GOAT", 3},
["Nature Resistance Totem Rank 1"] = {"NRT", 1},
["Nature Resistance Totem Rank 2"] = {"NRT", 2},
["Nature Resistance Totem Rank 3"] = {"NRT", 3},
["Windfury Totem Rank 1"] = {"WFT", 1},
["Windfury Totem Rank 2"] = {"WFT", 2},
["Windfury Totem Rank 3"] = {"WFT", 3},
["Windwall Totem Rank 1"] = {"WWT", 1},
["Windwall Totem Rank 2"] = {"WWT", 2},
["Windwall Totem Rank 3"] = {"WWT", 3},
-- Fire Totems
["Fire Nova Totem Rank 1"] = {"FNT", 1},
["Fire Nova Totem Rank 2"] = {"FNT", 2},
["Fire Nova Totem Rank 3"] = {"FNT", 3},
["Fire Nova Totem Rank 4"] = {"FNT", 4},
["Fire Nova Totem Rank 5"] = {"FNT", 5},
["Flametongue Totem Rank 1"] = {"FTT", 1},
["Flametongue Totem Rank 2"] = {"FTT", 2},
["Flametongue Totem Rank 3"] = {"FTT", 3},
["Flametongue Totem Rank 4"] = {"FTT", 4},
["Frost Resistance Totem Rank 1"] = {"FROT", 1},
["Frost Resistance Totem Rank 2"] = {"FROT", 2},
["Frost Resistance Totem Rank 3"] = {"FROT", 3},
["Magma Totem Rank 1"] = {"MAGT", 1},
["Magma Totem Rank 2"] = {"MAGT", 2},
["Magma Totem Rank 3"] = {"MAGT", 3},
["Searing Totem Rank 1"] = {"SEAT", 1},
["Searing Totem Rank 2"] = {"SEAT", 2},
["Searing Totem Rank 3"] = {"SEAT", 3},
["Searing Totem Rank 4"] = {"SEAT", 4},
["Searing Totem Rank 5"] = {"SEAT", 5},
["Searing Totem Rank 6"] = {"SEAT", 6},
--weapon buffs
["Rockbiter Weapon Rank 1"] = {"RBW", 1, 300},
["Rockbiter Weapon Rank 2"] = {"RBW", 2, 300},
["Rockbiter Weapon Rank 3"] = {"RBW", 3},
["Rockbiter Weapon Rank 4"] = {"RBW", 4, 300},
["Rockbiter Weapon Rank 5"] = {"RBW", 5, 300},
["Rockbiter Weapon Rank 6"] = {"RBW", 6, 300},
["Rockbiter Weapon Rank 7"] = {"RBW", 7, 300},
["Flametongue Weapon Rank 1"] = {"FTW", 1},
["Flametongue Weapon Rank 2"] = {"FTW", 2},
["Flametongue Weapon Rank 3"] = {"FTW", 3},
["Flametongue Weapon Rank 4"] = {"FTW", 4},
["Flametongue Weapon Rank 5"] = {"FTW", 5},
["Frostbrand Weapon Rank 1"] = {"FRBW", 1},
["Frostbrand Weapon Rank 2"] = {"FRBW", 2},
["Frostbrand Weapon Rank 3"] = {"FRBW", 3},
["Frostbrand Weapon Rank 4"] = {"FRBW", 4},
["Windfury Weapon Rank 1"] = {"WFW", 1},
["Windfury Weapon Rank 2"] = {"WFW", 2},
["Windfury Weapon Rank 3"] = {"WFW", 3},
-- Shields
["Lightning Shield Rank 1"] = {"LS", 1},
["Lightning Shield Rank 2"] = {"LS", 2},
["Lightning Shield Rank 3"] = {"LS", 3},
["Lightning Shield Rank 4"] = {"LS", 4},
["Lightning Shield Rank 5"] = {"LS", 5},
["Lightning Shield Rank 6"] = {"LS", 6},
["Lightning Shield Rank 7"] = {"LS", 7},
--["Water Shield Rank 1"] = {"WS", 1},
--["Earth Shield Rank 1"] = {"ES", 1},
},
TimedSpell = {
--weapon buffs
["Rockbiter Weapon"] = { 300, 300, 300, 300, 300, 300, 300 },
["Flametongue Weapon"] = { 300, 300, 300, 300, 300 },
["Frostbrand Weapon"] = { 300, 300, 300, 300 },
["Windfury Weapon"] = { 300, 300, 300 },
--Earth Totems
["Stoneclaw Totem"] = { 15, 15, 15, 15, 15, 15 },
["Stoneskin Totem"] = { 120, 120, 120, 120, 120, 120 },
["Strength of Earth Totem"] = { 120, 120, 120, 120, 120, 120 },
["Fire Resistance Totem"] = { 120, 120, 120, 120, 120, 120 },
["Healing Stream Totem"] = { 60, 60, 60, 60, 60, 60 },
["Mana Spring Totem"] = { 60, 60, 60, 60, 60, 60 },
["Mana Tide Totem"] = { 12, 12, 12 },
-- Air Totems
["Grace of Air Totem"] = { 60, 60, 60, 60, 60, 60 },
["Nature Resistance Totem"] = { 120, 120, 120 },
["Windfury Totem"] = { 120, 120, 120, 120 },
["Windwall Totem"] = { 120, 120, 120 },
["Disease Cleansing Totem"] = { 120, 120, 120, 120, 120},
-- Fire Totems
["Fire Nova Totem"] = { 3, 3, 3, 3, 3},
["Flametongue Totem"] = { 120, 120, 120, 120 },
["Frost Resistance Totem"] = { 120, 120, 120 },
["Magma Totem"] = { 20, 20, 20, 20 },
["Searing Totem"] = { 45, 45, 45, 45, 45, 45 },
["Earthbind Totem"] = { 45 },
-- Water Totems
["Disease Cleansing Totem"] = { 120 },
["Poison Cleansing Totem"] = { 120 },
--Air Totems
["Grounding Totem"] = { 45 },
["Sentry Totem"] = { 300 },
["Tranquil Air Totem"] = { 120 },
["Tremor Totem"] = { 120 },
-- Shields
["Lighting Shield"] = { 600, 600, 600, 600, 600, 600, 600 },
--["Water Shield"] = { 600 },
--["Earth Shield"] = { 600 },
},
}
ace:RegisterGlobals({
version = 1.01,
ACEG_TEXT_NOW_SET_TO = "now set to",
ACEG_TEXT_DEFAULT = "default",
ACEG_DISPLAY_OPTION = "[|cfff5f530%s|r]",
ACEG_MAP_ONOFF = {[0]="|cffff5050Off|r",[1]="|cff00ff00On|r"},
ACEG_MAP_ENABLED = {[0]="|cffff5050Disabled|r",[1]="|cff00ff00Enabled|r"},
})
end