Removes implicit this.

This commit is contained in:
Kamron Batman 2018-09-14 12:56:58 -07:00
parent 04b4cfe75b
commit 83dcf536d8
533 changed files with 2804 additions and 2806 deletions

View file

@ -101,7 +101,7 @@ namespace Server.Engines.Quests.Haven
if ( ItemID == 0x2006 ) // Corpse form
{
list.Add( "a human corpse" );
list.Add( 1049144, this.Name ); // the remains of ~1_NAME~ the apprentice
list.Add( 1049144, Name ); // the remains of ~1_NAME~ the apprentice
}
else
{
@ -111,7 +111,7 @@ namespace Server.Engines.Quests.Haven
public override void OnSingleClick( Mobile from )
{
int hue = Notoriety.GetHue( Server.Misc.NotorietyHandlers.CorpseNotoriety( from, this ) );
int hue = Notoriety.GetHue( Misc.NotorietyHandlers.CorpseNotoriety( from, this ) );
if ( ItemID == 0x2006 ) // Corpse form
from.Send( new MessageLocalized( Serial, ItemID, MessageType.Label, hue, 3, 1049144, "", Name ) ); // the remains of ~1_NAME~ the apprentice
@ -121,7 +121,7 @@ namespace Server.Engines.Quests.Haven
public override void Open( Mobile from, bool checkSelfLoot )
{
if ( !from.InRange( this.GetWorldLocation(), 2 ) )
if ( !from.InRange( GetWorldLocation(), 2 ) )
return;
if ( from is PlayerMobile player )
@ -158,13 +158,13 @@ namespace Server.Engines.Quests.Haven
public override void OnLocationChange( Point3D oldLoc )
{
if ( m_Lantern != null && !m_Lantern.Deleted )
m_Lantern.Location = new Point3D( this.X, this.Y + 1, this.Z );
m_Lantern.Location = new Point3D( X, Y + 1, Z );
}
public override void OnMapChange()
{
if ( m_Lantern != null && !m_Lantern.Deleted )
m_Lantern.Map = this.Map;
m_Lantern.Map = Map;
}
public override void OnAfterDelete()