Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -109,10 +109,10 @@ namespace Server.Mobiles
|
|||
m_Stunning = true;
|
||||
|
||||
defender.Animate( 21, 6, 1, true, false, 0 );
|
||||
this.PlaySound( 0xEE );
|
||||
PlaySound( 0xEE );
|
||||
defender.LocalOverheadMessage( MessageType.Regular, 0x3B2, false, "You have been stunned by a colossal blow!" );
|
||||
|
||||
if ( this.Weapon is BaseWeapon weapon )
|
||||
if ( Weapon is BaseWeapon weapon )
|
||||
weapon.OnHit( this, defender );
|
||||
|
||||
if ( defender.Alive )
|
||||
|
|
@ -148,10 +148,10 @@ namespace Server.Mobiles
|
|||
|
||||
if ( Utility.RandomBool() )
|
||||
{
|
||||
this.FixedParticles( 0x376A, 9, 32, 0x2539, EffectLayer.LeftHand );
|
||||
this.PlaySound( 0x1DE );
|
||||
FixedParticles( 0x376A, 9, 32, 0x2539, EffectLayer.LeftHand );
|
||||
PlaySound( 0x1DE );
|
||||
|
||||
foreach ( Mobile m in this.GetMobilesInRange( 2 ) )
|
||||
foreach ( Mobile m in GetMobilesInRange( 2 ) )
|
||||
{
|
||||
if ( m != this && IsEnemy( m ) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -80,8 +80,8 @@ namespace Server.Mobiles
|
|||
public void ThrowHatchet( Mobile to )
|
||||
{
|
||||
int damage = 50;
|
||||
this.MovingEffect( to, 0xF43, 10, 0, false, false );
|
||||
this.DoHarmful( to );
|
||||
MovingEffect( to, 0xF43, 10, 0, false, false );
|
||||
DoHarmful( to );
|
||||
AOS.Damage( to, this, damage, 100, 0, 0, 0, 0 );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -110,12 +110,12 @@ namespace Server.Mobiles
|
|||
|
||||
public void BeginSavageDance()
|
||||
{
|
||||
if ( this.Map == null )
|
||||
if ( Map == null )
|
||||
return;
|
||||
|
||||
ArrayList list = new ArrayList();
|
||||
|
||||
foreach ( Mobile m in this.GetMobilesInRange( 8 ) )
|
||||
foreach ( Mobile m in GetMobilesInRange( 8 ) )
|
||||
{
|
||||
if ( m != this && m is SavageShaman )
|
||||
list.Add( m );
|
||||
|
|
@ -149,7 +149,7 @@ namespace Server.Mobiles
|
|||
|
||||
ArrayList list = new ArrayList();
|
||||
|
||||
foreach ( Mobile m in this.GetMobilesInRange( 8 ) )
|
||||
foreach ( Mobile m in GetMobilesInRange( 8 ) )
|
||||
list.Add( m );
|
||||
|
||||
if ( list.Count > 0 )
|
||||
|
|
|
|||
|
|
@ -56,12 +56,12 @@ namespace Server.Mobiles
|
|||
{
|
||||
ArrayList list = new ArrayList();
|
||||
|
||||
foreach ( Mobile m in this.GetMobilesInRange( 2 ) )
|
||||
foreach ( Mobile m in GetMobilesInRange( 2 ) )
|
||||
{
|
||||
if ( m == this || !CanBeHarmful( m ) )
|
||||
continue;
|
||||
|
||||
if ( m is BaseCreature creature && (creature.Controlled || creature.Summoned || creature.Team != this.Team) )
|
||||
if ( m is BaseCreature creature && (creature.Controlled || creature.Summoned || creature.Team != Team) )
|
||||
list.Add( m );
|
||||
else if ( m.Player )
|
||||
list.Add( m );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue