All pastes #96900 Raw Edit

AceHeal plugin aguf

public lua v1 · immutable
#96900 ·published 2006-07-23 07:59 UTC
rendered paste body
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")endfunction AceHealAGUF:AGUFClick(button)    local unit = string.gsub(this:GetName(),"aUF","")    if not self:OnClick(button, unit) then		aUF[this:GetName()]:OnClickOld(button)    endendAceHealAGUF:RegisterForLoad()