Code snippet for a Warcraft III spell called "Splitbolts" that I made back in 2007.