mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 16:36:58 +00:00
Fixing issue#413 class feature duping entire brew
This commit is contained in:
1 parent
b68c6a4ad2
commit
3247cab214
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@ var _ = require('lodash');
|
|||||||
|
|
||||||
module.exports = function(classname){
|
module.exports = function(classname){
|
||||||
|
|
||||||
classname = classname || _.sample(['archivist', 'fancyman', 'linguist', 'fletcher',
|
classname = _.sample(['archivist', 'fancyman', 'linguist', 'fletcher',
|
||||||
'notary', 'berserker-typist', 'fishmongerer', 'manicurist', 'haberdasher', 'concierge'])
|
'notary', 'berserker-typist', 'fishmongerer', 'manicurist', 'haberdasher', 'concierge'])
|
||||||
|
|
||||||
classname = classname.toLowerCase();
|
classname = classname.toLowerCase();
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "homebrewery",
|
"name": "homebrewery",
|
||||||
"description": "Create authentic looking D&D homebrews using only markdown",
|
"description": "Create authentic looking D&D homebrews using only markdown",
|
||||||
"version": "2.7.4",
|
"version": "2.7.5",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node scripts/dev.js",
|
"dev": "node scripts/dev.js",
|
||||||
"quick": "node scripts/quick.js",
|
"quick": "node scripts/quick.js",
|
||||||
|
|||||||
Reference in new issue
Block a user