From 30d2a03fd057e3163175c62eebeb9d484c8eb6fc Mon Sep 17 00:00:00 2001 From: "Murdo B. Maclachlan" Date: Fri, 12 Apr 2024 11:12:41 +0100 Subject: [PATCH] Added proficiency bonus to monster statblocks --- themes/V3/5ePHB/snippets/monsterblock.gen.js | 2 +- themes/V3/5ePHB/style.less | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/V3/5ePHB/snippets/monsterblock.gen.js b/themes/V3/5ePHB/snippets/monsterblock.gen.js index dddf9b78c..e61c206f0 100644 --- a/themes/V3/5ePHB/snippets/monsterblock.gen.js +++ b/themes/V3/5ePHB/snippets/monsterblock.gen.js @@ -171,7 +171,7 @@ module.exports = { **Condition Immunities** :: ${genList(['groggy', 'swagged', 'weak-kneed', 'buzzed', 'groovy', 'melancholy', 'drunk'], 3)} **Senses** :: darkvision 60 ft., passive Perception ${_.random(3, 20)} **Languages** :: ${genList(['Common', 'Pottymouth', 'Gibberish', 'Latin', 'Jive'], 2)} - **Challenge** :: ${_.random(0, 15)} (${_.random(10, 10000)} XP) + **Challenge** :: ${_.random(0, 15)} (${_.random(10, 10000)} XP) {{bonus **Proficiency Bonus** +${_.random(2, 6)}}} ___ ${_.times(_.random(genLines, genLines + 2), function(){return genAbilities();}).join('\n:\n')} : diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 37327fb19..39cd7ed87 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -356,6 +356,11 @@ } } + .bonus { + float: right; + padding-right: 0.5em; + } + // Monster Ability table hr + table:first-of-type { margin : 0;