Hello all, I'm running into a problem with several of the routines I'm writing: the system recycles debuff names. I'm wondering if there's any way to check for a specific version of a debuff. Allow me to provide an example: For Jedi Shadow/Balance-- both Mind Crush and Force Breach apply the "Crushed (Force)" debuff. There are two icons, which look different, but have the same exact name. The problem is that in order to not break my routine, I have to make Force Breach check for its own debuff. If I don't do that, then the routine will spam Force Breach (it has no cooldown in Balance spec). However, when I have it check for the debuff, I often get a false positive from the Mind Crush debuff. This is not ideal, but it's been what I'm doing (the alternative is spamming Force Breach, which is no good). So far, I've been okay doing that. Now, however, I'm trying to write a routine for Commando/Assault Specialist. His strongest ability is called Incendiary Round, and it puts a long-duration DoT on the target. Incendiary Round has no cooldown, so I need the bot to check for the DoT, otherwise it will spam that one ability constantly. The issue is that Plasma Cell applies a DoT on the target with the same name: "Burning (Tech)". I'm having the same problem as before: I can either have the bot spam the one ability (no good), or I can miss out on stacks of the DoT because I get false positives from Plasma Cell (also not good, but the only current solution I have). The larger issue is that for the Commando, this is a significant DPS loss. For the Shadow, the DoT from Force Breach is decent, but nothing spectacular. For the Commando, it's the highest DPS move. So, is there a way to differentiate between these similar-named debuffs? As I said, it's not the same debuff-- they have different icons and can stack next to each other on the debuff window-- but they share the same name. Any ideas?
http://www.thebuddyforum.com/buddy-...istinguish-between-buffs-debuffs-aevitas.html i didn't get an answer for that aswell ;-(
If this is across separate classes, you can check for the caster guid. If 1 class has several spells that apply debuffs with the same name, you may be screwed. However, debuff has a guid as well. So if you know the guid of the debuff you are looking for, may not be a problem. My guess is that debuffs like "Armor Reduced" are all the same thing and they gave each class their own icon for it. In this case, we just need to add a more detailed check for debuffs.
In my case, it's one class applying several debuffs with the same name. I'm guessing there's a way to get the guid of the debuff, but I have no idea how that would work. In the Pure thread, you tried to help me find the buff time remaining using a logging check, but I couldn't get that to work-- I just kept getting error messages. I'm guessing the guid check is also a log check, so I might need help writing a custom check into my routines.