Skip to content

A math-y question

Mantis37Mantis37 Member Posts: 1,174
So... I was tiring a little of rerolling till I get a 90 or just doing ctrl-8 and selecting some stats for my Bhaalspawn, and wanted to try a system more akin to p&p. However, when doing SCS no-reload runs one really needs some decent stats. So I was thinking of doing the following system.

First I will roll 3d6 in order, unto the way prescribed by the Great Gygax. And select an appropriate class- though would allow someone with decent charisma to 'grow into' being a Paladin etc. via the magic of EE Keeper.
These will be the stats at level 1.
However... each level up (for single class characters obviously, multis would have xp thresholds instead) one would roll a d20 for each attribute. (Optionally you may choose to roll d20+1 for two main stats, a plain d20 for two regular stats, and d20-1 for two weaker stats. This will stop the stats from getting samey.)

If you roll under the stat nothing happens.
If you roll the stat exactly then you lose 1 point in that stat.
If you roll over the stat then you gain 1 point in that stat.
If you roll a 20 then you gain 2 points, but then no further rolls are made for that stat.

This would mean that your Bhaalspawn grew in attributes as well as in levels, and give a decent power progression if you don't get eaten by a wolf early on. But I was wondering... how would this likely work in practice? Anyone care to give me some pointers on the probability curve for how stats might change over BG1 & 2?

Comments

  • Balrog99Balrog99 Member Posts: 7,367
    It would likely raise your low stats to mediocre but cap your stats before you turn into a behemoth. The highest stat you could get without using a tome is 21 and there is a miniscule chance you could drop a stat to 0 and get sucked into a black hole.

    Say you start with a 3. You would have an 85% of raising the stat on level up including a 5% chance of raising it by 2 against a 5% chance of lowering it to 2. For a stat of 18 you'd have a 10% chance of raising it by one or two against a 5% chance of lowering it by one.

    The dynamic of not being able to re-roll after a 20 is difficult to work into the equation. It's kind of a wildcard preventing Godhood before ascension...
  • kjeronkjeron Member Posts: 2,367
    What happens when you roll 1 on a stat of 1? Does it stay at 1, or drop to 0 and you die?

    Assuming it just stays at 1, and assuming I knew what I was doing, these are the results I got at level 20, using an initial 3d6 and then d20 at every level:
    1, 2, 3, 4, 5, 22 < 0.01%
    5 = 0.04%,	 6 = 0.14%,	 7 = 0.35%,	 8 = 0.73%,	 9 = 1.38%,
    10 = 2.44%,	 11 = 4.05%,	 12 = 6.42%,	 13 = 9.66%,
    14 = 13.34%,	 15 = 16.21%,	 16 = 16.56%,	 17 = 13.75%
    18 = 8.90%,	 19 = 4.28%,	 20 = 1.46%,	 21 = 0.30%
    
    Or, given a known starting value, the chance to end up at a given stat (by level 20):
    #	1	2	3	4	5	6	7	8	9	10	11	12	13	14	15	16	17	18	19	20	21	22
    3	0.00%	0.00%	0.02%	0.35%	6.23%	6.24%	6.30%	6.51%	7.16%	8.69%	11.26%	13.82%	14.06%	10.77%	5.83%	2.15%	0.53%	0.08%	0.01%	0.00%	0.00%	0.00%
    4	0.00%	0.00%	0.00%	0.02%	0.39%	6.65%	6.68%	6.81%	7.25%	8.41%	10.65%	13.45%	14.79%	12.64%	7.79%	3.31%	0.94%	0.18%	0.02%	0.00%	0.00%	0.00%
    5	0.00%	0.00%	0.00%	0.00%	0.03%	0.45%	7.13%	7.21%	7.50%	8.33%	10.18%	12.95%	15.13%	14.29%	9.96%	4.85%	1.59%	0.35%	0.05%	0.00%	0.00%	0.00%
    6	0.00%	0.00%	0.00%	0.00%	0.00%	0.03%	0.52%	7.71%	7.88%	8.46%	9.89%	12.43%	15.15%	15.61%	12.22%	6.77%	2.55%	0.64%	0.10%	0.01%	0.00%	0.00%
    7	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.04%	0.62%	8.41%	8.79%	9.84%	12.01%	14.94%	16.57%	14.44%	9.07%	3.90%	1.12%	0.21%	0.02%	0.00%	0.00%
    8	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.01%	0.06%	0.76%	9.32%	10.05%	11.79%	14.64%	17.14%	16.48%	11.69%	5.73%	1.87%	0.40%	0.05%	0.00%	0.00%
    9	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.01%	0.10%	0.99%	10.55%	11.84%	14.38%	17.42%	18.23%	14.53%	8.10%	3.01%	0.73%	0.11%	0.01%	0.00%
    10	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.02%	0.17%	1.36%	12.26%	14.34%	17.52%	19.63%	17.45%	11.04%	4.67%	1.29%	0.22%	0.02%	0.00%
    11	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.01%	0.05%	0.31%	1.99%	14.68%	17.65%	20.71%	20.32%	14.58%	7.03%	2.20%	0.43%	0.04%	0.00%
    12	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.02%	0.11%	0.58%	3.06%	18.07%	21.61%	23.03%	18.67%	10.29%	3.65%	0.82%	0.09%	0.00%
    13	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.01%	0.04%	0.24%	1.12%	4.81%	22.60%	25.58%	23.25%	14.68%	5.95%	1.52%	0.20%	0.00%
    14	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.02%	0.10%	0.51%	2.10%	7.52%	28.17%	28.32%	20.51%	9.54%	2.78%	0.44%	0.00%
    15	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.01%	0.04%	0.23%	1.05%	3.82%	11.40%	34.04%	28.20%	15.19%	5.07%	0.96%	0.00%
    16	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.01%	0.09%	0.49%	2.09%	6.68%	16.24%	38.64%	24.29%	9.36%	2.11%	0.00%
    17	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.03%	0.19%	1.02%	4.01%	11.00%	20.81%	40.00%	18.03%	4.91%	0.00%
    18	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.00%	0.01%	0.06%	0.41%	2.08%	7.43%	16.70%	21.86%	38.59%	12.87%	0.00%
    
    (all 0.00% are just less than 0.01%)
  • jmerryjmerry Member Posts: 3,830
    I believe the assumption was "it drops to zero and you die". But that's basically a one in a million chance given a starting 3d6 spread, so it's not going to be noticeable on that chart.

    The other end that needs clarification - if your current stat is a 20 and you roll a 20, do you drop back to 19 or go up to 22 and stop rolling?

    I've built it in a spreadsheet myself, on the assumption that you can drop to zero and die and also that rolling a 20 when you already have 20 drops you to 19. My level 20 results:
    0: 9.7E-7  1: 1.2E-10 2: 1.4E-9 3: 9.8E-7
    4: 2.0E-5  5: 0.035%   6: 0.14%   7: 0.35%
    8: 0.73%   9: 1.38%   10: 2.44%  11: 4.05%
    12: 6.42%  13: 9.65%  14: 13.34% 15: 16.21%
    16: 16.56% 17: 13.75% 18: 8.90%  19: 4.28%
    20: 1.46%  21: 0.30%
    

    No noticeable differences there. If we have any differences in our assumptions, they're only in extremely rare border cases.

    I also ran it all the way out to level 40. Here are the numbers for that:
    0: 9.7E-7  1: 1.9E-14 2: 2.7E-13 3: 9.8E-7
    4: 1.9E-5  5: 0.035%  6: 0.14%   7: 0.35%
    8: 0.72%   9: 1.32%   10: 2.23%  11: 3.42%
    12: 4.85%  13: 6.51%  14: 8.42%  15: 10.67%
    16: 13.15% 17: 15.14% 18: 14.83% 19: 10.94%
    20: 5.50%  21: 1.79%
    
  • Balrog99Balrog99 Member Posts: 7,367
    jmerry wrote: »
    I believe the assumption was "it drops to zero and you die". But that's basically a one in a million chance given a starting 3d6 spread, so it's not going to be noticeable on that chart.

    The other end that needs clarification - if your current stat is a 20 and you roll a 20, do you drop back to 19 or go up to 22 and stop rolling?

    I've built it in a spreadsheet myself, on the assumption that you can drop to zero and die and also that rolling a 20 when you already have 20 drops you to 19. My level 20 results:
    0: 9.7E-7  1: 1.2E-10 2: 1.4E-9 3: 9.8E-7
    4: 2.0E-5  5: 0.035%   6: 0.14%   7: 0.35%
    8: 0.73%   9: 1.38%   10: 2.44%  11: 4.05%
    12: 6.42%  13: 9.65%  14: 13.34% 15: 16.21%
    16: 16.56% 17: 13.75% 18: 8.90%  19: 4.28%
    20: 1.46%  21: 0.30%
    

    No noticeable differences there. If we have any differences in our assumptions, they're only in extremely rare border cases.

    I also ran it all the way out to level 40. Here are the numbers for that:
    0: 9.7E-7  1: 1.9E-14 2: 2.7E-13 3: 9.8E-7
    4: 1.9E-5  5: 0.035%  6: 0.14%   7: 0.35%
    8: 0.72%   9: 1.32%   10: 2.23%  11: 3.42%
    12: 4.85%  13: 6.51%  14: 8.42%  15: 10.67%
    16: 13.15% 17: 15.14% 18: 14.83% 19: 10.94%
    20: 5.50%  21: 1.79%
    

    You can't get to 20 with another roll left. If you start at 19 and roll a 20 you go to 21 and stop. If you roll a 20 at 18 you go to 20 and stop.
  • jmerryjmerry Member Posts: 3,830
    Right, missed that. So that question about what to do if you're already at 20 is irrelevant, and I could have shrunk my matrix dimensions by 1. Those zero entries should have clued me in...

    The behavior here is dominated by the absorbing states in the long run, but the second most important component is the decay of the non-absorbing states. The dominant eigenvector for that part looks like the power series for e, with an eigenvalue of almost exactly 0.95. After (very) many rounds of this process, if you haven't rolled a 20 to stop things yet, the current value of the stat will be 19 with probability approximately 1/e, 18 with probability approximately 1/e, 17 with probability approximately 1/2e, 16 with probability approximately 1/6e, and so on.

    Starting at level 1 with a random 3d6, level 40 is just far enough in this process that a non-final 18 is more likely than a non-final 17. A non-final 19 is still only half as likely as those two.
  • Mantis37Mantis37 Member Posts: 1,174
    Thank you very much @jmerry and @kjeron!

    So an average stat of 10 has about a 50/50 chance of reaching a 15 by level 20.... Hm, that seems like it might be slightly on the low side for an aspiring demigod so I suppose I shall tweak the system slightly.
Sign In or Register to comment.