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,9 +5,9 @@ namespace Server.Spells.Spellweaving
{
public class EssenceOfWindSpell : ArcanistSpell
{
private static SpellInfo m_Info = new SpellInfo("Essence of Wind", "Anathrae", -1);
private static readonly SpellInfo m_Info = new SpellInfo("Essence of Wind", "Anathrae", -1);
private static Dictionary<Mobile, EssenceOfWindInfo> m_Table = new Dictionary<Mobile, EssenceOfWindInfo>();
private static readonly Dictionary<Mobile, EssenceOfWindInfo> m_Table = new Dictionary<Mobile, EssenceOfWindInfo>();
public EssenceOfWindSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
{
@ -85,18 +85,18 @@ namespace Server.Spells.Spellweaving
Timer.Start();
}
public Mobile Defender{ get; }
public Mobile Defender { get; }
public int FCMalus{ get; }
public int FCMalus { get; }
public int SSIMalus{ get; }
public int SSIMalus { get; }
public ExpireTimer Timer{ get; }
public ExpireTimer Timer { get; }
}
private class ExpireTimer : Timer
{
private Mobile m_Mobile;
private readonly Mobile m_Mobile;
public ExpireTimer(Mobile m, TimeSpan delay) : base(delay) => m_Mobile = m;