Originally Posted by SDPhantom
Lua Code:
if InCombatLockdown() and (ctype=="macro" or ctype=="spell") then-- Need to be out of combat to set attributes
|
You're checking that they're in combat here.
Also you can securely receive a drag and set the attributes even in combat if you use the template for it.