Quantcast WoWInterface - View Single Post - Help with an Addon Nameplate
View Single Post
11-02-19, 06:02 AM   #6
A Murloc Raider
Join Date: Nov 2019
Posts: 4
It worked perfectly!

Thanks you so much =D

Originally Posted by SDPhantom View Post
You can expand line 14 to be something like this.
Lua Code:
  1. if NamePlateHealthText[self] then
  2.     local cur,max=UnitHealth(self.displayedUnit),UnitHealthMax(self.displayedUnit);
  3.     NamePlateHealthText[self]:SetFormattedText("%d - %.0f%%",cur,100*cur/max);
  4. end
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_110219_090014.jpg
Views:	144
Size:	61.5 KB
ID:	9344  
  Reply With Quote