Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue