Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -84,9 +84,9 @@ namespace Server.SkillHandlers
|
|||
BaseBook book = targeted as BaseBook;
|
||||
if ( book == null )
|
||||
from.SendLocalizedMessage( 1046296 ); // That is not a book
|
||||
else if ( Inscribe.IsEmpty( book ) )
|
||||
else if ( IsEmpty( book ) )
|
||||
from.SendLocalizedMessage( 501611 ); // Can't copy an empty book.
|
||||
else if ( Inscribe.GetUser( book ) != null )
|
||||
else if ( GetUser( book ) != null )
|
||||
from.SendLocalizedMessage( 501621 ); // Someone else is inscribing that item.
|
||||
else
|
||||
{
|
||||
|
|
@ -94,7 +94,7 @@ namespace Server.SkillHandlers
|
|||
from.Target = target;
|
||||
from.SendLocalizedMessage( 501612 ); // Select a book to copy this to.
|
||||
target.BeginTimeout( from, TimeSpan.FromMinutes( 1.0 ) );
|
||||
Inscribe.SetUser( book, from );
|
||||
SetUser( book, from );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -123,19 +123,19 @@ namespace Server.SkillHandlers
|
|||
|
||||
if ( bookDst == null )
|
||||
from.SendLocalizedMessage( 1046296 ); // That is not a book
|
||||
else if ( Inscribe.IsEmpty( m_BookSrc ) )
|
||||
else if ( IsEmpty( m_BookSrc ) )
|
||||
from.SendLocalizedMessage( 501611 ); // Can't copy an empty book.
|
||||
else if ( bookDst == m_BookSrc )
|
||||
from.SendLocalizedMessage( 501616 ); // Cannot copy a book onto itself.
|
||||
else if ( !bookDst.Writable )
|
||||
from.SendLocalizedMessage( 501614 ); // Cannot write into that book.
|
||||
else if ( Inscribe.GetUser( bookDst ) != null )
|
||||
else if ( GetUser( bookDst ) != null )
|
||||
from.SendLocalizedMessage( 501621 ); // Someone else is inscribing that item.
|
||||
else
|
||||
{
|
||||
if ( from.CheckTargetSkill( SkillName.Inscribe, bookDst, 0, 50 ) )
|
||||
{
|
||||
Inscribe.Copy( m_BookSrc, bookDst );
|
||||
Copy( m_BookSrc, bookDst );
|
||||
|
||||
from.SendLocalizedMessage( 501618 ); // You make a copy of the book.
|
||||
from.PlaySound( 0x249 );
|
||||
|
|
@ -155,7 +155,7 @@ namespace Server.SkillHandlers
|
|||
|
||||
protected override void OnTargetFinish( Mobile from )
|
||||
{
|
||||
Inscribe.CancelUser( m_BookSrc );
|
||||
CancelUser( m_BookSrc );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue