View Single Post
01-23-2013, 09:34 PM   PM User | #11
Old Pedant
Supreme Master coder!

Join Date: Feb 2009
Posts: 24,968
Thanks: 75
Thanked 4,310 Times in 4,277 Posts
But let me make a stab at this, anyway. I'll probably mess up, but w.t.h.

Okay, so you say that:
50 posts means that
EXP = 50 * 50
EXP = 2500
and, yes, I see from your (mildly messed up) table that
if ( EXP == 2500 ) { plevel = 12; }

So then let's look at your first post:
Code:
```var xpup = (plevel*xneeded)
var showxp= (xpup-xneeded)```
You have asserted that `xneeded == 500`

SO that means:
Code:
```var xpup = 12 * 500 ==>> xpup should be 6000.
var showxp = 6000 - 500 ==>> showxp should be 5500.```
I *really* don't see why you are then saying
Quote:
 That makes the level 12. [agreed] The first equation should be outputting 200 according to that. [I get 6000.] The second should be giving out 2150. [I get 5500]
Care to try to explain?
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.