I'm trying to figure out how to write a small script/mod that will allow you to cast the best buff/bless for self/target without getting the Target too Low level error and having to cast from spell book. I would like to be able to have 1 action button that will call the mods function with the appropriate spell. I am having difficulty determing what API calls I need to use besides the Unit ones. Any help would be appreciated. Thanks
![Smile](//cdn-wow.mmoui.com/images/style_mmoi_wowi2/smilies/smile.gif)