Auto calculate attributes if there are not specified in the NPC record