Thread
:
Pitbull Lua Help Please =)
View Single Post
09-05-12, 09:29 PM
#
2
Shefki
An Aku'mai Servant
Join Date: Jan 2007
Posts: 31
Without seeing the errors it's hard to say for sure but it looks to me like your problem occurs when the max hp is zero. Try changing:
Lua Code:
local
PerHP
=
cur
/
max
to
Lua Code:
local
PerHP
=
max
>
0
and
cur
/
max
or
0
Shefki
View Public Profile
Send a private message to Shefki
Find More Posts by Shefki