Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -22,8 +22,8 @@ namespace Server.SkillHandlers
|
|||
|
||||
public static bool DisableMessage
|
||||
{
|
||||
get{ return m_DisableMessage; }
|
||||
set{ m_DisableMessage = value; }
|
||||
get => m_DisableMessage;
|
||||
set => m_DisableMessage = value;
|
||||
}
|
||||
|
||||
public static TimeSpan OnUse( Mobile m )
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ namespace Server.SkillHandlers
|
|||
|
||||
public static bool CombatOverride
|
||||
{
|
||||
get{ return m_CombatOverride; }
|
||||
set{ m_CombatOverride = value; }
|
||||
get => m_CombatOverride;
|
||||
set => m_CombatOverride = value;
|
||||
}
|
||||
|
||||
public static void Initialize()
|
||||
|
|
|
|||
|
|
@ -406,12 +406,12 @@ namespace Server.SkillHandlers
|
|||
private Mobile m_Victim;
|
||||
private DateTime m_Expires;
|
||||
|
||||
public Item Stolen{ get{ return m_Stolen; } }
|
||||
public Mobile Thief{ get{ return m_Thief; } }
|
||||
public Mobile Victim{ get{ return m_Victim; } }
|
||||
public DateTime Expires{ get{ return m_Expires; } }
|
||||
public Item Stolen => m_Stolen;
|
||||
public Mobile Thief => m_Thief;
|
||||
public Mobile Victim => m_Victim;
|
||||
public DateTime Expires => m_Expires;
|
||||
|
||||
public bool IsExpired{ get{ return ( DateTime.UtcNow >= m_Expires ); } }
|
||||
public bool IsExpired => ( DateTime.UtcNow >= m_Expires );
|
||||
|
||||
public StolenItem( Item stolen, Mobile thief, Mobile victim )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.SkillHandlers
|
|||
SkillInfo.Table[(int)SkillName.Stealth].Callback = new SkillUseCallback( OnUse );
|
||||
}
|
||||
|
||||
public static double HidingRequirement { get { return ( Core.ML ? 30.0 : ( Core.SE ? 50.0 : 80.0 ) ); } }
|
||||
public static double HidingRequirement => ( Core.ML ? 30.0 : ( Core.SE ? 50.0 : 80.0 ) );
|
||||
|
||||
public static int[,] ArmorTable => m_ArmorTable;
|
||||
private static int[,] m_ArmorTable = new int[,]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue