Found vanilla-compatible spell autocalc (hack, commented out). Fixed weakest spell selection bug.