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) aUF.aUFunit.prototype.OnClickOld = aUF.aUFunit.prototype.OnClick aUF.aUFunit.prototype.OnClick = self.AGUFClick self.Msg("Click-Casting Enabled for ag_UnitFrames") end function AceHealAGUF:AGUFClick(button) local unit = string.gsub(this:GetName(),"aUF","") if not self:OnClick(button, unit) then aUF[this:GetName()]:OnClickOld(button) end end AceHealAGUF:RegisterForLoad()