mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 22:22:41 +00:00
Make Monster Blocks always generate "abilities"
Originally had a random chance to generate no abilities, which a user might not know how to insert with the proper formatting. Also added some new abilities to select randomly when generated. Also fixes #836 .
This commit is contained in:
@@ -96,7 +96,11 @@ const getStats = function(){
|
|||||||
const genAbilities = function(){
|
const genAbilities = function(){
|
||||||
return _.sample([
|
return _.sample([
|
||||||
'> ***Pack Tactics.*** These guys work together. Like super well, you don\'t even know.',
|
'> ***Pack Tactics.*** These guys work together. Like super well, you don\'t even know.',
|
||||||
'> ***False Appearance. *** While the armor reamin motionless, it is indistinguishable from a normal suit of armor.',
|
'> ***Fowl Appearance.*** While the creature remains motionless, it is indistinguishable from a normal chicken.',
|
||||||
|
'> ***Onion Stench.*** Any creatures within 5 feet of this thing develops an irrational craving for onion rings.',
|
||||||
|
'> ***Enormous Nose.*** This creature gains advantage on any check involving putting things in its nose.',
|
||||||
|
'> ***Sassiness.*** When questioned, this creature will talk back instead of answering.',
|
||||||
|
'> ***Big Jerk.*** Thinks he is just *waaaay* better than you.',
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -184,7 +188,7 @@ module.exports = {
|
|||||||
`> - **Languages** ${genList(['Common', 'Pottymouth', 'Gibberish', 'Latin', 'Jive'], 2)}`,
|
`> - **Languages** ${genList(['Common', 'Pottymouth', 'Gibberish', 'Latin', 'Jive'], 2)}`,
|
||||||
`> - **Challenge** ${_.random(0, 15)} (${_.random(10, 10000)} XP)`,
|
`> - **Challenge** ${_.random(0, 15)} (${_.random(10, 10000)} XP)`,
|
||||||
'> ___',
|
'> ___',
|
||||||
_.times(_.random(0, 2), function(){
|
_.times(_.random(2, 3), function(){
|
||||||
return genAbilities();
|
return genAbilities();
|
||||||
}).join('\n>\n'),
|
}).join('\n>\n'),
|
||||||
'> ### Actions',
|
'> ### Actions',
|
||||||
|
|||||||
Reference in New Issue
Block a user