Unfortunately PCs are special. They seem to gain more XP than NPCs, and both can gain XP from quests, rather than just killing things. Of course, killing things tends to give more XP than quests, so being violent tends to give better skills. It does seem to depend on the DM... err, gods of the...