Nightskine
Member
- Joined
- Oct 30, 2010
- Messages
- 150
- Reaction score
- 1
I've been having serious troubles writting a druid CC with detection of Buffs and Debuffs.
Something as simple as
if (!Me.CurrentTarget.HasAura("Mangle")
{CastSpell("Mangle");}
doesn't seem to work. I have CastSpell set to cast the spell if available and off CD.
Another problem is I cant seem to get the timeleft on debuffs or buffs.
I beleive I used something like
if(Me.CurrentTarget.Auras["Mangle"].TimeLeft.Seconds <=2)
{CastSpell("Mangle");}
That does nothing either. I thought if the code wasnt right HB wouldnt accept it as a CC.
Anyone know why these arent working or the right code for this?
Something as simple as
if (!Me.CurrentTarget.HasAura("Mangle")
{CastSpell("Mangle");}
doesn't seem to work. I have CastSpell set to cast the spell if available and off CD.
Another problem is I cant seem to get the timeleft on debuffs or buffs.
I beleive I used something like
if(Me.CurrentTarget.Auras["Mangle"].TimeLeft.Seconds <=2)
{CastSpell("Mangle");}
That does nothing either. I thought if the code wasnt right HB wouldnt accept it as a CC.
Anyone know why these arent working or the right code for this?