• Visit Rebornbuddy
  • StackCount not working?

    Discussion in 'Archives' started by Nightskine, Jul 1, 2011.

    1. Nightskine

      Nightskine Member

      Joined:
      Oct 30, 2010
      Messages:
      150
      Likes Received:
      1
      Trophy Points:
      18
      Hey guys I can't seem to get a stack count for buffs/debuffs to work.
      For instance for prot warriors, I want to devastate for the Sunder Armor debuff.
      I tried
      Code:
              if (Me.CurrentTarget.Auras["Sunder Armor"].StackCount<=2)
              {
                  CastSpell("Devastate");
              }
      and even


      Code:
              if (Me.CurrentTarget.ActiveAuras["Sunder Armor"].StackCount<=2)
              {
                  CastSpell("Devastate");
              }
      Anyone know why?
       
    2. Thacai

      Thacai Member

      Joined:
      Jan 15, 2010
      Messages:
      71
      Likes Received:
      0
      Trophy Points:
      6
      Think activeauras were only containing short duration auras, so think you should try Me.CurrentTarget.Debuffs instead
       

    Share This Page