Yo group lead here going to lay some knowledge on the algorithm I made so that the AI Can cast spells properly. Basically I find a spell at random. Calculate the time to play that spell in total. Divide that by the number of notes and then play the proper note every time that interval is reached.
This is a terrible explanation but I am lazy










