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

@ -23,8 +23,8 @@ namespace Server.Engines.Quests.Ninja
private void GenerateTreasure()
{
for ( int i = this.Items.Count - 1; i >= 0; i-- )
this.Items[i].Delete();
for ( int i = Items.Count - 1; i >= 0; i-- )
Items[i].Delete();
for ( int i = 0; i < 75; i++ )
{

View file

@ -17,7 +17,7 @@ namespace Server.Engines.Quests.Ninja
return true;
// If the mobile is to the north of the barrier, allow him to pass
if ( this.Y >= m.Y )
if ( Y >= m.Y )
return true;
if ( m is BaseCreature creature )
@ -25,7 +25,7 @@ namespace Server.Engines.Quests.Ninja
Mobile master = creature.GetMaster();
// Allow creatures to cross from the south to the north only if their master is near to the north
return master != null && this.Y >= master.Y && master.InRange(this, 4);
return master != null && Y >= master.Y && master.InRange(this, 4);
}
if ( m is PlayerMobile pm )