From 949036675dbf22f64c73773bead126362e287a2a Mon Sep 17 00:00:00 2001 From: Parnic Date: Sat, 19 Apr 2008 01:54:06 +0000 Subject: [PATCH] - changed DruidMana module to (optionally) work with LibDruidMana/DogTag for simplicity/compatibility purposes --- IceBarElement.lua | 4 +-- IceHUD.toc | 4 +-- embeds.xml | 1 + modules/DruidMana.lua | 71 +++++++++++++++++++++++++++++++------------ 4 files changed, 56 insertions(+), 24 deletions(-) diff --git a/IceBarElement.lua b/IceBarElement.lua index 7174211..e6c1359 100644 --- a/IceBarElement.lua +++ b/IceBarElement.lua @@ -330,7 +330,7 @@ function IceBarElement.prototype:GetOptions() name = 'Upper Text', desc = 'The upper text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info', hidden = function() - return DogTag == nil or self.elementName == "DruidMana" + return DogTag == nil end, get = function() return self.moduleSettings.upperText @@ -352,7 +352,7 @@ function IceBarElement.prototype:GetOptions() name = 'Lower Text', desc = 'The lower text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info', hidden = function() - return DogTag == nil or self.elementName == "DruidMana" + return DogTag == nil end, get = function() return self.moduleSettings.lowerText diff --git a/IceHUD.toc b/IceHUD.toc index ad76c0d..27c6844 100644 --- a/IceHUD.toc +++ b/IceHUD.toc @@ -5,8 +5,8 @@ ## Notes: Another HUD addon ## Version: 1.2 ($Revision$) ## SavedVariables: IceCoreDB -## OptionalDeps: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, Deformat-2.0, LibDogTag-3.0 -## X-Embeds: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, Deformat-2.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibMobHealth-4.0 +## OptionalDeps: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, Deformat-2.0, LibDogTag-3.0, LibDruidMana-1.0 +## X-Embeds: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, Deformat-2.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibMobHealth-4.0, LibDruidMana-1.0 ## X-Category: UnitFrame ## X-Date: $Date$ ## X-Website: http://www.wowace.com/forums/index.php/topic,1705.0.html diff --git a/embeds.xml b/embeds.xml index 049af4f..d52885f 100644 --- a/embeds.xml +++ b/embeds.xml @@ -12,6 +12,7 @@