1) Press the macro to put Devour Magic on auto and cast Devour Magic on pet’s target.
2) Shift + Press/Click the macro to take Devour Magic off auto, preventing autocasting to be done and allowing it to be used manually for defensive devours.
3) Devour Magic will likely be on CD when its needed defensively (a repercussion for using it offensively a lot), but simply wait for the CD to be finished. Once Devour Magic’s CD is over, mouseover your teamate’s party plate on the left side of the screen and Shift + Press/Click the macro to devour the debuff on him.
4) If desired, keep Devour Magic off auto-cast in order to save it for devouring debuffs of teamates for the rest of the fight. ~OR~ Press/Click the macro to put the devour magic back on auto-cast and devour the pet’s target’s buffs.
#showtooltip Devour Magic
/petautocastoff [modifier:shift] Devour Magic
/cast [modifier:shift, target=mouseover, noharm, exists] Devour Magic
/stopmacro [modifier:shift]
/petautocaston Devour Magic
/cast [target=pettarget, exists] Devour Magic