WoWInterface SVN PhanxConfigWidgets

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches
    from Rev 23 to Rev 24
    Reverse comparison

Rev 23 → Rev 24

LibHealComm-4.0/LibHealComm-4.0.lua
1,5 → 1,5
local major = "LibHealComm-4.0"
local minor = 64
local minor = 65
assert(LibStub, string.format("%s requires LibStub.", major))
 
local HealComm = LibStub:NewLibrary(major, minor)
2308,6 → 2308,9
if( unit ~= "player" or not spellData[spellName] or not averageHeal[spellName][spellRank] ) then return end
local nameID = spellName .. spellRank
local castGUID = castGUIDs[nameID]
if( not castGUID ) then
return
end
 
castID = id
 
2356,7 → 2359,10
function HealComm:UNIT_SPELLCAST_INTERRUPTED(unit, spellName, spellRank, id)
if( unit ~= "player" or not spellData[spellName] or castID ~= id ) then return end
 
ResetChargeData(castGUIDs[spellName .. spellRank], spellName, spellRank)
local guid = castGUIDs[spellName .. spellRank]
if( guid ) then
ResetChargeData(guid, spellName, spellRank)
end
end
 
-- It's faster to do heal delays locally rather than through syncing, as it only has to go from WoW -> Player instead of Caster -> WoW -> Player