Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Samurai
{
public class HaochisTrialsQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable =
private static readonly Type[] m_TypeReferenceTable =
{
typeof(AcceptConversation),
typeof(RadarConversation),

View file

@ -117,7 +117,7 @@ namespace Server.Engines.Quests.Samurai
HaochisKatana katana = player.Backpack?.FindItemByType<HaochisKatana>();
if (katana == null)
return;
katana.Delete();
obj.Complete();

View file

@ -10,7 +10,6 @@ namespace Server.Engines.Quests.Samurai
{
}
public Relnia(Serial serial) : base(serial)
{
}

View file

@ -138,7 +138,7 @@ namespace Server.Engines.Quests.Samurai
public override object Message => 1063229;
public bool Dragon{ get; private set; }
public bool Dragon { get; private set; }
public override void OnComplete()
{
@ -230,7 +230,7 @@ namespace Server.Engines.Quests.Samurai
public override object Message => 1063242;
public bool KilledCat{ get; private set; }
public bool KilledCat { get; private set; }
public override void OnComplete()
{
@ -256,7 +256,7 @@ namespace Server.Engines.Quests.Samurai
{
public override object Message => 1063072;
public bool StolenTreasure{ get; set; }
public bool StolenTreasure { get; set; }
public override void OnComplete()
{