theoremtank
First Post
Hi, recently been getting into writting small D&D utility programs and have run across a nagging problem.
I have been able to derive mathematical formulas for a variety of tables in the Player's Handbook, but there are still a couple that are nagging me. For instance, the wizard's spells per day table. I wish to come up with a formula that will generate the spells per day for each level based off of the wizards level as input, yet I have been unable to come up with anything very efficient. So my question is, do you programmers out there think its just better to write a file with this table in it and have the program access the file for info, or is it better to use a mathematical formula to do this.
Thanks
I have been able to derive mathematical formulas for a variety of tables in the Player's Handbook, but there are still a couple that are nagging me. For instance, the wizard's spells per day table. I wish to come up with a formula that will generate the spells per day for each level based off of the wizards level as input, yet I have been unable to come up with anything very efficient. So my question is, do you programmers out there think its just better to write a file with this table in it and have the program access the file for info, or is it better to use a mathematical formula to do this.
Thanks