Quantcast

Updated TOC for Patch 3.2

p3lim-52096 [08-04-09 - 21:10]
Updated TOC for Patch 3.2
Added own events for Castbar
Removed PostUpdate functions for Castbar

git-svn-id: svn://svn.wowinterface.com/oUF_BarFader-229/trunk@21 cbe42a47-3b53-4817-a5a9-47e79666164c
Filename
oUF_BarFader/oUF_BarFader.lua
oUF_BarFader/oUF_BarFader.toc
diff --git a/oUF_BarFader/oUF_BarFader.lua b/oUF_BarFader/oUF_BarFader.lua
index 965fd82..468c670 100644
--- a/oUF_BarFader/oUF_BarFader.lua
+++ b/oUF_BarFader/oUF_BarFader.lua
@@ -18,7 +18,7 @@ local function pending(self, unit)
 	if((str ~= 'RAGE' and str ~= 'RUNIC_POWER') and UnitMana(unit) < UnitManaMax(unit)) then return true end
 end

-local function Update(self, event, unit)
+local function update(self, event, unit)
 	if(unit and unit ~= self.unit) then return end

 	if(not pending(self, self.unit)) then
@@ -28,7 +28,7 @@ local function Update(self, event, unit)
 	end
 end

-local function Enable(self, unit)
+local function enable(self, unit)
 	if(unit and self.BarFade) then
 		Update(self)

@@ -58,7 +58,7 @@ local function Enable(self, unit)
 	end
 end

-local function Disable(self)
+local function disable(self)
 	if(self.BarFade) then
 		self:UnregisterEvent('UNIT_COMBAT', Update)
 		self:UnregisterEvent('UNIT_HAPPINESS', Update)
@@ -84,4 +84,4 @@ local function Disable(self)
 	end
 end

-oUF:AddElement('BarFader', Update, Enable, Disable)
\ No newline at end of file
+oUF:AddElement('BarFader', update, enable, disable)
\ No newline at end of file
diff --git a/oUF_BarFader/oUF_BarFader.toc b/oUF_BarFader/oUF_BarFader.toc
index f8814cb..e15b686 100644
--- a/oUF_BarFader/oUF_BarFader.toc
+++ b/oUF_BarFader/oUF_BarFader.toc
@@ -1,6 +1,6 @@
-## Interface: 30100
+## Interface: 30200
 ## Author: p3lim
-## Version: 30100.wowi:revision
+## Version: 30200.wowi:revision
 ## Title: oUF BarFader
 ## Notes: Condition fading plug-in for oUF
 ## RequiredDeps: oUF