Get the name of a debuff from a unit from an ID number.
- String - the UnitID (e.g. "target", "party1", "raid1", etc..)
- Integer - the debuff ID number.
- String - the name of the debuff located at the ID number.
Print the name of your targets debuff located at ID 1 to the Say channel.
SendChatMessage("My targets first debuff is " .. UnitDebuff("target",1),"SAY")