I found the problem. In the spells_new table, the numhits field had been set to 0 for all spells. This may have happened when I was changing the spell file's format a long time ago. To fix it, I just loaded in a stock spells_us I had, extracted all spells that were supposed to have a value in numhits (like 814 spells), loaded my regular spell file back in, and then replaced the broken spells with the ones I had extracted. It seems to be working perfectly now.
|