ID:149913
 
Is there a way to do this? I have a slash skill that does 1/10 of the normal damage to the player, and double to the enemy... Needless to say you have some people with 215.35 HP.
Dreq wrote:
Is there a way to do this? I have a slash skill that does 1/10 of the normal damage to the player, and double to the enemy... Needless to say you have some people with 215.35 HP.
HP = round(HP)

;)
In response to Vortezz
wow funny round didn't show up in F1... thanks though!
Dreq wrote:
Is there a way to do this? I have a slash skill that does 1/10 of the normal damage to the player, and double to the enemy... Needless to say you have some people with 215.35 HP.

Use round(x) to cut off the fractional part, and round(x,n) to round to the nearest n (usually 1).

Lummox JR