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

@ -465,13 +465,14 @@ namespace Server
#endregion
#region Generic accessors
public static LootPack Poor{ get{ return Core.SE ? SePoor : Core.AOS ? AosPoor : OldPoor; } }
public static LootPack Meager{ get{ return Core.SE ? SeMeager : Core.AOS ? AosMeager : OldMeager; } }
public static LootPack Average{ get{ return Core.SE ? SeAverage : Core.AOS ? AosAverage : OldAverage; } }
public static LootPack Rich{ get{ return Core.SE ? SeRich : Core.AOS ? AosRich : OldRich; } }
public static LootPack FilthyRich{ get{ return Core.SE ? SeFilthyRich : Core.AOS ? AosFilthyRich : OldFilthyRich; } }
public static LootPack UltraRich{ get{ return Core.SE ? SeUltraRich : Core.AOS ? AosUltraRich : OldUltraRich; } }
public static LootPack SuperBoss{ get{ return Core.SE ? SeSuperBoss : Core.AOS ? AosSuperBoss : OldSuperBoss; } }
public static LootPack Poor => Core.SE ? SePoor : Core.AOS ? AosPoor : OldPoor;
public static LootPack Meager => Core.SE ? SeMeager : Core.AOS ? AosMeager : OldMeager;
public static LootPack Average => Core.SE ? SeAverage : Core.AOS ? AosAverage : OldAverage;
public static LootPack Rich => Core.SE ? SeRich : Core.AOS ? AosRich : OldRich;
public static LootPack FilthyRich => Core.SE ? SeFilthyRich : Core.AOS ? AosFilthyRich : OldFilthyRich;
public static LootPack UltraRich => Core.SE ? SeUltraRich : Core.AOS ? AosUltraRich : OldUltraRich;
public static LootPack SuperBoss => Core.SE ? SeSuperBoss : Core.AOS ? AosSuperBoss : OldSuperBoss;
#endregion
public static readonly LootPack LowScrolls = new LootPack( new LootPackEntry[]
@ -528,38 +529,38 @@ namespace Server
public int Chance
{
get{ return m_Chance; }
set{ m_Chance = value; }
get => m_Chance;
set => m_Chance = value;
}
public LootPackDice Quantity
{
get{ return m_Quantity; }
set{ m_Quantity = value; }
get => m_Quantity;
set => m_Quantity = value;
}
public int MaxProps
{
get{ return m_MaxProps; }
set{ m_MaxProps = value; }
get => m_MaxProps;
set => m_MaxProps = value;
}
public int MinIntensity
{
get{ return m_MinIntensity; }
set{ m_MinIntensity = value; }
get => m_MinIntensity;
set => m_MinIntensity = value;
}
public int MaxIntensity
{
get{ return m_MaxIntensity; }
set{ m_MaxIntensity = value; }
get => m_MaxIntensity;
set => m_MaxIntensity = value;
}
public LootPackItem[] Items
{
get{ return m_Items; }
set{ m_Items = value; }
get => m_Items;
set => m_Items = value;
}
private static bool IsInTokuno( Mobile m )
@ -795,14 +796,14 @@ namespace Server
public Type Type
{
get{ return m_Type; }
set{ m_Type = value; }
get => m_Type;
set => m_Type = value;
}
public int Chance
{
get{ return m_Chance; }
set{ m_Chance = value; }
get => m_Chance;
set => m_Chance = value;
}
private static Type[] m_BlankTypes = new Type[]{ typeof( BlankScroll ) };
@ -907,20 +908,20 @@ namespace Server
public int Count
{
get{ return m_Count; }
set{ m_Count = value; }
get => m_Count;
set => m_Count = value;
}
public int Sides
{
get{ return m_Sides; }
set{ m_Sides = value; }
get => m_Sides;
set => m_Sides = value;
}
public int Bonus
{
get{ return m_Bonus; }
set{ m_Bonus = value; }
get => m_Bonus;
set => m_Bonus = value;
}
public int Roll()