public static void ThrowWeapon(Mobile from, Item thrown) { if (from.Items.Contains(thrown)) { ThrowingTarget t = new ThrowingTarget(thrown); from.Target = t; } else { from.SendMessage("You must be holding that weapon to use it."); } }
public static void ThrowWeapon( Mobile from, Item thrown ) { if ( from.Items.Contains( thrown ) ) { ThrowingTarget t = new ThrowingTarget( thrown ); from.Target = t; } else { from.SendMessage( "You must be holding that weapon to use it." ); } }