public virtual bool CheckFlee()
{
if (m_Mobile.CheckFlee())
{
Mobile combatant = m_Mobile.Combatant;
if (combatant == null)
{
WalkRandom(1, 2, 1);
}
else
{
Direction d = combatant.GetDirectionTo(m_Mobile);
d = (Direction)((int)d + Utility.RandomMinMax(-1, +1));
m_Mobile.Direction = d;
m_Mobile.Move(d);
}
return true;
}
return false;
}