Originally Posted by Gazmik
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.