if (hated != null)
{
guard.getAggroList().addDamageHate(hated, 0, Rnd.get(1, 100));
ai.setAttackTimeout(getMaxAttackTimeout() + System.currentTimeMillis());
ai.setAttackTarget(hated);
ai.changeIntention(CtrlIntention.AI_INTENTION_ATTACK, hated, null);
ai.addTaskAttack(hated);
}
}
catch (Exception e)
{