Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -56,7 +56,7 @@ namespace Server.Engines.Quests.Zento
get
{
/* Great job! One less terrible hatchling in the Waste!<BR><BR>
*
*
* Once you've killed 10 of the Deathwatch Beetle Hatchlings,
* return to Ansella for your reward!
*/
@ -132,7 +132,7 @@ namespace Server.Engines.Quests.Zento
}
}
public override int MaxProgress{ get{ return 10; } }
public override int MaxProgress => 10;
public ThirdKillObjective( int startingProgress )
{
@ -175,4 +175,4 @@ namespace Server.Engines.Quests.Zento
System.AddConversation( new EndConversation() );
}
}
}
}

View file

@ -19,7 +19,7 @@ namespace Server.Engines.Quests.Zento
typeof( ReturnObjective )
};
public override Type[] TypeReferenceTable{ get{ return m_TypeReferenceTable; } }
public override Type[] TypeReferenceTable => m_TypeReferenceTable;
public override object Name
{
@ -46,10 +46,10 @@ namespace Server.Engines.Quests.Zento
}
}
public override TimeSpan RestartDelay{ get{ return TimeSpan.MaxValue; } }
public override TimeSpan RestartDelay => TimeSpan.MaxValue;
public override bool IsTutorial => true;
public override int Picture{ get{ return 0x15CF; } }
public override int Picture => 0x15CF;
public TerribleHatchlingsQuest( PlayerMobile from ) : base( from )
{