@@ -133,19 +133,19 @@ if oUF.isClassic then
133
133
specialAuras [3045 ] = 0.6 -- Rapid Fire (1 - 0.4, 40%)
134
134
end
135
135
136
- local function SpecialActive (frame , filter )
136
+ local function SpecialActive (unit , filter )
137
137
if not next (specialAuras ) then return end
138
138
139
139
local index = 1
140
- local name , _ , _ , _ , _ , _ , _ , _ , _ , spellID = oUF :GetAuraData (frame . unit , index , filter )
140
+ local name , _ , _ , _ , _ , _ , _ , _ , _ , spellID = oUF :GetAuraData (unit , index , filter )
141
141
while name do
142
142
local speedMod = specialAuras [spellID ]
143
143
if speedMod then
144
144
return speedMod
145
145
end
146
146
147
147
index = index + 1
148
- name , _ , _ , _ , _ , _ , _ , _ , _ , spellID = oUF :GetAuraData (frame . unit , index , filter )
148
+ name , _ , _ , _ , _ , _ , _ , _ , _ , spellID = oUF :GetAuraData (unit , index , filter )
149
149
end
150
150
end
151
151
-- end block
@@ -272,7 +272,7 @@ local function CastStart(self, real, unit, castGUID, spellID, castTime)
272
272
castTime = castDuration -- prefer a real duration time, otherwise use the static duration
273
273
end
274
274
275
- local speedMod = SpecialActive (self , ' HELPFUL' )
275
+ local speedMod = SpecialActive (unit , ' HELPFUL' )
276
276
if speedMod then
277
277
castTime = castTime * speedMod
278
278
end
0 commit comments