WoWInterface - View Single Post - Retrieve buff id by name
View Single Post
08-11-15, 01:10 AM   #2
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
GameTooltip:SetUnitAura/Buff/Debuff actually works the same way that UnitAura/Buff/Debuff does -- you can just pass it a name directly. I just verified with this:

GameTooltip:SetUnitBuff("player", "Lightning Shield")
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Donít message me about addon bugs or programming questions.
  Reply With Quote