Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -48,7 +48,7 @@ namespace Server.Items
|
|||
v.Direction = from.Direction & Direction.Mask;
|
||||
v.MoveToWorld( from.Location, from.Map );
|
||||
|
||||
this.Delete();
|
||||
Delete();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -82,7 +82,7 @@ namespace Server.Items
|
|||
v.Direction = from.Direction & Direction.Mask;
|
||||
v.MoveToWorld( from.Location, from.Map );
|
||||
|
||||
this.Delete();
|
||||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,14 +70,14 @@ namespace Server.Items
|
|||
}
|
||||
else
|
||||
{
|
||||
pet.BardingExceptional = this.Exceptional;
|
||||
pet.BardingCrafter = this.Crafter;
|
||||
pet.BardingExceptional = Exceptional;
|
||||
pet.BardingCrafter = Crafter;
|
||||
pet.BardingHP = pet.BardingMaxHP;
|
||||
pet.BardingResource = this.Resource;
|
||||
pet.BardingResource = Resource;
|
||||
pet.HasBarding = true;
|
||||
pet.Hue = this.Hue;
|
||||
pet.Hue = Hue;
|
||||
|
||||
this.Delete();
|
||||
Delete();
|
||||
|
||||
from.SendLocalizedMessage( 1053027 ); // You place the barding on your swamp dragon. Use a bladed item on your dragon to remove the armor.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace Server.Items
|
|||
if ( from.AccessLevel >= AccessLevel.GameMaster )
|
||||
return true;
|
||||
|
||||
if ( !from.InRange( this.GetWorldLocation(), 1 ) )
|
||||
if ( !from.InRange( GetWorldLocation(), 1 ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||
return false;
|
||||
|
|
@ -101,7 +101,7 @@ namespace Server.Items
|
|||
|
||||
public void EndPlace( Mobile from, HolidayTreeType type, Point3D loc )
|
||||
{
|
||||
this.Delete();
|
||||
Delete();
|
||||
HolidayTree tree = new HolidayTree( from, type, loc );
|
||||
BaseHouse.FindHouseAt( tree )?.Addons.Add( tree );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ namespace Server.Items
|
|||
|
||||
public override void OnDoubleClick( Mobile from )
|
||||
{
|
||||
if ( this.RootParent == from )
|
||||
if ( RootParent == from )
|
||||
{
|
||||
from.CloseGump( typeof( NameChangeDeedGump ) );
|
||||
from.SendGump( new NameChangeDeedGump( this ) );
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ namespace Server.Items
|
|||
|
||||
public bool IsUsableBy( Mobile from, bool byLandlord, bool byBackpack, bool noOfferee, bool sendMessage )
|
||||
{
|
||||
if ( this.Deleted || !from.CheckAlive( sendMessage ) )
|
||||
if ( Deleted || !from.CheckAlive( sendMessage ) )
|
||||
return false;
|
||||
|
||||
if ( noOfferee && Offeree != null )
|
||||
|
|
@ -119,7 +119,7 @@ namespace Server.Items
|
|||
|
||||
if ( byLandlord && IsLandlord( from ) )
|
||||
{
|
||||
if ( from.Map != this.Map || !from.InRange( this, 5 ) )
|
||||
if ( from.Map != Map || !from.InRange( this, 5 ) )
|
||||
{
|
||||
if ( sendMessage )
|
||||
from.SendLocalizedMessage( 501853 ); // Target is too far away.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue