And so, inspired by "fix-up" addons like Marson's Bosses Gone AWOL, I'm trying my hand at cleaning this up. So far I've got an addon that at least appears to correctly distinguish between "orphaned" particles and particles that are associated with an active temporary effect or sustained talent and removes the former. Before I go live with it, though, I'd like to get some feedback from others with experience in this area:
- Currently I'm looking in game.player.sustain_talents{} and game.player.tmp{} for "legitimate" particles, on the premise that even if the talent/effect isn't using the :effectParticles() and :talentParticles() method, it's probably still storing the particle with the rest of its associated talent/particle information. Also, it turns out we need to do a shallow sweep of game.player{} for stuff like steam generator particles. Is there anywhere else I need to check?
- Currently we do the orphan check only at character load. Would we want another way to trigger a check, like a key binding?