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

@ -20,7 +20,7 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int Charges
{
get{ return m_Charges; }
get => m_Charges;
set
{
if ( value > this.MaxCharges )
@ -37,7 +37,7 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int Recharges
{
get{ return m_Recharges; }
get => m_Recharges;
set
{
if ( value > this.MaxRecharges )
@ -52,12 +52,12 @@ namespace Server.Items
}
[CommandProperty( AccessLevel.GameMaster )]
public int MaxCharges{ get{ return 20; } }
public int MaxCharges => 20;
[CommandProperty( AccessLevel.GameMaster )]
public int MaxRecharges{ get{ return 255; } }
public int MaxRecharges => 255;
public string TranslocationItemName{ get{ return "crystal ball of pet summoning"; } }
public string TranslocationItemName => "crystal ball of pet summoning";
[CommandProperty( AccessLevel.GameMaster )]
public BaseCreature Pet
@ -80,7 +80,7 @@ namespace Server.Items
}
[CommandProperty( AccessLevel.GameMaster )]
public string PetName{ get{ return m_PetName; } }
public string PetName => m_PetName;
[Constructible]
public BallOfSummoning() : base( 0xE2E )
@ -399,13 +399,7 @@ namespace Server.Items
public override double CastDelayFastScalar => 0;
public override TimeSpan CastDelayBase
{
get
{
return TimeSpan.FromSeconds( 2.0 );
}
}
public override TimeSpan CastDelayBase => TimeSpan.FromSeconds( 2.0 );
public override int GetMana()
{