Server.Spells.Ninjitsu.SurpriseAttack.Validate C# (CSharp) Method

Validate() public method

public Validate ( Mobile from ) : bool
from Mobile
return bool
		public override bool Validate( Mobile from )
		{
			if( !from.Hidden || from.AllowedStealthSteps <= 0 )
			{
				from.SendLocalizedMessage( 1063087 ); // You must be in stealth mode to use this ability.
				return false;
			}

			return base.Validate( from );
		}