I've been all over the API to see if spells being cast can have their school be discovered. The best I could find is the _DAMAGE subevent in CLEU but that is after the spell is finished and has done damage. What about during the cast?
I want to colourize my cast bars based on the school of the spell. After that, flash the cast bars for boss, arena, target, etc if the spell can be interrupted. I can figure out if the spell is interruptable easily enough. But I can't figure out how to find the school or make the cast bar flash or strobe or blink.
The casting and unit APIs for casting don't return the school as far as I can see.