You do not level up in combat, so the point is moot.

If you get the needed points to go form lvl 3 to lvl 4, you level up, get new skills, more hp, etc after combat is completed.