Simple code, just for testing if the class is working at all:
In fact the cc uses Arcane Blast up to four times before it uses Arcane Barrage (it should fire it if the stack reaches 3) and the logging is very inconsistent.
Shouldn't it log _every_ spellcast (e.g. Arcane Blast, Arcane Blast, Arcane Blast, Arcane Barrage) and why isn't it using Arcane Barrage after 3 casts instead 4?
Tia,
highend
Code:
#region Combat
public override void Combat()
{
if (Me.CurrentTarget != null && Me.CurrentTarget.IsAlive == true && Me.Mounted == false)
{
if ((!Me.Auras.ContainsKey("Arcane Blast") || Me.ActiveAuras["Arcane Blast"].StackCount <= 2) && Me.IsMoving == false)
{
if (CastSpell("Arcane Blast") == true)
{
Logging.Write(Color.Aqua, ">> Arcane Blast <<");
}
}
else if ((Me.Auras.ContainsKey("Arcane Blast") && Me.ActiveAuras["Arcane Blast"].StackCount > 2) && Me.IsMoving == false)
{
if (CastSpell("Arcane Barrage") == true)
{
Logging.Write(Color.Aqua, ">> Arcane Barrage <<");
}
}
}
}
#endregion
In fact the cc uses Arcane Blast up to four times before it uses Arcane Barrage (it should fire it if the stack reaches 3) and the logging is very inconsistent.
Shouldn't it log _every_ spellcast (e.g. Arcane Blast, Arcane Blast, Arcane Blast, Arcane Barrage) and why isn't it using Arcane Barrage after 3 casts instead 4?
Tia,
highend