Server.Mobiles.ThiefAI.DoActionFlee C# (CSharp) Méthode

DoActionFlee() public méthode

public DoActionFlee ( ) : bool
Résultat bool
		public override bool DoActionFlee()
		{
			if ( m_Mobile.Hits > m_Mobile.HitsMax/2 )
			{
				m_Mobile.DebugSay( "I am stronger now, so I will continue fighting" );
				Action = ActionType.Combat;
			}
			else
			{
				m_Mobile.FocusMob = m_Mobile.Combatant;
				base.DoActionFlee();
			}

			return true;
		}
	}