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

@ -16,7 +16,7 @@ namespace Server.Items
{
}
//TODO: Pre-AoS stuff
// TODO: Pre-AoS stuff
public override int LabelNumber => 1017413; // Glacial Staff
public override void Serialize(IGenericWriter writer)

View file

@ -58,7 +58,7 @@ namespace Server.Items
private class HerdingTarget : Target
{
private static Type[] m_ChampTamables =
private static readonly Type[] m_ChampTamables =
{
typeof(StrongMongbat), typeof(Imp), typeof(Scorpion), typeof(GiantSpider),
typeof(Snake), typeof(LavaLizard), typeof(Drake), typeof(Dragon),
@ -128,7 +128,7 @@ namespace Server.Items
private class InternalTarget : Target
{
private BaseCreature m_Creature;
private readonly BaseCreature m_Creature;
public InternalTarget(BaseCreature c) : base(10, true, TargetFlags.None) => m_Creature = c;