View Single Post
07-11-09, 01:22 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I may be wrong, but I think the problem is that "spell" isn't what's it's doing, it's a label for what action to take. Try this...

Code:
ExecuteWarning_Pet_BuffFrame:SetAttribute('type1', 'leftSpell')
ExecuteWarning_Pet_BuffFrame:SetAttribute('leftSpell', "Health Funnel")
ExecuteWarning_Pet_BuffFrame:SetAttribute('type2', 'rightSpell')
ExecuteWarning_Pet_BuffFrame:SetAttribute('rightSpell', "Life Tap")
I caution I may be misunderstanding how that mechanism works, myself.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/