Xp leveling system?

Hulkman508
11 Aug 2011, 05:08
I'm new to QDK and couldn't find out how to get a working xp leveling system. I started off with two numeric variables, XP and levels. What I've set it to do is:

If "XP" is greater than or equal to "%1000%" Then Increment "level" by "1"

When I muck around with this I find it either puts "level" up by 1 no matter what amount go into xp at all, or level doesnt go up. If anyone could help out that would be great because it would be pretty important to my game.

Ultimately I want my xp/level system to have higher amound of xp to gain per new level (Level 1=1000xp Level 2=2000xp Level 50=50000xp and so on), but I'm not sure how to go about that.

RedTulip
12 Aug 2011, 06:38
Try removing the '%' signs from both sides of the '1000'... Might work...

Hulkman508
12 Aug 2011, 10:54
Oh yeah I should have updated this post. I have since made a working xp system it just stays at the same amount per level.

If "Woodcutting XP% is greater than or equal to "1000"

then Increment "woodcutting level" by 1, set "wooductting xp to 0".