View Single Post
02-02-12, 08:50 PM   #5
Syliha
A Flamescale Wyrmkin
 
Syliha's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 104
So with my very little lua knowledge i finally found where to do what.

So i went to ftags.lua
got here

Code:
oUF.Tags['freeb:hp']  = function(u) 
    local min, max = UnitHealth(u), UnitHealthMax(u)
    return siValue(min).." | "..math.floor(min/max*100+.5).."%" 
end
oUF.TagEvents['freeb:hp'] = 'UNIT_HEALTH'
And if i delete
Code:
 siValue(min).." | "..
the absolute health is gone for all frames. (vica versa with the percantage part)

So what do i need now to give only the target frame this absolute number?

also how do i hide the mana text in all bars? simply deleting freebp things in the flag file did not work .. =(

Thanks again, i will try again tomorrow to figure this out (:
__________________
Balance is, when everyone is unhappy.
  Reply With Quote