View Single Post
  #21  
Old 03-05-2013, 01:55 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Float is probably ok there too. Without extracting that out into a test to see what the numbers are I'd guess you might lose a very small bit of precision, but a float isn't going to roll over to a negative number like a signed int would. Besides, that formula is just to tell the client how far to fill up the experience bar. If it was incorrect the server would still have the proper value and you'd level when you didn't expect it.
Reply With Quote