WoWInterface SVN StunWatch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

StunWatch/SWcore.lua
42,7 → 42,7
 
--Remove ALL timers from the specified unit
function StunWatch:KillAllTimers(unitGUID)
--match found, iterate through the table removing all candybars associated with the unit
--terate through the table removing all candybars associated with the unit
for k, v in pairs(unitDB[unitGUID]) do
candy:UnregisterCandyBar(v)
unitDB[unitGUID][k] = nil
53,7 → 53,7
do
--Check for sap, this way, we can delete any other sap timers if we happen to be out of range for SPELL_AURA_REMOVED
local function sap(id)
if (spellName == StunWatch.db.profile.sdbn[6770]) then
if (spellName == sdb[6770]) then
if (sapID) then
if candy:IsCandyBarRegistered(sapID) then
candy:UnregisterCandyBar(sapID)