Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*Dungeons & Dragons
Point Buy Meets Best of 4d6 in Order
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Cadence" data-source="post: 9380014" data-attributes="member: 6701124"><p>Generating abilities came up in another thread. One thing some folks like is having the random stats in a random order (maybe so not everyone of a given class has pretty much the same array, or maybe to let the dice guide what class they want). A sizeable subset of those folks don't actually make the players stick with the rolls if they are really bad. For those who don't like the point buy, one of the arguments is that it can lead to the situation where someone's character has much better stats than someone else's and that can lead to feel-bads.</p><p></p><p>The (totally not-optimized) code in the spoiler below should randomly generate a 27 point character from 5e, where the chance of the particular array showing up is proportional to the chance it would be observed using best 3 out of 4d6. (So imagine generating best 3 of 4d6 in order, and throwing them out until you get one that is 27 points) .</p><p></p><p>To run it, simply copy the spoilered code into either: <a href="https://www.mycompiler.io/new/r" target="_blank">Create a new R program - myCompiler - myCompiler</a> or <a href="https://rdrr.io/snippets/" target="_blank">Run R code online</a> , hit run, and wait a few seconds. It will generate ten of them. (Changing nchar= to a bigger number will make more of them).</p><p></p><p>[SPOILER="The Code"]</p><p>zz<-0</p><p>x<-matrix(0,nrow=262144,ncol=6)</p><p>for (i in 8:15){</p><p> for (j in 8:15){</p><p> for (k in 8:15){</p><p> for (l in 8:15){</p><p> for (m in 8:15){</p><p> for (n in 8:15){</p><p> zz<-zz+1</p><p> x[zz,]<-c(i,j,k,l,m,n)</p><p>}}}}}}</p><p>costm<-x-8</p><p>costm[x==14]<-costm[x==14]+1</p><p>costm[x==15]<-costm[x==15]+2</p><p>cost<-apply(costm,1,sum)</p><p>x<-x[cost==27,]</p><p>probm<-matrix(0,nrow=dim(x)[1],ncol=dim(x)[2])</p><p>probm[x==8]<-0.0478</p><p>probm[x==9]<-0.0702</p><p>probm[x==10]<-0.0941</p><p>probm[x==11]<-0.1142</p><p>probm[x==12]<-0.1289</p><p>probm[x==13]<-0.1327</p><p>probm[x==14]<-0.1235</p><p>probm[x==15]<-0.1011</p><p>prob<-apply(probm*10,1,prod)</p><p>prob<-prob/sum(prob)</p><p>nchar=10</p><p>x[sample(1:dim(x)[1],nchar,prob=prob),]</p><p>[/SPOILER]</p><p></p><p>Sample output:</p><p></p><p>[ATTACH=full]368182[/ATTACH]</p><p></p><p>I'm happy to modify the code if someone wants a different point buy or for the probabilities to match just 3d6 or whatever.</p><p></p><p>I'm also happy to hear why folks would absolutely hate this. (I'm guessing one reason is that actually rolling dice is fun!)</p></blockquote><p></p>
[QUOTE="Cadence, post: 9380014, member: 6701124"] Generating abilities came up in another thread. One thing some folks like is having the random stats in a random order (maybe so not everyone of a given class has pretty much the same array, or maybe to let the dice guide what class they want). A sizeable subset of those folks don't actually make the players stick with the rolls if they are really bad. For those who don't like the point buy, one of the arguments is that it can lead to the situation where someone's character has much better stats than someone else's and that can lead to feel-bads. The (totally not-optimized) code in the spoiler below should randomly generate a 27 point character from 5e, where the chance of the particular array showing up is proportional to the chance it would be observed using best 3 out of 4d6. (So imagine generating best 3 of 4d6 in order, and throwing them out until you get one that is 27 points) . To run it, simply copy the spoilered code into either: [URL='https://www.mycompiler.io/new/r']Create a new R program - myCompiler - myCompiler[/URL] or [URL='https://rdrr.io/snippets/']Run R code online[/URL] , hit run, and wait a few seconds. It will generate ten of them. (Changing nchar= to a bigger number will make more of them). [SPOILER="The Code"] zz<-0 x<-matrix(0,nrow=262144,ncol=6) for (i in 8:15){ for (j in 8:15){ for (k in 8:15){ for (l in 8:15){ for (m in 8:15){ for (n in 8:15){ zz<-zz+1 x[zz,]<-c(i,j,k,l,m,n) }}}}}} costm<-x-8 costm[x==14]<-costm[x==14]+1 costm[x==15]<-costm[x==15]+2 cost<-apply(costm,1,sum) x<-x[cost==27,] probm<-matrix(0,nrow=dim(x)[1],ncol=dim(x)[2]) probm[x==8]<-0.0478 probm[x==9]<-0.0702 probm[x==10]<-0.0941 probm[x==11]<-0.1142 probm[x==12]<-0.1289 probm[x==13]<-0.1327 probm[x==14]<-0.1235 probm[x==15]<-0.1011 prob<-apply(probm*10,1,prod) prob<-prob/sum(prob) nchar=10 x[sample(1:dim(x)[1],nchar,prob=prob),] [/SPOILER] Sample output: [ATTACH type="full" alt="1718896568341.png"]368182[/ATTACH] I'm happy to modify the code if someone wants a different point buy or for the probabilities to match just 3d6 or whatever. I'm also happy to hear why folks would absolutely hate this. (I'm guessing one reason is that actually rolling dice is fun!) [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Dungeons & Dragons
Point Buy Meets Best of 4d6 in Order
Top