Formulas for spellcasting, mana, hitpoints and experience.