Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -28,7 +28,7 @@ namespace Server.Spells.Necromancy
private static Hashtable m_Table = new Hashtable();
public static Hashtable Table{ get{ return m_Table; } }
public static Hashtable Table => m_Table;
public override bool CheckCast()
{
@ -63,7 +63,7 @@ namespace Server.Spells.Necromancy
new SummonFamiliarEntry( typeof( VampireBatFamiliar ), 1060144, 100.0, 100.0 ) // Vampire Bat
};
public static SummonFamiliarEntry[] Entries{ get{ return m_Entries; } }
public static SummonFamiliarEntry[] Entries => m_Entries;
}
public class SummonFamiliarEntry
@ -73,10 +73,10 @@ namespace Server.Spells.Necromancy
private double m_ReqNecromancy;
private double m_ReqSpiritSpeak;
public Type Type{ get{ return m_Type; } }
public object Name{ get{ return m_Name; } }
public double ReqNecromancy{ get{ return m_ReqNecromancy; } }
public double ReqSpiritSpeak{ get{ return m_ReqSpiritSpeak; } }
public Type Type => m_Type;
public object Name => m_Name;
public double ReqNecromancy => m_ReqNecromancy;
public double ReqSpiritSpeak => m_ReqSpiritSpeak;
public SummonFamiliarEntry( Type type, object name, double reqNecromancy, double reqSpiritSpeak )
{

View file

@ -3,13 +3,13 @@ namespace Server.Spells.Necromancy
public abstract class TransformationSpell : NecromancerSpell, ITransformationSpell
{
public abstract int Body{ get; }
public virtual int Hue{ get{ return 0; } }
public virtual int Hue => 0;
public virtual int PhysResistOffset{ get{ return 0; } }
public virtual int FireResistOffset{ get{ return 0; } }
public virtual int ColdResistOffset{ get{ return 0; } }
public virtual int PoisResistOffset{ get{ return 0; } }
public virtual int NrgyResistOffset{ get{ return 0; } }
public virtual int PhysResistOffset => 0;
public virtual int FireResistOffset => 0;
public virtual int ColdResistOffset => 0;
public virtual int PoisResistOffset => 0;
public virtual int NrgyResistOffset => 0;
public TransformationSpell( Mobile caster, Item scroll, SpellInfo info ) : base( caster, scroll, info )
{
@ -32,7 +32,7 @@ namespace Server.Spells.Necromancy
FinishSequence();
}
public virtual double TickRate{ get{ return 1.0; } }
public virtual double TickRate => 1.0;
public virtual void OnTick( Mobile m )
{