What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Read stacking debuffs on target

Tashin

Member
Joined
Jan 15, 2010
Messages
36
Reaction score
2
Im fooling around with a warrior CC and im trying to make him sunder when bt and ww are off cooldown until it reaches 5 stacks at which point it will refresh every 30 seconds.

Code:
                    else if (targetDistance < 10 && !Me.CurrentTarget.Debuffs.ContainsKey("Sunder Armor") && 
                        IsSpellOnCooldown("Whirlwind") && IsSpellOnCooldown("Bloodthirst") &&
                        IsSpellReady ("Sunder Armor"))
                        
                    {
                        SpellManager.CastSpell("Sunder Armor");
                        return;
                    }

Any help would be greatly appreciated.
 
public uint StackCount { get; }
Member of Styx.Logic.Combat.WoWAura

Though I'm not sure the best way to implement it in your example.
 
Do you know of any examples already in existing cc that i could take a look at by chance?
 
Back
Top