Skip to content

Commit

Permalink
fix(import): Ensure saves/skills always include PB
Browse files Browse the repository at this point in the history
fixes #366
  • Loading branch information
symposion committed Feb 28, 2017
1 parent ae07f00 commit 8e53615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ class Importer extends ShapedModule {
importData(character, data, overwriteSpells) {
this.logger.debug('Importing new character data $$$', data);
const pronounInfo = this.getPronounInfo(character);
const coreAttrsNames = ['strength', 'dexterity', 'constitution', 'intelligence', 'wisdom', 'charisma'];
const coreAttrsNames = ['strength', 'dexterity', 'constitution', 'intelligence', 'wisdom', 'charisma', 'challenge'];
const coreAttributes = _.pick(data, coreAttrsNames);
const secondaryAttributes = _.omit(data, coreAttrsNames, 'spells', 'content_srd');
const contentSrd = _.pick(data, 'content_srd');
Expand Down

0 comments on commit 8e53615

Please sign in to comment.