View Single Post
10-24-11, 01:43 AM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
It's an interesting idea. Detecting when you equip an item is easy, as is identifying which sets contained the item you replaced. The main problem is that you can't update a set without equipping it first, so for each set that needed to be updated, the addon would need to first equip the set, then pickup the new item onto the cursor, then equip the item from the cursor, and finally save the set.

As far as I know, none of those actions require a hardware event (out of combat, at least), but you'd need to also write code to detect when each step of the process completed so the next one could be done.

Also, how would you want to handle multiple item changes? Let's say you replace your cloak and your belt at the same time. Set A and Set B contained your old cloak. Set B and Set C contained your old belt. You want to update Set A with the new cloak and Set C with the new belt, but you want to keep the old cloak in Set B and only update it with the new belt.

At this point you're looking at either a pretty complicated UI and internal data structures to handle this, or you're taking 5 minutes to update all your sets once per changed item (so you'd equip and update Set B two separate times in the above example).
  Reply With Quote