Get the name of a debuff from a unit from an ID number.


Parameter Edit

String - the UnitID (e.g. "target", "party1", "raid1", etc..)
Integer - the debuff ID number.

Returns Edit

String - the name of the debuff located at the ID number.

Example Edit

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")

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.