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

@ -19,7 +19,7 @@ namespace Server.Items.Holiday
}
}
public virtual string MaskName { get { return "A Mask"; } }
public virtual string MaskName => "A Mask";
private string m_Staffer;

View file

@ -8,7 +8,9 @@ namespace Server.Engines.Events
{
public class HalloweenHauntings
{
public static Dictionary<PlayerMobile, ZombieSkeleton> ReAnimated { get { return m_ReAnimated; } set { m_ReAnimated = value; } }
public static Dictionary<PlayerMobile, ZombieSkeleton> ReAnimated { get => m_ReAnimated;
set => m_ReAnimated = value;
}
private static Timer m_Timer;
private static Timer m_ClearTimer;

View file

@ -5,11 +5,13 @@ namespace Server.Events.Halloween
{
class HolidaySettings
{
public static DateTime StartHalloween { get { return new DateTime( 2012, 10, 24 ); } } // YY MM DD
public static DateTime FinishHalloween { get { return new DateTime( 2012, 11, 15 ); } }
public static DateTime StartHalloween // YY MM DD
=> new DateTime( 2012, 10, 24 );
public static Item RandomGMBeggerItem { get { return ( Item )Activator.CreateInstance( m_GMBeggarTreats[ Utility.Random( m_GMBeggarTreats.Length ) ] ); } }
public static Item RandomTreat { get { return (Item)Activator.CreateInstance ( m_Treats[ Utility.Random( m_Treats.Length ) ]) ; } }
public static DateTime FinishHalloween => new DateTime( 2012, 11, 15 );
public static Item RandomGMBeggerItem => ( Item )Activator.CreateInstance( m_GMBeggarTreats[ Utility.Random( m_GMBeggarTreats.Length ) ] );
public static Item RandomTreat => (Item)Activator.CreateInstance ( m_Treats[ Utility.Random( m_Treats.Length ) ]);
private static Type[] m_GMBeggarTreats =
{