tasonir wrote:I believe it doesn't depend on your aptitudes, in the general case
I think this is basically correct, see below.
Sandman25 wrote:*code and method*
I tackle the problem a different way. Instead of asking "how to split a certain amount of exp" I ask "how much exp is required to reach a certain level". Both methods have their merits.
stickyfingers wrote:Spellcasting is worth as much as a quarter of average of spell schools
going to ignore spellcasting and just focus on spell schools. Besides spellcasting has more important reasons (spell levels+mp) to be trained.
Siegurt wrote:Also IIRC, the actual percentages appear to only jump at the .5 average-skill-level intervals
I've noticed something like this when playing, so going to assume it's true.
For the following I'm using Sandman's aptitude difference of -4 to +4. Also I'm assuming skill_exp_needed is total needed to reach level, not amount needed for next level (if the latter then at 0 apt lvl 2 requires 200 exp, lvl 3 requires 500 exp, lvl 4 requires exp etc.). Following are a few results in the form (average level, level of -4 apt skill, level of +4 apt skill, exp required). Also assuming skills start at 0, though this isn't the case in the OP.
(0, 0, 0, 0) (obviously lvl 0 requires 0 exp)
(0.5, 0.5, 0.5, 50+25/2=62.5)
(0.5, 0, 1, 25)
(1, 1, 1, 100+25=125)
(1, 0.5, 1.5, 50+50=100)
(1, 0, 2, 75)
(1.5, 1.5, 1.5, 200+50=250) (training to equal spell levels)
(1.5, 1, 2, 100+75=175)
(1.5, 0.5, 2.5, 50+225/2=162.5)
(1.5, 0, 3, 150) (all in +4 apt)
optimal very very early on to put all exp into +4 apt skill, though this doesn't last very long plus any mage will already have some starting exp in spell schools so doesn't matter. For a higher average level:
(13, 13, 13, 10100+2525=12625) (training to equal spell levels)
(13, 7, 19, 2800+12300/2=8950) (this is roughly optimal xp allocation: 2800 into -4apt and 6150 into +4 apt)
(13, 0, 26, 13500) (all in +4 apt)
By comparison if 9000 exp (rounding 8950 to 9000) is allocated equally we get 2250 efffective exp for the -4 and 9000 effective exp for the +4, or level 9 and level 16.36 which averages to 12.68 which rounds down to 12.5. While there is a more efficient way of allocating exp we're splitting hairs at this point. Also this is assuming a huge difference in aptitudes, for a smaller difference equal allocation of exp becomes closer to optimal.
Also I believe the greatest difference between optimal exp allocation and equal exp allocation occurs at 13.5 average level, since to get a higher average level the -4 apt spell school cannot be 0. This does not take into account spellcasting however.