Server.Items.BaseCurePotion.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.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.
			}
		}
	}