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 !
ControlFreak - Added break sound.  Noticeable, but not fucking annoying.

git-svn-id: http://tekkub-wow.googlecode.com/svn/trunk/ControlFreak@698 
86fe6d9a-1522-0410-a387-bf9db416f0a0
tekkub (author)
Mon Nov 12 13:16:13 -0800 2007
commit  047545c46d8ebf13130841d4ce6421f08ab63adb
tree    d8a52990da101450983a085335ecceb580b452af
parent  8ffe998a858ac05f315d30c181e957356a1e7a1e
...
224
225
226
227
 
 
 
 
228
229
230
...
224
225
226
 
227
228
229
230
231
232
233
0
@@ -224,7 +224,10 @@ function ControlFreak:UNIT_AURA(event, unit)
0
     if mydebuffs[UnitDebuff(unit, i)] then controlled[unit] = i end
0
   end
0
 
0
- if wascontrolled ~= (controlled[unit]~= nil) then self:OnUpdate(true) end
0
+ if wascontrolled ~= (controlled[unit]~= nil) then
0
+ if not controlled[unit] then PlaySoundFile("Interface\\AddOns\\ControlFreak\\break.wav") end
0
+ self:OnUpdate(true)
0
+ end
0
 end
0
 
0
 

Comments

    No one has commented yet.