Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -99,7 +99,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
if ( Hidden )
|
||||
{
|
||||
Effects.PlaySound( this.Location, this.Map, 0x2C8 );
|
||||
Effects.PlaySound( Location, Map, 0x2C8 );
|
||||
Combatant = null;
|
||||
}
|
||||
else
|
||||
|
|
@ -117,7 +117,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
if ( !m_HasTeleportedAway && Hits < (HitsMax / 2) )
|
||||
{
|
||||
Map map = this.Map;
|
||||
Map map = Map;
|
||||
|
||||
if ( map != null )
|
||||
{
|
||||
|
|
@ -131,16 +131,16 @@ namespace Server.Mobiles
|
|||
if ( !map.CanFit( x, y, z, 16, false, false ) )
|
||||
continue;
|
||||
|
||||
Point3D from = this.Location;
|
||||
Point3D from = Location;
|
||||
Point3D to = new Point3D( x, y, z );
|
||||
|
||||
if ( !InLOS( to ) )
|
||||
continue;
|
||||
|
||||
this.Location = to;
|
||||
this.ProcessDelta();
|
||||
this.Hidden = true;
|
||||
this.Combatant = null;
|
||||
Location = to;
|
||||
ProcessDelta();
|
||||
Hidden = true;
|
||||
Combatant = null;
|
||||
|
||||
Effects.SendLocationParticles( EffectItem.Create( from, map, EffectItem.DefaultDuration ), 0x3728, 10, 10, 2023 );
|
||||
Effects.SendLocationParticles( EffectItem.Create( to, map, EffectItem.DefaultDuration ), 0x3728, 10, 10, 5023 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue