Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -77,7 +77,7 @@ namespace Server.Mobiles
|
|||
|
||||
private void DoCounter( Mobile attacker )
|
||||
{
|
||||
if ( this.Map == null )
|
||||
if ( Map == null )
|
||||
return;
|
||||
|
||||
if ( attacker is BaseCreature creature && creature.BardProvoked )
|
||||
|
|
@ -105,7 +105,7 @@ namespace Server.Mobiles
|
|||
if ( target == null || !target.InRange( this, 18 ) )
|
||||
target = attacker;
|
||||
|
||||
this.Animate( 10, 4, 1, true, false, 0 );
|
||||
Animate( 10, 4, 1, true, false, 0 );
|
||||
|
||||
ArrayList targets = new ArrayList();
|
||||
|
||||
|
|
@ -114,7 +114,7 @@ namespace Server.Mobiles
|
|||
if ( m == this || !CanBeHarmful( m ) )
|
||||
continue;
|
||||
|
||||
if ( m is BaseCreature bc && (bc.Controlled || bc.Summoned || bc.Team != this.Team))
|
||||
if ( m is BaseCreature bc && (bc.Controlled || bc.Summoned || bc.Team != Team))
|
||||
targets.Add( m );
|
||||
else if ( m.Player && m.Alive )
|
||||
targets.Add( m );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue