is this correct?
Are you going to repeat these actions 1000 times? Then no, it is not correct.
Work out some formula, for example 180+(SkillLevel*16), which will allow you to calculate the exp required for any skill level.
And then use just one function for leveling up, not 15000 of them.