• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Distinguish between same-name debuffs?

    Discussion in 'Buddy Wing Forum' started by alltrueist, May 20, 2013.

    1. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      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?
       
    2. aquintus

      aquintus Member

      Joined:
      Oct 3, 2010
      Messages:
      264
      Likes Received:
      7
      Trophy Points:
      18
    3. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      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.
       
    4. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      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.
       
    5. aquintus

      aquintus Member

      Joined:
      Oct 3, 2010
      Messages:
      264
      Likes Received:
      7
      Trophy Points:
      18
      several classes got that problem it seems. scoundrel and operative for sure.
       

    Share This Page