I need to see object's hit points in %
Posted: 2006-12-01 08:02:35
I need to see object's hit points in % beacuse i'm trying to make some healing script and i don't want to use a bandage every XXX ms.
Potkan wrote:I need to see object's hit points in % beacuse i'm trying to make some healing script and i don't want to use a bandage every XXX ms.
Potkan wrote:I need to see object's hit points in % beacuse i'm trying to make some healing script
Code: Select all
UO.Print(str(100*UO.GetHP('laststatus')/UO.GetMaxHP('laststatus'))+'%')