Server.Items.BaseCurePotion.Drink C# (CSharp) Метод

Drink() публичный Метод

public Drink ( Server.Mobile from ) : void
from Server.Mobile
Результат void
		public override void Drink( Mobile from )
		{
			if ( from.Poisoned )
			{
				DoCure( from );

				BasePotion.PlayDrinkEffect( from );

				from.FixedParticles( 0x373A, 10, 15, 5012, EffectLayer.Waist );
				from.PlaySound( 0x1E0 );
				Consume();
			}
			else
			{
				from.SendLocalizedMessage( 1042000 ); // You are not poisoned.
			}
		}
	}