Server.Items.BaseRefreshPotion.Drink C# (CSharp) Méthode

Drink() public méthode

public Drink ( Server.Mobile from ) : void
from Server.Mobile
Résultat void
		public override void Drink( Mobile from )
		{
			if ( from.Stam < from.StamMax )
			{
				from.Stam += (int)(Refresh * from.StamMax);

				BasePotion.PlayDrinkEffect( from );

				Consume();
			}
			else
			{
				from.SendMessage( "You decide against drinking this potion, as you are already at full stamina." );
			}
		}
	}