Server.SkillHandlers.Poisoning.OnUse C# (CSharp) Méthode

OnUse() public static méthode

public static OnUse ( Mobile m ) : System.TimeSpan
m Mobile
Résultat System.TimeSpan
		public static TimeSpan OnUse( Mobile m )
		{
			m.Target = new InternalTargetPoison();

			m.SendLocalizedMessage( 502137 ); // Select the poison you wish to use

			return TimeSpan.FromSeconds( 10.0 ); // 10 second delay before beign able to re-use a skill
		}