Server.Mobiles.ThiefGuildmaster.CheckCustomReqs C# (CSharp) Méthode

CheckCustomReqs() public méthode

public CheckCustomReqs ( PlayerMobile pm ) : bool
pm PlayerMobile
Résultat bool
		public override bool CheckCustomReqs( PlayerMobile pm )
		{
			if ( pm.Young )
			{
				SayTo( pm, 502089 ); // You cannot be a member of the Thieves' Guild while you are Young.
				return false;
			}
			else if ( pm.Kills > 0 )
			{
				SayTo( pm, 501050 ); // This guild is for cunning thieves, not oafish cutthroats.
				return false;
			}
			else if ( pm.Skills[SkillName.Stealing].Base < 60.0 )
			{
				SayTo( pm, 501051 ); // You must be at least a journeyman pickpocket to join this elite organization.
				return false;
			}

			return true;
		}