Detect start of Disenchant
Hi, I'm looking for a way to detect a disenchant or sell action and be able to stop it in some cases.
I want to make an addon that will check the item being disenchanted or sold to see if it belongs to an equipment set. If it does, print a message that the item belongs to equipment set <name> and cancel the disenchant or sell.
I've lost gear before due to this and I'd like to stop it from happening.
I try to be careful when I do disenchant and sell, but I've blown it in the past and would like to at least get a warning that I'm about to do something I might regret.
I've poked around the API lists, but don't see anything that I can use for disenchant.
Thanks,
-g
|