Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -2,7 +2,7 @@ namespace Server.Spells
|
|||
{
|
||||
public interface IRecallSpell
|
||||
{
|
||||
Mobile Caster{ get; }
|
||||
Mobile Caster { get; }
|
||||
void Effect(Point3D loc, Map map, bool checkMulti);
|
||||
void FinishSequence();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@ namespace Server.Spells
|
|||
{
|
||||
public interface ISpellTarget
|
||||
{
|
||||
ISpell Spell{ get; }
|
||||
ISpell Spell { get; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ namespace Server.Spells
|
|||
{
|
||||
public class RecallSpellTarget : Target
|
||||
{
|
||||
private IRecallSpell m_Spell;
|
||||
private bool m_ToBoat;
|
||||
private readonly IRecallSpell m_Spell;
|
||||
private readonly bool m_ToBoat;
|
||||
|
||||
public RecallSpellTarget(IRecallSpell spell, bool toBoat = true) : base(Core.ML ? 10 : 12, false, TargetFlags.None)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Spells
|
|||
|
||||
public class SpellTargetItem : Target, ISpellTarget
|
||||
{
|
||||
private ISpellTargetingItem m_Spell;
|
||||
private readonly ISpellTargetingItem m_Spell;
|
||||
public ISpell Spell => m_Spell;
|
||||
|
||||
public SpellTargetItem(ISpellTargetingItem spell, TargetFlags flags, int range = 12) : base(range, false, flags) => m_Spell = spell;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Spells
|
|||
|
||||
public class SpellTargetMobile : Target, ISpellTarget
|
||||
{
|
||||
private ISpellTargetingMobile m_Spell;
|
||||
private readonly ISpellTargetingMobile m_Spell;
|
||||
public ISpell Spell => m_Spell;
|
||||
|
||||
public SpellTargetMobile(ISpellTargetingMobile spell, TargetFlags flags, int range = 12) : base(range, false, flags) => m_Spell = spell;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Spells
|
|||
private ISpellTargetingPoint3D m_Spell;
|
||||
public ISpell Spell => m_Spell;
|
||||
|
||||
private bool m_CheckLOS;
|
||||
private readonly bool m_CheckLOS;
|
||||
|
||||
public SpellTargetPoint3D(ISpellTargetingPoint3D spell, TargetFlags flags = TargetFlags.None, int range = 12, bool checkLOS = true) : base(range, true, flags)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue