Venus112
New Member
- Joined
- Jun 17, 2010
- Messages
- 1,509
- Reaction score
- 13
Hey folks.
So currently, i'm trying to rewrite the Stance Dance function in "Titan Arms" (probably the most annoying thing i'll ever get to do in my entire wow life)
I'm having some problems with the CC only changing stances for a limited amount of time, all of the sudden it will stop changing stances and just stay in berserker stance
That's the code that i am using, i was thinking it would've been the ActiveAuras.ContainsKey for "Taste for Blood" that was messing it up - but then i realized that it was the same code used for triggering Overpower.
The problem seems to be because "Taste for Blood" isn't always recognised as a buff.
I can get somewhere between 1-7 Overpowers out (stance dancing just fine) and then it'll camp it's ass in Berserker Stance and just stay there all cozy
Got any ideas on how to fix this?
I will be eternally greatfull
So currently, i'm trying to rewrite the Stance Dance function in "Titan Arms" (probably the most annoying thing i'll ever get to do in my entire wow life)
I'm having some problems with the CC only changing stances for a limited amount of time, all of the sudden it will stop changing stances and just stay in berserker stance
Code:
{
if (!IsMyAuraActive(Me.CurrentTarget, "Rend") || Me.ActiveAuras.ContainsKey("Taste for Blood"))
{
if (Me.CurrentTarget.HealthPercent > 20)
{
if (TitanSettings.Instance.StanceDance && !Me.HasAura("Battle Stance"))
{
Lua.DoString("RunMacroText('/cast [stance:3/3, nomodifier]Battle Stance');");
Logging.Write(Color.Aqua, ">> Battle Stance <<");
}
}
}
}
{
if (IsMyAuraActive(Me.CurrentTarget, "Rend") && !Me.ActiveAuras.ContainsKey("Taste for Blood") || Me.CurrentTarget.HealthPercent < 20)
{
if (TitanSettings.Instance.StanceDance && !Me.HasAura("Berserker Stance"))
{
Lua.DoString("RunMacroText('/cast [stance:1/3, nomodifier]Berserker Stance');");
Logging.Write(Color.Aqua, ">> Berserker Stance <<");
}
}
}
That's the code that i am using, i was thinking it would've been the ActiveAuras.ContainsKey for "Taste for Blood" that was messing it up - but then i realized that it was the same code used for triggering Overpower.
The problem seems to be because "Taste for Blood" isn't always recognised as a buff.
I can get somewhere between 1-7 Overpowers out (stance dancing just fine) and then it'll camp it's ass in Berserker Stance and just stay there all cozy
Got any ideas on how to fix this?
I will be eternally greatfull