Instead of using two separate functions with switch-cases for wizard and clerical spell lists, define the spell lists as arrays and use a single function to pick a spell from the lists. Adds levels to the monster spells, using the switch-case values, with some minor fudging.
1.4 KiB
1.4 KiB