So I am trying to write assist code for my warrior. I have most of it working great. However, I want him to interrupt casters when they start to cast. This is what I am using:
However, ${Me.TargetCasting.Equal[None]} always returns TRUE even when the target is obviously casting!
So is it broken or, more likely, is my syntax screwy??
Code:
if ${Me.InCombat}
{
if !${Me.TargetCasting.Equal[None]}
{
echo ${Me.TargetCasting}
if ${Me.Endurance}>20 && ${Me.Ability[${Kick}].IsReady}
{
Me.Ability[${Kick}]:Use
call MeCasting
call CheckForChain
}
if (${Me.Endurance}<20 || !${Me.Ability[Kick I].IsReady}) && ${Me.Ability[${Stun}].IsReady}
{
Me.Ability[${Stun}]:Use
call MeCasting
call CheckForChain
}
}
}
So is it broken or, more likely, is my syntax screwy??