What is the formula behind each level spell slot progression that I can use in a spreadsheet?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







5












$begingroup$


I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.










share|improve this question











$endgroup$












  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    yesterday










  • $begingroup$
    This could be a good submission for the codegolf SE.
    $endgroup$
    – Keeta
    10 hours ago


















5












$begingroup$


I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.










share|improve this question











$endgroup$












  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    yesterday










  • $begingroup$
    This could be a good submission for the codegolf SE.
    $endgroup$
    – Keeta
    10 hours ago














5












5








5





$begingroup$


I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.










share|improve this question











$endgroup$




I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.







dnd-5e spells multi-classing spell-slots






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday









V2Blast

26.6k591162




26.6k591162










asked yesterday









Gerome the namelessGerome the nameless

846




846












  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    yesterday










  • $begingroup$
    This could be a good submission for the codegolf SE.
    $endgroup$
    – Keeta
    10 hours ago


















  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    yesterday










  • $begingroup$
    This could be a good submission for the codegolf SE.
    $endgroup$
    – Keeta
    10 hours ago
















$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– mxyzplk
yesterday




$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– mxyzplk
yesterday












$begingroup$
This could be a good submission for the codegolf SE.
$endgroup$
– Keeta
10 hours ago




$begingroup$
This could be a good submission for the codegolf SE.
$endgroup$
– Keeta
10 hours ago










5 Answers
5






active

oldest

votes


















14












$begingroup$

There is no General Formula



Or at least not one that is pretty.



Let's start by looking at how many spell slots are gained at each level:



begin{array}{rl|rl}
text{Level} & text{+ Slots} & text{Level} & text{+ Slots} \ hline
text{1st} & text{+2 1st} & text{11th} & text{+1 6th} \
text{2nd} & text{+1 1st} & text{12th} & - \
text{3rd} & text{+1 1st; +2 2nd} & text{13th} & text{+1 7th} \
text{4th} & text{+1 2nd} & text{14th} & - \
text{5th} & text{+2 3rd} & text{15th} & text{+1 8th} \
text{6th} & text{+1 3rd} & text{16th} & - \
text{7th} & text{+1 4th} & text{17th} & text{+1 9th} \
text{8th} & text{+1 4th} & text{18th} & text{+1 5th} \
text{9th} & text{+1 5th; +1 4th} & text{19th} & text{+1 6th} \
text{10th} & text{+1 5th} & text{20th} & text{+1 7th} \
end{array}



So looking at this, there are a few patterns that stand out:




  • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

  • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

  • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.


But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



Spreadsheet Math



This is what I came up with:



Spell Slot Spreadsheet



In Cells M3 to M11, the formula used there is



=IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


All of the other cells are just flat values.



That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






share|improve this answer











$endgroup$





















    7












    $begingroup$

    Just use a sum of conditionals



    I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



    = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


    This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






    share|improve this answer











    $endgroup$





















      2












      $begingroup$

      There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






      share|improve this answer









      $endgroup$





















        1












        $begingroup$

        I engineered a formula that generates the chart, but it says nothing about the design principles that went into it



        note: There are probably many ways to simplify the formula that I missed, but I like how it turned out nevertheless.



        l = character level, s = slot level



        enter image description here



        While reading into this formula for the purpose of anything other than a representation of the chart is likely useless, it should work for a spreadsheet without issues. Below you can find the spreadsheet formula that replicates it (D$3 is the spell level and $C4 is the character level):



        =MIN(4-CEILING(((D$3-1)/5),1),IF($C4>(2*D$3-2),FLOOR(1-(FLOOR((D$3/4),1))+$C4/D$3+FLOOR(($C4+3^(1-CEILING((MOD(4-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(4,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,4))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(5-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(5,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,5))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(6-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(6,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,6))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(7-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(7,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,7))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(8-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(8,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,8))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(9-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(9,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,9))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(3/2)*(3/4)^((3-1)/2),1)*3),1)*CEILING(((1-MOD(D$3,3))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(4/2)*(3/4)^((4-1)/2),1)*4),1)*CEILING(((1-MOD(D$3,4))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(5/2)*(3/4)^((5-1)/2),1)*5),1)*CEILING(((1-MOD(D$3,5))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(6/2)*(3/4)^((6-1)/2),1)*6),1)*CEILING(((1-MOD(D$3,6))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(7/2)*(3/4)^((7-1)/2),1)*7),1)*CEILING(((1-MOD(D$3,7))/8),1),1),0))


        You can see an example of the resulting spreadsheet below (cells D4:L23 contain the above formula):



        enter image description here



        Extrapolating is impossible



        The method by which I engineered my formula makes it impossible to extrapolate. You just get zeros for all slots beyond level 9 and any level slot beyond level 20, except for one negative 10th-level spell slot at level 19.






        share|improve this answer











        $endgroup$





















          0












          $begingroup$

          There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
          $$
          2 cdot text{if} (m, 1) + text{if} (m, 2) + text{if}(m, 3)
          $$

          and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



           =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


          where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






          share|improve this answer











          $endgroup$














            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "122"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2frpg.stackexchange.com%2fquestions%2f144945%2fwhat-is-the-formula-behind-each-level-spell-slot-progression-that-i-can-use-in-a%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            5 Answers
            5






            active

            oldest

            votes








            5 Answers
            5






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            14












            $begingroup$

            There is no General Formula



            Or at least not one that is pretty.



            Let's start by looking at how many spell slots are gained at each level:



            begin{array}{rl|rl}
            text{Level} & text{+ Slots} & text{Level} & text{+ Slots} \ hline
            text{1st} & text{+2 1st} & text{11th} & text{+1 6th} \
            text{2nd} & text{+1 1st} & text{12th} & - \
            text{3rd} & text{+1 1st; +2 2nd} & text{13th} & text{+1 7th} \
            text{4th} & text{+1 2nd} & text{14th} & - \
            text{5th} & text{+2 3rd} & text{15th} & text{+1 8th} \
            text{6th} & text{+1 3rd} & text{16th} & - \
            text{7th} & text{+1 4th} & text{17th} & text{+1 9th} \
            text{8th} & text{+1 4th} & text{18th} & text{+1 5th} \
            text{9th} & text{+1 5th; +1 4th} & text{19th} & text{+1 6th} \
            text{10th} & text{+1 5th} & text{20th} & text{+1 7th} \
            end{array}



            So looking at this, there are a few patterns that stand out:




            • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

            • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

            • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.


            But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



            So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



            Spreadsheet Math



            This is what I came up with:



            Spell Slot Spreadsheet



            In Cells M3 to M11, the formula used there is



            =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


            All of the other cells are just flat values.



            That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



            The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



            And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






            share|improve this answer











            $endgroup$


















              14












              $begingroup$

              There is no General Formula



              Or at least not one that is pretty.



              Let's start by looking at how many spell slots are gained at each level:



              begin{array}{rl|rl}
              text{Level} & text{+ Slots} & text{Level} & text{+ Slots} \ hline
              text{1st} & text{+2 1st} & text{11th} & text{+1 6th} \
              text{2nd} & text{+1 1st} & text{12th} & - \
              text{3rd} & text{+1 1st; +2 2nd} & text{13th} & text{+1 7th} \
              text{4th} & text{+1 2nd} & text{14th} & - \
              text{5th} & text{+2 3rd} & text{15th} & text{+1 8th} \
              text{6th} & text{+1 3rd} & text{16th} & - \
              text{7th} & text{+1 4th} & text{17th} & text{+1 9th} \
              text{8th} & text{+1 4th} & text{18th} & text{+1 5th} \
              text{9th} & text{+1 5th; +1 4th} & text{19th} & text{+1 6th} \
              text{10th} & text{+1 5th} & text{20th} & text{+1 7th} \
              end{array}



              So looking at this, there are a few patterns that stand out:




              • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

              • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

              • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.


              But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



              So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



              Spreadsheet Math



              This is what I came up with:



              Spell Slot Spreadsheet



              In Cells M3 to M11, the formula used there is



              =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


              All of the other cells are just flat values.



              That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



              The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



              And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






              share|improve this answer











              $endgroup$
















                14












                14








                14





                $begingroup$

                There is no General Formula



                Or at least not one that is pretty.



                Let's start by looking at how many spell slots are gained at each level:



                begin{array}{rl|rl}
                text{Level} & text{+ Slots} & text{Level} & text{+ Slots} \ hline
                text{1st} & text{+2 1st} & text{11th} & text{+1 6th} \
                text{2nd} & text{+1 1st} & text{12th} & - \
                text{3rd} & text{+1 1st; +2 2nd} & text{13th} & text{+1 7th} \
                text{4th} & text{+1 2nd} & text{14th} & - \
                text{5th} & text{+2 3rd} & text{15th} & text{+1 8th} \
                text{6th} & text{+1 3rd} & text{16th} & - \
                text{7th} & text{+1 4th} & text{17th} & text{+1 9th} \
                text{8th} & text{+1 4th} & text{18th} & text{+1 5th} \
                text{9th} & text{+1 5th; +1 4th} & text{19th} & text{+1 6th} \
                text{10th} & text{+1 5th} & text{20th} & text{+1 7th} \
                end{array}



                So looking at this, there are a few patterns that stand out:




                • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

                • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

                • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.


                But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



                So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



                Spreadsheet Math



                This is what I came up with:



                Spell Slot Spreadsheet



                In Cells M3 to M11, the formula used there is



                =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


                All of the other cells are just flat values.



                That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



                The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



                And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






                share|improve this answer











                $endgroup$



                There is no General Formula



                Or at least not one that is pretty.



                Let's start by looking at how many spell slots are gained at each level:



                begin{array}{rl|rl}
                text{Level} & text{+ Slots} & text{Level} & text{+ Slots} \ hline
                text{1st} & text{+2 1st} & text{11th} & text{+1 6th} \
                text{2nd} & text{+1 1st} & text{12th} & - \
                text{3rd} & text{+1 1st; +2 2nd} & text{13th} & text{+1 7th} \
                text{4th} & text{+1 2nd} & text{14th} & - \
                text{5th} & text{+2 3rd} & text{15th} & text{+1 8th} \
                text{6th} & text{+1 3rd} & text{16th} & - \
                text{7th} & text{+1 4th} & text{17th} & text{+1 9th} \
                text{8th} & text{+1 4th} & text{18th} & text{+1 5th} \
                text{9th} & text{+1 5th; +1 4th} & text{19th} & text{+1 6th} \
                text{10th} & text{+1 5th} & text{20th} & text{+1 7th} \
                end{array}



                So looking at this, there are a few patterns that stand out:




                • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

                • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

                • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.


                But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



                So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



                Spreadsheet Math



                This is what I came up with:



                Spell Slot Spreadsheet



                In Cells M3 to M11, the formula used there is



                =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


                All of the other cells are just flat values.



                That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



                The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



                And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited yesterday

























                answered yesterday









                XiremaXirema

                23.9k268140




                23.9k268140

























                    7












                    $begingroup$

                    Just use a sum of conditionals



                    I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                    = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                    This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






                    share|improve this answer











                    $endgroup$


















                      7












                      $begingroup$

                      Just use a sum of conditionals



                      I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                      = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                      This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






                      share|improve this answer











                      $endgroup$
















                        7












                        7








                        7





                        $begingroup$

                        Just use a sum of conditionals



                        I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                        = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                        This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






                        share|improve this answer











                        $endgroup$



                        Just use a sum of conditionals



                        I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                        = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                        This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited yesterday

























                        answered yesterday









                        Ryan ThompsonRyan Thompson

                        11.7k23988




                        11.7k23988























                            2












                            $begingroup$

                            There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






                            share|improve this answer









                            $endgroup$


















                              2












                              $begingroup$

                              There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






                              share|improve this answer









                              $endgroup$
















                                2












                                2








                                2





                                $begingroup$

                                There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






                                share|improve this answer









                                $endgroup$



                                There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered yesterday









                                Derek StuckiDerek Stucki

                                21.4k768110




                                21.4k768110























                                    1












                                    $begingroup$

                                    I engineered a formula that generates the chart, but it says nothing about the design principles that went into it



                                    note: There are probably many ways to simplify the formula that I missed, but I like how it turned out nevertheless.



                                    l = character level, s = slot level



                                    enter image description here



                                    While reading into this formula for the purpose of anything other than a representation of the chart is likely useless, it should work for a spreadsheet without issues. Below you can find the spreadsheet formula that replicates it (D$3 is the spell level and $C4 is the character level):



                                    =MIN(4-CEILING(((D$3-1)/5),1),IF($C4>(2*D$3-2),FLOOR(1-(FLOOR((D$3/4),1))+$C4/D$3+FLOOR(($C4+3^(1-CEILING((MOD(4-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(4,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,4))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(5-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(5,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,5))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(6-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(6,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,6))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(7-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(7,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,7))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(8-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(8,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,8))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(9-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(9,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,9))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(3/2)*(3/4)^((3-1)/2),1)*3),1)*CEILING(((1-MOD(D$3,3))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(4/2)*(3/4)^((4-1)/2),1)*4),1)*CEILING(((1-MOD(D$3,4))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(5/2)*(3/4)^((5-1)/2),1)*5),1)*CEILING(((1-MOD(D$3,5))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(6/2)*(3/4)^((6-1)/2),1)*6),1)*CEILING(((1-MOD(D$3,6))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(7/2)*(3/4)^((7-1)/2),1)*7),1)*CEILING(((1-MOD(D$3,7))/8),1),1),0))


                                    You can see an example of the resulting spreadsheet below (cells D4:L23 contain the above formula):



                                    enter image description here



                                    Extrapolating is impossible



                                    The method by which I engineered my formula makes it impossible to extrapolate. You just get zeros for all slots beyond level 9 and any level slot beyond level 20, except for one negative 10th-level spell slot at level 19.






                                    share|improve this answer











                                    $endgroup$


















                                      1












                                      $begingroup$

                                      I engineered a formula that generates the chart, but it says nothing about the design principles that went into it



                                      note: There are probably many ways to simplify the formula that I missed, but I like how it turned out nevertheless.



                                      l = character level, s = slot level



                                      enter image description here



                                      While reading into this formula for the purpose of anything other than a representation of the chart is likely useless, it should work for a spreadsheet without issues. Below you can find the spreadsheet formula that replicates it (D$3 is the spell level and $C4 is the character level):



                                      =MIN(4-CEILING(((D$3-1)/5),1),IF($C4>(2*D$3-2),FLOOR(1-(FLOOR((D$3/4),1))+$C4/D$3+FLOOR(($C4+3^(1-CEILING((MOD(4-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(4,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,4))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(5-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(5,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,5))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(6-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(6,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,6))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(7-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(7,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,7))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(8-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(8,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,8))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(9-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(9,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,9))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(3/2)*(3/4)^((3-1)/2),1)*3),1)*CEILING(((1-MOD(D$3,3))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(4/2)*(3/4)^((4-1)/2),1)*4),1)*CEILING(((1-MOD(D$3,4))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(5/2)*(3/4)^((5-1)/2),1)*5),1)*CEILING(((1-MOD(D$3,5))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(6/2)*(3/4)^((6-1)/2),1)*6),1)*CEILING(((1-MOD(D$3,6))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(7/2)*(3/4)^((7-1)/2),1)*7),1)*CEILING(((1-MOD(D$3,7))/8),1),1),0))


                                      You can see an example of the resulting spreadsheet below (cells D4:L23 contain the above formula):



                                      enter image description here



                                      Extrapolating is impossible



                                      The method by which I engineered my formula makes it impossible to extrapolate. You just get zeros for all slots beyond level 9 and any level slot beyond level 20, except for one negative 10th-level spell slot at level 19.






                                      share|improve this answer











                                      $endgroup$
















                                        1












                                        1








                                        1





                                        $begingroup$

                                        I engineered a formula that generates the chart, but it says nothing about the design principles that went into it



                                        note: There are probably many ways to simplify the formula that I missed, but I like how it turned out nevertheless.



                                        l = character level, s = slot level



                                        enter image description here



                                        While reading into this formula for the purpose of anything other than a representation of the chart is likely useless, it should work for a spreadsheet without issues. Below you can find the spreadsheet formula that replicates it (D$3 is the spell level and $C4 is the character level):



                                        =MIN(4-CEILING(((D$3-1)/5),1),IF($C4>(2*D$3-2),FLOOR(1-(FLOOR((D$3/4),1))+$C4/D$3+FLOOR(($C4+3^(1-CEILING((MOD(4-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(4,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,4))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(5-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(5,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,5))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(6-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(6,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,6))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(7-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(7,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,7))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(8-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(8,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,8))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(9-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(9,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,9))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(3/2)*(3/4)^((3-1)/2),1)*3),1)*CEILING(((1-MOD(D$3,3))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(4/2)*(3/4)^((4-1)/2),1)*4),1)*CEILING(((1-MOD(D$3,4))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(5/2)*(3/4)^((5-1)/2),1)*5),1)*CEILING(((1-MOD(D$3,5))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(6/2)*(3/4)^((6-1)/2),1)*6),1)*CEILING(((1-MOD(D$3,6))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(7/2)*(3/4)^((7-1)/2),1)*7),1)*CEILING(((1-MOD(D$3,7))/8),1),1),0))


                                        You can see an example of the resulting spreadsheet below (cells D4:L23 contain the above formula):



                                        enter image description here



                                        Extrapolating is impossible



                                        The method by which I engineered my formula makes it impossible to extrapolate. You just get zeros for all slots beyond level 9 and any level slot beyond level 20, except for one negative 10th-level spell slot at level 19.






                                        share|improve this answer











                                        $endgroup$



                                        I engineered a formula that generates the chart, but it says nothing about the design principles that went into it



                                        note: There are probably many ways to simplify the formula that I missed, but I like how it turned out nevertheless.



                                        l = character level, s = slot level



                                        enter image description here



                                        While reading into this formula for the purpose of anything other than a representation of the chart is likely useless, it should work for a spreadsheet without issues. Below you can find the spreadsheet formula that replicates it (D$3 is the spell level and $C4 is the character level):



                                        =MIN(4-CEILING(((D$3-1)/5),1),IF($C4>(2*D$3-2),FLOOR(1-(FLOOR((D$3/4),1))+$C4/D$3+FLOOR(($C4+3^(1-CEILING((MOD(4-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(4,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,4))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(5-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(5,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,5))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(6-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(6,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,6))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(7-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(7,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,7))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(8-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(8,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,8))/8),1)+FLOOR(($C4+3^(1-CEILING((MOD(9-2,3)/2),1))*COS((PI()*2^FLOOR(D$3/7,1))))/((3-FLOOR(MOD(9,5)/4,1))*D$3),1)*CEILING(((1-MOD(D$3,9))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(3/2)*(3/4)^((3-1)/2),1)*3),1)*CEILING(((1-MOD(D$3,3))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(4/2)*(3/4)^((4-1)/2),1)*4),1)*CEILING(((1-MOD(D$3,4))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(5/2)*(3/4)^((5-1)/2),1)*5),1)*CEILING(((1-MOD(D$3,5))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(6/2)*(3/4)^((6-1)/2),1)*6),1)*CEILING(((1-MOD(D$3,6))/8),1)-FLOOR(($C4)/(CEILING(13*(2/3)^(7/2)*(3/4)^((7-1)/2),1)*7),1)*CEILING(((1-MOD(D$3,7))/8),1),1),0))


                                        You can see an example of the resulting spreadsheet below (cells D4:L23 contain the above formula):



                                        enter image description here



                                        Extrapolating is impossible



                                        The method by which I engineered my formula makes it impossible to extrapolate. You just get zeros for all slots beyond level 9 and any level slot beyond level 20, except for one negative 10th-level spell slot at level 19.







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited 4 hours ago

























                                        answered 6 hours ago









                                        David CoffronDavid Coffron

                                        39.9k3138286




                                        39.9k3138286























                                            0












                                            $begingroup$

                                            There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                            $$
                                            2 cdot text{if} (m, 1) + text{if} (m, 2) + text{if}(m, 3)
                                            $$

                                            and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                             =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                            where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






                                            share|improve this answer











                                            $endgroup$


















                                              0












                                              $begingroup$

                                              There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                              $$
                                              2 cdot text{if} (m, 1) + text{if} (m, 2) + text{if}(m, 3)
                                              $$

                                              and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                               =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                              where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






                                              share|improve this answer











                                              $endgroup$
















                                                0












                                                0








                                                0





                                                $begingroup$

                                                There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                                $$
                                                2 cdot text{if} (m, 1) + text{if} (m, 2) + text{if}(m, 3)
                                                $$

                                                and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                                 =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                                where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






                                                share|improve this answer











                                                $endgroup$



                                                There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                                $$
                                                2 cdot text{if} (m, 1) + text{if} (m, 2) + text{if}(m, 3)
                                                $$

                                                and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                                 =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                                where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited yesterday

























                                                answered yesterday









                                                Someone_EvilSomeone_Evil

                                                1,720320




                                                1,720320






























                                                    draft saved

                                                    draft discarded




















































                                                    Thanks for contributing an answer to Role-playing Games Stack Exchange!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    Use MathJax to format equations. MathJax reference.


                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2frpg.stackexchange.com%2fquestions%2f144945%2fwhat-is-the-formula-behind-each-level-spell-slot-progression-that-i-can-use-in-a%23new-answer', 'question_page');
                                                    }
                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    Statuo de Libereco

                                                    Tanganjiko

                                                    Liste der Baudenkmäler in Enneberg