public
Description: WoW Addon - Crowd control assistance
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/controlfreak.git
Click here to lend your support to: controlfreak and make a donation at www.pledgie.com !
Fix range indicator
tekkub (author)
Fri Apr 04 21:59:44 -0700 2008
commit  21a2abf6f7a03d035f9019f4937baa4e2c177448
tree    ef2580ee66dfefb940425610c638dd7975d1c9fb
parent  e05eacd45da70d90d5606a80dfee3e9ce5bab08e
...
255
256
257
258
 
259
260
261
...
255
256
257
 
258
259
260
261
0
@@ -255,7 +255,7 @@ function ControlFreak:OnUpdate(elapsed)
0
   if unit then
0
     if not isvalid[unit] then color, note, tiptext = "grey", "Invalid"
0
     else
0
- if mydebuffs[1] and IsSpellInRange(mydebuffs[1], unit) == 0 then range = "*" end
0
+ for debuff in pairs(mydebuffs) do if IsSpellInRange(debuff, unit) == 0 then range = "*" end end
0
       if controlled[unit] then
0
         local _, _, _, _, _, _, timeLeft = UnitDebuff(unit, controlled[unit])
0
         color, note = "cyan", timeLeft and string.format("Controlled (%ds)", timeLeft) or "Controlled"

Comments

    No one has commented yet.