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

@ -221,13 +221,9 @@ namespace Server.Items
if (Core.AOS)
return;
#region Dueling
if (!DuelContext.AllowSpecialAbility(m, "Disarm", true))
return;
#endregion
double armsValue = m.Skills.ArmsLore.Value;
double wresValue = m.Skills.Wrestling.Value;
@ -254,13 +250,9 @@ namespace Server.Items
if (Core.AOS)
return;
#region Dueling
if (!DuelContext.AllowSpecialAbility(m, "Stun", true))
return;
#endregion
double anatValue = m.Skills.Anatomy.Value;
double wresValue = m.Skills.Wrestling.Value;
@ -289,7 +281,7 @@ namespace Server.Items
private class MoveDelayTimer : Timer
{
private Mobile m_Mobile;
private readonly Mobile m_Mobile;
public MoveDelayTimer(Mobile m) : base(TimeSpan.FromSeconds(10.0))
{