11-02-19, 06:02 AM
|
#6
|
A Murloc Raider
Join Date: Nov 2019
Posts: 5
|
It worked perfectly!
Thanks you so much =D
Originally Posted by SDPhantom
You can expand line 14 to be something like this.
Lua Code:
if NamePlateHealthText[self] then local cur,max=UnitHealth(self.displayedUnit),UnitHealthMax(self.displayedUnit); NamePlateHealthText[self]:SetFormattedText("%d - %.0f%%",cur,100*cur/max); end
|
|
|
|