Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -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
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue