Quantcast
Download
(2 Kb)
Download
Updated: 07-20-16 02:49 PM
Pictures
File Info
Compatibility:
Legion Pre-Patch (7.0.3)
Updated:07-20-16 02:49 PM
Created:02-03-10 08:23 PM
Downloads:15,176
Favorites:70
MD5:
7.0.3

TargetPercent  Updated this week!  Popular! (More than 5000 hits)

Version: r61
by: funkydude [More]

Adds a health percentage to the Blizzard target, focus & boss frames.
Movable with ALT-drag if you dislike the default positions.

Post A Reply Comment Options
Unread 02-04-10, 06:04 AM  
RLD
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 32
Uploads: 1
I like the idea of this . . .

I've tried another mob percent addon and it was fine until I died. It no longer showed the percentage. don't know about this one yet.

I like also that this is by the mobs unit frame. Couple of small suggestions (even tho you may not have wanted to put this much work into this addon):

Allow moving from left to right side of unit frame and font size/color change
Report comment to moderator  
Reply With Quote
Unread 04-18-10, 03:03 PM  
whomehunter
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Is there a way to make the 73% number larger?
Report comment to moderator  
Reply With Quote
Unread 06-08-10, 03:51 PM  
guin
A Kobold Labourer
 
guin's Avatar

Forum posts: 0
File comments: 19
Uploads: 0
Just what i was looking for a simple add-on that do just this. Going to try this right away.

Thx funkydude
Report comment to moderator  
Reply With Quote
Unread 07-06-10, 12:10 AM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 117
Uploads: 3
So I really enjoy this addon but I can't figure how to remove the decimal ., for:

100.0%

the .0% isn't necessary, I've tried many variations on:
Code:
local hp = UnitHealth("target")
		if hp > 0 then
			hp = hp / 

UnitHealthMax("target") * 100
			
frame.text:SetFormattedText("%.1f%%", hp)
		else
			frame.text:SetText("0%")
		end
but not having much luck, so the 100.0% stays for now, I just get errors for trying to remove it; not being LUA savy, I'm probably going at it wrong too.
Last edited by Squiddy0 : 07-06-10 at 12:13 AM.
Report comment to moderator  
Reply With Quote
Unread 10-09-10, 03:29 AM  
fatalerror
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Originally posted by Squiddy0
So I really enjoy this addon but I can't figure how to remove the decimal ., for:

100.0%

the .0% isn't necessary, I've tried many variations on:
Code:
local hp = UnitHealth("target")
		if hp > 0 then
			hp = hp / 

UnitHealthMax("target") * 100
			
frame.text:SetFormattedText("%.1f%%", hp)
		else
			frame.text:SetText("0%")
		end
but not having much luck, so the 100.0% stays for now, I just get errors for trying to remove it; not being LUA savy, I'm probably going at it wrong too.
just change the %.1f%% to %.0f%% ,should work.
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 07:50 PM  
tralkar
An Onyxian Warder
 
tralkar's Avatar

Forum posts: 352
File comments: 215
Uploads: 0
Being blind myself, anyway of making the font bigger?

* ok took me some time lol but i found a way to make the text a little bigger. yeah there might be other ways but this one works for me..
Change this= t_hpFrame.text:SetFontObject(TextStatusBarText)


To this= t_hpFrame.text:SetFontObject("NumberFontNormallarge")
Last edited by tralkar : 10-24-10 at 09:50 PM.
Report comment to moderator  
Reply With Quote
Unread 01-23-11, 10:31 AM  
funkydude
A Deviate Faerie Dragon
 
funkydude's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 439
Uploads: 37
v1.50 Now supports percentage on the boss target frames
Report comment to moderator  
Reply With Quote
Unread 01-25-11, 10:23 AM  
bimmy
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Bug

I made a ticket about this on wowace: the TargetPercent display doesn't update on target switch. It will only update a newly selected target's HP when the target's HP changes.

Example: I can have 4.1% as the last displayed HP on a monster I just killed and select a new monster and it will display 4.1% until I damage it.
Report comment to moderator  
Reply With Quote
Unread 01-25-11, 06:39 PM  
funkydude
A Deviate Faerie Dragon
 
funkydude's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 439
Uploads: 37
Re: Bug

Fixed, thanks.
Report comment to moderator  
Reply With Quote
Unread 01-26-11, 10:19 AM  
Spike`
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 37
Uploads: 1
does it take in account Onyxia bossframe on Nepharian fight?

she has left of their bossframe a energy bar, your % will be hidden by it
Report comment to moderator  
Reply With Quote
Unread 01-30-11, 08:12 PM  
funkydude
A Deviate Faerie Dragon
 
funkydude's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 439
Uploads: 37
Well you can now ALT-drag to move it
Report comment to moderator  
Reply With Quote
Unread 01-30-11, 09:45 PM  
Jexx
A Deviate Faerie Dragon

Forum posts: 10
File comments: 114
Uploads: 0
Anyway to have this frame show up on custom unit frames, particularly Shadowed Unit Frames?
Report comment to moderator  
Reply With Quote
Unread 01-30-11, 09:51 PM  
funkydude
A Deviate Faerie Dragon
 
funkydude's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 439
Uploads: 37
Not sure of the point, most UF mods will allow you to show absolute health and percentage health side by side.

Originally posted by Jexx
Anyway to have this frame show up on custom unit frames, particularly Shadowed Unit Frames?
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 10:52 AM  
penpen002
A Defias Bandit
 
penpen002's Avatar

Forum posts: 2
File comments: 29
Uploads: 0
This is just the add on I am looking for. Love you
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 04:33 PM  
paterbrown
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Good Addon. The name indeed is TargetPercent but percent display to the playerframe would be useful. Maybe you can add this option?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.