fixed class abilities and added npc version