-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTalentMap_Mage.lua
More file actions
268 lines (239 loc) · 9.38 KB
/
Copy pathTalentMap_Mage.lua
File metadata and controls
268 lines (239 loc) · 9.38 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
local ADDON_NAME, ns = ...
-------------------------------------------------------------------------------
-- TalentMap_Mage.lua
-- Mage talent effects mapped to modifier descriptors for TBC Anniversary
-- Talent positions (tab:index) verified in-game on TBC Anniversary
-- (ordered by internal talentID)
--
-- Supported versions: TBC Anniversary
-------------------------------------------------------------------------------
ns.TalentMap = ns.TalentMap or {}
local SCHOOL_FIRE = ns.SCHOOL_FIRE
local SCHOOL_FROST = ns.SCHOOL_FROST
local SCHOOL_ARCANE = ns.SCHOOL_ARCANE
local MOD = ns.MOD
local TalentMap = {}
-------------------------------------------------------------------------------
-- Arcane (Tab 1)
-- 1:1 Arcane Subtlety (2) 1:2 Arcane Concentration (5)
-- 1:3 Arcane Focus (5) 1:4 Arcane Mind (5)
-- 1:5 Wand Specialization (2) 1:6 Improved Arcane Missiles (5)
-- 1:7 Arcane Impact (3) 1:8 Magic Attunement (2)
-- 1:9 Improved Mana Shield (2) 1:10 Arcane Fortitude (1)
-- 1:11 Presence of Mind (1) 1:12 Arcane Power (1)
-- 1:13 Improved Counterspell (2) 1:14 Arcane Instability (3)
-- 1:15 Arcane Meditation (3) 1:16 Magic Absorption (5)
-- 1:17 Improved Blink (2) 1:18 Arcane Potency (3)
-- 1:19 Prismatic Cloak (2) 1:20 Empowered Arcane Missiles (3)
-- 1:21 Mind Mastery (5) 1:22 Slow (1)
-- 1:23 Spell Power (2)
-------------------------------------------------------------------------------
-- Arcane Focus: +2% Arcane hit per rank
TalentMap["1:3"] = {
name = "Arcane Focus",
maxRank = 5,
effects = {
{ type = MOD.SPELL_HIT_BONUS, value = 0.02, perRank = true, filter = { school = SCHOOL_ARCANE } },
},
}
-- Arcane Impact: +2% crit per rank to Arcane Explosion and Arcane Blast
TalentMap["1:7"] = {
name = "Arcane Impact",
maxRank = 3,
effects = {
{ type = MOD.CRIT_BONUS, value = 0.02, perRank = true,
filter = { spellNames = { "Arcane Explosion", "Arcane Blast" } } },
},
}
-- Arcane Instability: +1% damage per rank to all spells
-- NOTE: The +1%/rank crit portion was REMOVED - already counted in stats.spellCrit by
-- StateCollector when the talent is learned. The damage multiplier is kept because
-- the WoW API does not expose a generic "all-spell damage %" stat. See plan 44, Bug A.
TalentMap["1:14"] = {
name = "Arcane Instability",
maxRank = 3,
effects = {
{ type = MOD.DAMAGE_MULTIPLIER, value = 0.01, perRank = true, stacking = "additive" },
},
}
-- Empowered Arcane Missiles: +0.75 total SP coefficient per rank (+0.15 per wave x 5 waves)
TalentMap["1:20"] = {
name = "Empowered Arcane Missiles",
maxRank = 3,
effects = {
{ type = MOD.COEFFICIENT_BONUS, value = 0.75, perRank = true,
filter = { spellNames = { "Arcane Missiles" } } },
},
}
-- Spell Power: +25% crit damage bonus per rank (0.125 of the base 50% bonus)
TalentMap["1:23"] = {
name = "Spell Power",
maxRank = 2,
effects = {
{ type = MOD.CRIT_MULT_BONUS, value = 0.125, perRank = true },
},
}
-------------------------------------------------------------------------------
-- Fire (Tab 2)
-- 2:1 Burning Soul (2) 2:2 Molten Shields (2)
-- 2:3 Improved Scorch (3) 2:4 Improved Fireball (5)
-- 2:5 Improved Fire Blast (3) 2:6 Flame Throwing (2)
-- 2:7 Pyroblast (1) 2:8 Impact (5)
-- 2:9 Improved Flamestrike (3) 2:10 Blast Wave (1)
-- 2:11 Critical Mass (3) 2:12 Ignite (5)
-- 2:13 Fire Power (5) 2:14 Combustion (1)
-- 2:15 Incineration (2) 2:16 Master of Elements (3)
-- 2:17 Playing with Fire (3) 2:18 Blazing Speed (2)
-- 2:19 Molten Fury (2) 2:20 Pyromaniac (3)
-- 2:21 Empowered Fireball (5) 2:22 Dragon's Breath (1)
-------------------------------------------------------------------------------
-- Improved Fireball: -0.1s cast time per rank
TalentMap["2:4"] = {
name = "Improved Fireball",
maxRank = 5,
effects = {
{ type = MOD.CAST_TIME_REDUCTION, value = 0.1, perRank = true,
filter = { spellNames = { "Fireball" } } },
},
}
-- Improved Flamestrike: +5% crit per rank to Flamestrike
TalentMap["2:9"] = {
name = "Improved Flamestrike",
maxRank = 3,
effects = {
{ type = MOD.CRIT_BONUS, value = 0.05, perRank = true,
filter = { spellNames = { "Flamestrike" } } },
},
}
-- Critical Mass (2:11): REMOVED - already counted in stats.spellCrit[SCHOOL_FIRE] by
-- StateCollector when the talent is learned. Re-applying here would double-count.
-- See plan 44, Bug A.
-- Fire Power: +2% Fire damage per rank (additive with other talent bonuses)
TalentMap["2:13"] = {
name = "Fire Power",
maxRank = 5,
effects = {
{ type = MOD.DAMAGE_MULTIPLIER, value = 0.02, perRank = true,
stacking = "additive", filter = { school = SCHOOL_FIRE } },
},
}
-- Incineration: +2% crit per rank to Fire Blast and Scorch
TalentMap["2:15"] = {
name = "Incineration",
maxRank = 2,
effects = {
{ type = MOD.CRIT_BONUS, value = 0.02, perRank = true,
filter = { spellNames = { "Fire Blast", "Scorch" } } },
},
}
-- Playing with Fire: +1% all damage per rank (additive)
TalentMap["2:17"] = {
name = "Playing with Fire",
maxRank = 3,
effects = {
{ type = MOD.DAMAGE_MULTIPLIER, value = 0.01, perRank = true, stacking = "additive" },
},
}
-- Molten Fury: +10% damage per rank to targets below 20% HP
TalentMap["2:19"] = {
name = "Molten Fury",
maxRank = 2,
effects = {
{ type = MOD.DAMAGE_MULTIPLIER, value = 0.10, perRank = true,
filter = { targetHealthBelow = 20 } },
},
}
-- Pyromaniac (2:20): REMOVED - already counted in stats.spellCrit[SCHOOL_FIRE] by
-- StateCollector when the talent is learned. Re-applying here would double-count.
-- See plan 44, Bug A.
-- Empowered Fireball: +3% SP coefficient per rank to Fireball
TalentMap["2:21"] = {
name = "Empowered Fireball",
maxRank = 5,
effects = {
{ type = MOD.COEFFICIENT_BONUS, value = 0.03, perRank = true,
filter = { spellNames = { "Fireball" } } },
},
}
-------------------------------------------------------------------------------
-- Frost (Tab 3)
-- 3:1 Improved Frostbolt (5) 3:2 Frostbite (3)
-- 3:3 Piercing Ice (3) 3:4 Improved Frost Nova (2)
-- 3:5 Improved Blizzard (3) 3:6 Improved Cone of Cold (3)
-- 3:7 Permafrost (3) 3:8 Frost Channeling (3)
-- 3:9 Shatter (5) 3:10 Winter's Chill (5)
-- 3:11 Icy Veins (1) 3:12 Frost Warding (2)
-- 3:13 Ice Barrier (1) 3:14 Cold Snap (1)
-- 3:15 Ice Shards (5) 3:16 Arctic Reach (2)
-- 3:17 Elemental Precision (3) 3:18 Frozen Core (3)
-- 3:19 Ice Floes (2) 3:20 Arctic Winds (5)
-- 3:21 Empowered Frostbolt (5) 3:22 Summon Water Elemental (1)
-------------------------------------------------------------------------------
-- Improved Frostbolt: -0.1s cast time per rank
TalentMap["3:1"] = {
name = "Improved Frostbolt",
maxRank = 5,
effects = {
{ type = MOD.CAST_TIME_REDUCTION, value = 0.1, perRank = true,
filter = { spellNames = { "Frostbolt" } } },
},
}
-- Piercing Ice: +2% Frost damage per rank (additive)
TalentMap["3:3"] = {
name = "Piercing Ice",
maxRank = 3,
effects = {
{ type = MOD.DAMAGE_MULTIPLIER, value = 0.02, perRank = true,
stacking = "additive", filter = { school = SCHOOL_FROST } },
},
}
-- Improved Cone of Cold: 15/25/35% damage bonus (non-linear - use table value)
TalentMap["3:6"] = {
name = "Improved Cone of Cold",
maxRank = 3,
effects = {
{ type = MOD.DAMAGE_MULTIPLIER, value = { 0.15, 0.25, 0.35 },
filter = { spellNames = { "Cone of Cold" } } },
},
}
-- Ice Shards: +20% crit damage bonus per rank to Frost (0.10 of base 50% bonus)
TalentMap["3:15"] = {
name = "Ice Shards",
maxRank = 5,
effects = {
{ type = MOD.CRIT_MULT_BONUS, value = 0.10, perRank = true, filter = { school = SCHOOL_FROST } },
},
}
-- Elemental Precision: +1% hit per rank to Fire and Frost
TalentMap["3:17"] = {
name = "Elemental Precision",
maxRank = 3,
effects = {
{ type = MOD.SPELL_HIT_BONUS, value = 0.01, perRank = true,
filter = { schools = { SCHOOL_FIRE, SCHOOL_FROST } } },
},
}
-- Arctic Winds: +1% Frost damage per rank (additive)
TalentMap["3:20"] = {
name = "Arctic Winds",
maxRank = 5,
effects = {
{ type = MOD.DAMAGE_MULTIPLIER, value = 0.01, perRank = true,
stacking = "additive", filter = { school = SCHOOL_FROST } },
},
}
-- Empowered Frostbolt: +2% SP coefficient AND +1% crit per rank to Frostbolt
TalentMap["3:21"] = {
name = "Empowered Frostbolt",
maxRank = 5,
effects = {
{ type = MOD.COEFFICIENT_BONUS, value = 0.02, perRank = true,
filter = { spellNames = { "Frostbolt" } } },
{ type = MOD.CRIT_BONUS, value = 0.01, perRank = true,
filter = { spellNames = { "Frostbolt" } } },
},
}
-- Merge into addon namespace with class prefix
for key, data in pairs(TalentMap) do
ns.TalentMap["MAGE:" .. key] = data
end