Quick brainstorming, but couldn't you attach a charm file to a specific piece of armor that would check all the other vis slots in SUB_EVENT_SCALE_CALC, see if they are the correct items, test if we already have the buff, if not then do a quest::cast or $client->SpellFinished or something along those lines at the end? Also stripping said buff if they do have the buff but no complete set.
Once you get a decent template set up, should be easy enough to add a Charm File script for each set, and replace the numbers/desired spell_id. Also saves the player from remembering to click, but not sure how memory intensive it would be compared to sub EVENT_ITEM_CLICK.
|