@@ -31,134 +31,63 @@ Module.noMin = true
3131Module .showColorHelp = false
3232Module .helpText = L [" SUG_TOOLTIPTITLE_GENERIC" ]
3333
34- Module .stances = TMW .isMop and {
35- WARRIOR = {
36- [2457 ] = GetSpellName (2457 ), -- Battle Stance
37- [71 ] = GetSpellName (71 ), -- Defensive Stance
38- [2458 ] = GetSpellName (2458 ), -- Berserker Stance
39- },
40- DRUID = {
41- [5487 ] = GetSpellName (5487 ), -- Bear Form
42- [768 ] = GetSpellName (768 ), -- Cat Form
43- [1066 ] = GetSpellName (1066 ), -- Aquatic Form
44- [783 ] = GetSpellName (783 ), -- Travel Form
45- [24858 ] = GetSpellName (24858 ), -- Moonkin Form
46- [33891 ] = GetSpellName (33891 ), -- Tree of Life
47- [33943 ] = GetSpellName (33943 ), -- Flight Form
48- [40120 ] = GetSpellName (40120 ), -- Swift Flight Form
49- },
50- PRIEST = {
51- [15473 ] = GetSpellName (15473 ), -- Shadowform
52- },
53- ROGUE = {
54- [1784 ] = GetSpellName (1784 ), -- Stealth
55- },
56- HUNTER = {
57- [13165 ] = GetSpellName (13165 ), -- Aspect of the Hawk
58- [109260 ] = GetSpellName (109260 ), -- Aspect of the Iron Hawk
59- [5118 ] = GetSpellName (5118 ), -- Aspect of the Cheetah
60- [13159 ] = GetSpellName (13159 ), -- Aspect of the Pack
61- },
62- DEATHKNIGHT = {
63- [48263 ] = GetSpellName (48263 ), -- Blood Presence
64- [48266 ] = GetSpellName (48266 ), -- Frost Presence
65- [48265 ] = GetSpellName (48265 ), -- Unholy Presence
66- },
67- PALADIN = {
68- [105361 ] = GetSpellName (105361 ), -- Seal of Command
69- [20165 ] = GetSpellName (20165 ), -- Seal of Insight
70- [20164 ] = GetSpellName (20164 ), -- Seal of Justice
71- [20154 ] = GetSpellName (20154 ), -- Seal of Righteousness
72- [31801 ] = GetSpellName (31801 ), -- Seal of Truth
73- },
74- WARLOCK = {
75- [103958 ] = GetSpellName (103958 ), -- Metamorphosis
76- [114168 ] = GetSpellName (114168 ), -- Dark Apotheosis
77- },
78- MONK = {
79- [115069 ] = GetSpellName (115069 ), -- Sturdy Ox
80- [115070 ] = GetSpellName (115070 ), -- Wise Serpent
81- [103985 ] = GetSpellName (103985 ), -- Fierce Tiger
82- },
83- } or (TMW .isWrath or TMW .isCata ) and {
84- WARRIOR = {
85- [2457 ] = GetSpellName (2457 ), -- Battle Stance
86- [71 ] = GetSpellName (71 ), -- Defensive Stance
87- [2458 ] = GetSpellName (2458 ), -- Berserker Stance
88- },
89- DRUID = {
90- [5487 ] = GetSpellName (5487 ), -- Bear Form
91- [9634 ] = GetSpellName (9634 ), -- Dire Bear Form
92- [768 ] = GetSpellName (768 ), -- Cat Form
93- [783 ] = GetSpellName (783 ), -- Travel Form
94- [1066 ] = GetSpellName (1066 ), -- Aquatic Form
95- [24858 ] = GetSpellName (24858 ), -- Moonkin Form
96- [33891 ] = GetSpellName (33891 ), -- Tree of Life
97- [33943 ] = GetSpellName (33943 ), -- Flight Form
98- [40120 ] = GetSpellName (40120 ), -- Swift Flight Form
99- },
100- PRIEST = {
101- [15473 ] = GetSpellName (15473 ), -- Shadowform
102- },
103- ROGUE = {
104- [1784 ] = GetSpellName (1784 ), -- Stealth
105- },
106- PALADIN = {
107- [19746 ] = GetSpellName (19746 ), -- Concentration Aura
108- [32223 ] = GetSpellName (32223 ), -- Crusader Aura
109- [465 ] = GetSpellName (465 ), -- Devotion Aura
110- [19900 ] = GetSpellName (19891 ), -- Fire Resistance Aura
111- [19898 ] = GetSpellName (19891 ), -- Frost Resistance Aura
112- [19896 ] = GetSpellName (19891 ), -- Shadow Resistance Aura
113- [7294 ] = GetSpellName (7294 ), -- Retribution Aura
114- },
115- DEATHKNIGHT = {
116- [48266 ] = GetSpellName (48266 ), -- Blood
117- [48263 ] = GetSpellName (48263 ), -- Frost
118- [48265 ] = GetSpellName (48265 ), -- Unholy
119- },
120- } or TMW .isClassic and {
121- WARRIOR = {
122- [2457 ] = GetSpellName (2457 ), -- Battle Stance
123- [71 ] = GetSpellName (71 ), -- Defensive Stance
124- [2458 ] = GetSpellName (2458 ), -- Berserker Stance
125- },
126- DRUID = {
127- [5487 ] = GetSpellName (5487 ), -- Bear Form
128- [768 ] = GetSpellName (768 ), -- Cat Form
129- [783 ] = GetSpellName (783 ), -- Travel Form
130- [24858 ] = GetSpellName (24858 ), -- Moonkin Form
131- },
132- PRIEST = {
133- [15473 ] = GetSpellName (15473 ), -- Shadowform
134- },
135- ROGUE = {
136- [1784 ] = GetSpellName (1784 ), -- Stealth
137- },
138- } or {
139- DRUID = {
140- [5487 ] = GetSpellName (5487 ), -- Bear Form
141- [768 ] = GetSpellName (768 ), -- Cat Form
142- [783 ] = GetSpellName (783 ), -- Travel Form
143- [24858 ] = GetSpellName (24858 ), -- Moonkin Form
144- [33891 ] = GetSpellName (33891 ), -- Incarnation: Tree of Life
145- [171745 ] = GetSpellName (171745 ), -- Claws of Shirvallah
146- },
147- ROGUE = {
148- [1784 ] = GetSpellName (1784 ), -- Stealth
149- },
150- WARRIOR = {
151- [386164 ] = GetSpellName (386164 ), -- Battle Stance
152- [386208 ] = GetSpellName (386208 ), -- Defensive Stance
153- [386196 ] = GetSpellName (386196 ), -- Berserker Stance
154- },
34+ Module .stances = {
35+ [2457 ] = GetSpellName (2457 ), -- Battle Stance
36+ [71 ] = GetSpellName (71 ), -- Defensive Stance
37+ [2458 ] = GetSpellName (2458 ), -- Berserker Stance
38+ [386164 ] = GetSpellName (386164 ), -- Battle Stance (dragonflight)
39+ [386208 ] = GetSpellName (386208 ), -- Defensive Stance (dragonflight)
40+ [386196 ] = GetSpellName (386196 ), -- Berserker Stance (dragonflight)
41+
42+ [5487 ] = GetSpellName (5487 ), -- Bear Form
43+ [768 ] = GetSpellName (768 ), -- Cat Form
44+ [1066 ] = GetSpellName (1066 ), -- Aquatic Form
45+ [783 ] = GetSpellName (783 ), -- Travel Form
46+ [24858 ] = GetSpellName (24858 ), -- Moonkin Form
47+ [33891 ] = GetSpellName (33891 ), -- Tree of Life
48+ [33943 ] = GetSpellName (33943 ), -- Flight Form
49+ [40120 ] = GetSpellName (40120 ), -- Swift Flight Form
50+ [9634 ] = GetSpellName (9634 ), -- Dire Bear Form
51+ [171745 ] = GetSpellName (171745 ), -- Claws of Shirvallah
52+
53+ [1784 ] = GetSpellName (1784 ), -- Stealth
54+
55+ [13165 ] = GetSpellName (13165 ), -- Aspect of the Hawk
56+ [109260 ] = GetSpellName (109260 ), -- Aspect of the Iron Hawk
57+ [5118 ] = GetSpellName (5118 ), -- Aspect of the Cheetah
58+ [13159 ] = GetSpellName (13159 ), -- Aspect of the Pack
59+
60+ [48263 ] = GetSpellName (48263 ), -- Blood Presence
61+ [48266 ] = GetSpellName (48266 ), -- Frost Presence
62+ [48265 ] = GetSpellName (48265 ), -- Unholy Presence
63+
64+ [103958 ] = GetSpellName (103958 ), -- Metamorphosis
65+ [114168 ] = GetSpellName (114168 ), -- Dark Apotheosis
66+
67+ [15473 ] = GetSpellName (15473 ), -- Shadowform
68+
69+ [115069 ] = GetSpellName (115069 ), -- Sturdy Ox
70+ [115070 ] = GetSpellName (115070 ), -- Wise Serpent
71+ [103985 ] = GetSpellName (103985 ), -- Fierce Tiger
72+
73+ [105361 ] = GetSpellName (105361 ), -- Seal of Command
74+ [20165 ] = GetSpellName (20165 ), -- Seal of Insight
75+ [20164 ] = GetSpellName (20164 ), -- Seal of Justice
76+ [20154 ] = GetSpellName (20154 ), -- Seal of Righteousness
77+ [31801 ] = GetSpellName (31801 ), -- Seal of Truth
78+ [19746 ] = GetSpellName (19746 ), -- Concentration Aura
79+ [32223 ] = GetSpellName (32223 ), -- Crusader Aura
80+ [465 ] = GetSpellName (465 ), -- Devotion Aura
81+ [19900 ] = GetSpellName (19891 ), -- Fire Resistance Aura
82+ [19898 ] = GetSpellName (19891 ), -- Frost Resistance Aura
83+ [19896 ] = GetSpellName (19891 ), -- Shadow Resistance Aura
84+ [7294 ] = GetSpellName (7294 ), -- Retribution Aura
15585}
86+
15687function Module :Table_Get ()
15788 local allStances = {}
158- for class , stances in pairs (self .stances ) do
159- for spellID , name in pairs (stances ) do
160- allStances [spellID ] = name
161- end
89+ for spellID , name in pairs (Module .stances ) do
90+ allStances [spellID ] = name
16291 end
16392 return allStances
16493end
0 commit comments