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

@ -6,7 +6,7 @@ using Server.Targeting;
namespace Server.SkillHandlers
{
public class Peacemaking
public static class Peacemaking
{
public static void Initialize()
{
@ -32,7 +32,7 @@ namespace Server.SkillHandlers
private class InternalTarget : Target
{
private BaseInstrument m_Instrument;
private readonly BaseInstrument m_Instrument;
private bool m_SetSkillTime = true;
public InternalTarget(Mobile from, BaseInstrument instrument) : base(
@ -176,7 +176,7 @@ namespace Server.SkillHandlers
from.NextSkillTime = Core.TickCount + 5000;
targ.Combatant = null;
targ.Warmode = false;
if (bc != null)
{
from.SendLocalizedMessage(1049532); // You play hypnotic music, calming your target.
@ -204,4 +204,4 @@ namespace Server.SkillHandlers
}
}
}
}
}