View Single Post
Unread 11-13-12, 11:33 AM   #17
A Pyroguard Emberseer
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,209
It's nothing to be sorry about, I just meant that it shouldn't work.

Some Wow API functions are not meant to be called directly by addons, they are protected.
I'm pretty sure CastSpellByName() is one of them, does this code actually work?

You would probably need to use secure templates to achieve the functionality you're after.
Dridzt is offline   Reply With Quote