View Single Post
12-07-11, 08:21 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Gazmik View Post
Note that you can do this in a locale-independent way if you start with the spellID for Disenchant and look up its name.
You actually don't even need to do that; since WoW 4.0 the UNIT_SPELLCAST_START event fires with a 5th argument containing the spellID of the spell being cast. Simply check if that spellID matches the spellID for Disenchant.
  Reply With Quote