View Single Post
09-05-11, 07:56 AM   #1
FaulTier
A Theradrim Guardian
 
FaulTier's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2009
Posts: 61
HealPrediction - Help appreciated!

Hey ecervybody!

I've made my own layout, mixed from different existing layout and some own ideas and so on, and it's working fine so far.

But I can't get along with HealPrediction - I tried about 6 hours (no kidding), I even used the already existing threads about it (I don't post in them because I'm no necro-threader) but it just won't work.
I even used oUF_HealComm4 and added the code into my layout, but it's driving me insane.

so, here are my core.lua and lib.lua:
core.lua
lib.lua

That's the code snippet I added in lib.lua @line 167, taken from oUF_HealComm4:
Code:
	self.HealCommBar = CreateFrame('StatusBar', nil, self.Health)
	self.HealCommBar:SetHeight(0)
	self.HealCommBar:SetWidth(0)
	self.HealCommBar:SetStatusBarTexture(self.Health:GetStatusBarTexture():GetTexture())
	self.HealCommBar:SetStatusBarColor(0, 1, 0, 0.25)
	self.HealCommBar:SetPoint('LEFT', self.Health, 'LEFT')

	-- optional flag to show overhealing
	self.allowHealCommOverflow = true
maybe I missed something incredibly simple or I'm just not able of adding HealPrediction.

So, please, help me, even a flame is welcome as long as it provides the solution to get it working!

Greetz, FaulTier
__________________
  Reply With Quote