That will take care of the compilation error. However, you will get an index out of bounds error because max level is 150 and your array is not large enough.
That's all the help I'll give because I don't want to spend my time on non-steamers. Buy the game.