Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -5,7 +5,7 @@ using Server.Targeting;
|
|||
|
||||
namespace Server.SkillHandlers
|
||||
{
|
||||
public class Provocation
|
||||
public static class Provocation
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
|
|
@ -30,7 +30,7 @@ namespace Server.SkillHandlers
|
|||
|
||||
private class InternalFirstTarget : Target
|
||||
{
|
||||
private BaseInstrument m_Instrument;
|
||||
private readonly BaseInstrument m_Instrument;
|
||||
|
||||
public InternalFirstTarget(Mobile from, BaseInstrument instrument) : base(
|
||||
BaseInstrument.GetBardRange(from, SkillName.Provocation), false, TargetFlags.None) =>
|
||||
|
|
@ -73,8 +73,8 @@ namespace Server.SkillHandlers
|
|||
|
||||
private class InternalSecondTarget : Target
|
||||
{
|
||||
private BaseCreature m_Creature;
|
||||
private BaseInstrument m_Instrument;
|
||||
private readonly BaseCreature m_Creature;
|
||||
private readonly BaseInstrument m_Instrument;
|
||||
|
||||
public InternalSecondTarget(Mobile from, BaseInstrument instrument, BaseCreature creature) : base(
|
||||
BaseInstrument.GetBardRange(from, SkillName.Provocation), false, TargetFlags.None)
|
||||
|
|
@ -130,8 +130,8 @@ namespace Server.SkillHandlers
|
|||
}
|
||||
else
|
||||
{
|
||||
//from.DoHarmful( m_Creature );
|
||||
//from.DoHarmful( creature );
|
||||
// from.DoHarmful( m_Creature );
|
||||
// from.DoHarmful( creature );
|
||||
|
||||
if (!from.CheckTargetSkill(SkillName.Provocation, creature, diff - 25.0, diff + 25.0))
|
||||
{
|
||||
|
|
@ -162,4 +162,4 @@ namespace Server.SkillHandlers
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue