{
setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
return;
}
FlagItemAttachment attachment = actor.getActiveWeaponFlagAttachment();
if ((attachment != null) && !attachment.canAttack(actor))
{
setIntention(AI_INTENTION_ACTIVE);
actor.sendActionFailed();
return;
}