mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-20 05:41:39 +00:00
Table generators now follow the proper prof bonus from the phb
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
# changelog
|
# changelog
|
||||||
|
|
||||||
### Tuesday, 24/05/2016 - v2.0.3
|
### Tuesday, 24/05/2016 - v2.0.4
|
||||||
- Fixed extra wide monster stat blocks sometimes only being one column
|
- Fixed extra wide monster stat blocks sometimes only being one column
|
||||||
|
- The class table generators now follow the proper progression from the PHB (thakns u/IrishBandit)
|
||||||
|
|
||||||
### Thursday, 19/05/2016 - v2.0.2
|
### Thursday, 19/05/2016 - v2.0.2
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ var classnames = ['Archivist', 'Fancyman', 'Linguist', 'Fletcher',
|
|||||||
|
|
||||||
var levels = ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th", "11th", "12th", "13th", "14th", "15th", "16th", "17th", "18th", "19th", "20th"]
|
var levels = ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th", "11th", "12th", "13th", "14th", "15th", "16th", "17th", "18th", "19th", "20th"]
|
||||||
|
|
||||||
|
var profBonus = [2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6]
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
full : function(classname){
|
full : function(classname){
|
||||||
@@ -66,7 +67,7 @@ module.exports = {
|
|||||||
_.map(levels, function(levelName, level){
|
_.map(levels, function(levelName, level){
|
||||||
var res = [
|
var res = [
|
||||||
levelName,
|
levelName,
|
||||||
"+" + Math.ceil(level/5 + 1),
|
"+" + profBonus[level],
|
||||||
_.sampleSize(features, _.sample([0,1,1])).join(', ') || "Ability Score Improvement",
|
_.sampleSize(features, _.sample([0,1,1])).join(', ') || "Ability Score Improvement",
|
||||||
cantrips,
|
cantrips,
|
||||||
spells,
|
spells,
|
||||||
@@ -92,7 +93,7 @@ module.exports = {
|
|||||||
_.map(levels, function(levelName, level){
|
_.map(levels, function(levelName, level){
|
||||||
var res = [
|
var res = [
|
||||||
levelName,
|
levelName,
|
||||||
"+" + Math.ceil(level/5 + 1),
|
"+" + profBonus[level],
|
||||||
_.sampleSize(features, _.sample([0,1,1])).join(', ') || "Ability Score Improvement",
|
_.sampleSize(features, _.sample([0,1,1])).join(', ') || "Ability Score Improvement",
|
||||||
"+" + featureScore
|
"+" + featureScore
|
||||||
].join(' | ');
|
].join(' | ');
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ var Navbar = React.createClass({
|
|||||||
<Nav.item href='/homebrew' className='homebrewLogo'>
|
<Nav.item href='/homebrew' className='homebrewLogo'>
|
||||||
<div>The Homebrewery</div>
|
<div>The Homebrewery</div>
|
||||||
</Nav.item>
|
</Nav.item>
|
||||||
<Nav.item>v2.0.3</Nav.item>
|
<Nav.item>v2.0.4</Nav.item>
|
||||||
</Nav.section>
|
</Nav.section>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</Nav.base>
|
</Nav.base>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "naturalcrit",
|
"name": "naturalcrit",
|
||||||
"description": "D&D Tools for the discerning DM",
|
"description": "D&D Tools for the discerning DM",
|
||||||
"version": "2.0.3",
|
"version": "2.0.4",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "gulp prod",
|
"postinstall": "gulp prod",
|
||||||
"start": "node server.js"
|
"start": "node server.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user