I am using the following code to handle experience points gains:
reqXP = (Level ^ 2 + Level + 3) * 4
If (currXP >= reqXP) Then
Level = Level + 1
expPoints = expPoints + 3
excessXP = currXP - reqXP
currXP = excessXP
excessXP = 0
End If
lbl_XP.Text = "Experience : " & currXP & " / " & reqXP
However, whenever I level up, it won't update the reqExp
Label until I get my next batch of experience points.
What do I need to change to make this work?