AceHealAGUF = AceHeal:new({
name = AceHealLocals.Title ,
description = "AceHeal ag_UnitFrames extension",
version = AceHealLocals.Version,
releaseDate = "23-07-2006",
aceCompatible = "103",
author = "vhaarr",
})
function AceHealAGUF:Enable()
AceHeal:Enable(this)
if aUF then
aUF.aUFunit.prototype.OnClickOld = aUF.aUFunit.prototype.OnClick
aUF.aUFunit.prototype.OnClick = self.AGUFClick
self.Msg("Click-Casting Enabled for ag_UnitFrames")
end
end
function AceHealAGUF:AGUFClick(button)
if AceHeal:OnClick(button, self.unit) then
self:OnClickOld(button)
end
end
AceHealAGUF:RegisterForLoad()