View Single Post
Old 01-23-2013, 02:11 AM   PM User | #3
FrostWyrmWraith
New Coder

 
Join Date: Jan 2013
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
FrostWyrmWraith can only hope to improve
Yeaaaah those nonsense ones I totally missed. I'm not sure I understand why your version works, but I'm pretty new to Javascript.

At any rate, I rewrote it based on your comments but something is still breaking it.

EDIT: Okay, it's definitely these two equations:

Code:
var xpup = (xneeded * Math.ceiling(Math.pow(1.15, plevel)))
var showxp= (xpup - (xneeded * Math.ceiling(Math.pow(1.15, plevel-1)))

Last edited by FrostWyrmWraith; 01-23-2013 at 02:51 AM.. Reason: Avoiding a double post
FrostWyrmWraith is offline   Reply With Quote