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

@ -2,11 +2,8 @@ namespace Server.Items
{
public class EggBomb : Item
{
public override int LabelNumber
{
get { return 1030249; }
}
public override int LabelNumber => 1030249;
[Constructible]
public EggBomb() : base( 0x2808 )
{

View file

@ -17,7 +17,7 @@ namespace Server.Items
public virtual int WeaponMinRange => 0;
public virtual int WeaponMaxRange => 6;
public virtual int WeaponDamage { get { return Utility.RandomMinMax(4, 6); } }
public virtual int WeaponDamage => Utility.RandomMinMax(4, 6);
public Type AmmoType => typeof(FukiyaDarts);
@ -28,25 +28,26 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int UsesRemaining
{
get { return m_UsesRemaining; }
get => m_UsesRemaining;
set { m_UsesRemaining = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public Poison Poison
{
get{ return m_Poison; }
get => m_Poison;
set{ m_Poison = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public int PoisonCharges
{
get { return m_PoisonCharges; }
get => m_PoisonCharges;
set { m_PoisonCharges = value; InvalidateProperties(); }
}
public bool ShowUsesRemaining{ get{ return true; } set{} }
public bool ShowUsesRemaining{ get => true;
set{} }
[Constructible]
public Fukiya() : base( 0x27AA )

View file

@ -13,25 +13,26 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int UsesRemaining
{
get { return m_UsesRemaining; }
get => m_UsesRemaining;
set { m_UsesRemaining = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public Poison Poison
{
get{ return m_Poison; }
get => m_Poison;
set{ m_Poison = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public int PoisonCharges
{
get { return m_PoisonCharges; }
get => m_PoisonCharges;
set { m_PoisonCharges = value; InvalidateProperties(); }
}
public bool ShowUsesRemaining{ get{ return true; } set{} }
public bool ShowUsesRemaining{ get => true;
set{} }
[Constructible]
public FukiyaDarts() : this( 1 )

View file

@ -19,7 +19,7 @@ namespace Server.Items
public virtual int WeaponMinRange => 2;
public virtual int WeaponMaxRange => 10;
public virtual int WeaponDamage { get { return Utility.RandomMinMax(3, 5); } }
public virtual int WeaponDamage => Utility.RandomMinMax(3, 5);
public virtual Type AmmoType => typeof(Shuriken);
@ -30,25 +30,26 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int UsesRemaining
{
get { return m_UsesRemaining; }
get => m_UsesRemaining;
set { m_UsesRemaining = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public Poison Poison
{
get{ return m_Poison; }
get => m_Poison;
set{ m_Poison = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public int PoisonCharges
{
get { return m_PoisonCharges; }
get => m_PoisonCharges;
set { m_PoisonCharges = value; InvalidateProperties(); }
}
public bool ShowUsesRemaining{ get{ return true; } set{} }
public bool ShowUsesRemaining{ get => true;
set{} }
[Constructible]
public LeatherNinjaBelt() : base( 0x2790 )

View file

@ -14,25 +14,26 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int UsesRemaining
{
get { return m_UsesRemaining; }
get => m_UsesRemaining;
set { m_UsesRemaining = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public Poison Poison
{
get{ return m_Poison; }
get => m_Poison;
set{ m_Poison = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public int PoisonCharges
{
get { return m_PoisonCharges; }
get => m_PoisonCharges;
set { m_PoisonCharges = value; InvalidateProperties(); }
}
public bool ShowUsesRemaining{ get{ return true; } set{} }
public bool ShowUsesRemaining{ get => true;
set{} }
[Constructible]
public Shuriken() : this( 1 )