public static void CastSpell( NetState state, PacketReader pvSrc )
{
Mobile from = state.Mobile;
if ( from == null )
return;
Item spellbook = null;
if ( pvSrc.ReadInt16() == 1 )
spellbook = World.FindItem( pvSrc.ReadInt32() );
int spellID = pvSrc.ReadInt16() - 1;
EventSink.InvokeCastSpellRequest( new CastSpellRequestEventArgs( from, spellID, spellbook ) );
}