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

@ -34,14 +34,14 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public string EngravedText
{
get{ return m_EngravedText; }
get => m_EngravedText;
set{ m_EngravedText = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public BookQuality Quality
{
get{ return m_Quality; }
get => m_Quality;
set{ m_Quality = value; InvalidateProperties(); }
}
@ -302,20 +302,20 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public AosAttributes Attributes
{
get{ return m_AosAttributes; }
get => m_AosAttributes;
set{}
}
[CommandProperty( AccessLevel.GameMaster )]
public AosSkillBonuses SkillBonuses
{
get{ return m_AosSkillBonuses; }
get => m_AosSkillBonuses;
set{}
}
public virtual SpellbookType SpellbookType{ get{ return SpellbookType.Regular; } }
public virtual int BookOffset{ get{ return 0; } }
public virtual int BookCount{ get{ return 64; } }
public virtual SpellbookType SpellbookType => SpellbookType.Regular;
public virtual int BookOffset => 0;
public virtual int BookCount => 64;
private ulong m_Content;
private int m_Count;
@ -386,10 +386,7 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public ulong Content
{
get
{
return m_Content;
}
get => m_Content;
set
{
if ( m_Content != value )
@ -410,13 +407,7 @@ namespace Server.Items
}
[CommandProperty( AccessLevel.GameMaster )]
public int SpellCount
{
get
{
return m_Count;
}
}
public int SpellCount => m_Count;
[Constructible]
public Spellbook() : this( (ulong)0 )
@ -560,7 +551,7 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public Mobile Crafter
{
get{ return m_Crafter; }
get => m_Crafter;
set{ m_Crafter = value; InvalidateProperties(); }
}
@ -700,14 +691,14 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public SlayerName Slayer
{
get { return m_Slayer; }
get => m_Slayer;
set { m_Slayer = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public SlayerName Slayer2
{
get { return m_Slayer2; }
get => m_Slayer2;
set { m_Slayer2 = value; InvalidateProperties(); }
}