Fixed #54
fixed bug of setting level higher than actual allowed skill level on XP retrieval (skill maxlevel changed)