Skip to content

Commit

Permalink
Fixed bug hardcoding race to Lashunta.
Browse files Browse the repository at this point in the history
  • Loading branch information
rrenna committed Apr 13, 2021
1 parent 7ab55a5 commit a7f1745
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions dist/Populator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/Populator.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/Populator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export class Populator {
static async createNPCTapped() {

// Debug
let options = { CR: "1/2", race: null };
options.race = Races.Races.nonCombatantRaces["kasatha"];
//let options = { CR: "1/2", race: null };
//options.race = Races.Races.nonCombatantRaces["kasatha"];

await NPCFactory.makeNPC(options);
await NPCFactory.makeNPC();
ui.notifications.info("NPC created.", { permanent: false });
}
}

0 comments on commit a7f1745

Please sign in to comment.