Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -68,8 +68,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
if ( from != null && !willKill && amount > 5 && from.Player && 5 > Utility.Random( 100 ) )
|
||||
{
|
||||
string[] toSay = new[]
|
||||
{
|
||||
string[] toSay = {
|
||||
"{0}!! You will have to do better than that!",
|
||||
"{0}!! Prepare to meet your doom!",
|
||||
"{0}!! My armies will crush you!",
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ namespace Server.Mobiles
|
|||
|
||||
DoBeneficial( toBuff );
|
||||
|
||||
object[] state = new object[]{ toBuff, toBuff.HitsMaxSeed, toBuff.RawStr, toBuff.RawDex };
|
||||
object[] state = { toBuff, toBuff.HitsMaxSeed, toBuff.RawStr, toBuff.RawDex };
|
||||
|
||||
SpellHelper.Turn( this, toBuff );
|
||||
|
||||
|
|
|
|||
|
|
@ -53,8 +53,7 @@ namespace Server.Mobiles
|
|||
Talk( ferret );
|
||||
}
|
||||
|
||||
private static string[] m_Vocabulary = new[]
|
||||
{
|
||||
private static string[] m_Vocabulary = {
|
||||
"dook",
|
||||
"dook dook",
|
||||
"dook dook dook!"
|
||||
|
|
|
|||
|
|
@ -112,8 +112,7 @@ namespace Server.Mobiles
|
|||
|
||||
public static Type[] Artifacts => m_Artifacts;
|
||||
|
||||
private static Type[] m_Artifacts = new[]
|
||||
{
|
||||
private static Type[] m_Artifacts = {
|
||||
// Decorations
|
||||
typeof( CandelabraOfSouls ),
|
||||
typeof( GhostShipAnchor ),
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ namespace Server.Mobiles
|
|||
public class OphidianArchmage : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
private static string[] m_Names = {
|
||||
"an ophidian justicar",
|
||||
"an ophidian zealot"
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ namespace Server.Mobiles
|
|||
public class OphidianMage : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
private static string[] m_Names = {
|
||||
"an ophidian apprentice mage",
|
||||
"an ophidian shaman"
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@ namespace Server.Mobiles
|
|||
public class OphidianKnight : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
private static string[] m_Names = {
|
||||
"an ophidian knight-errant",
|
||||
"an ophidian avenger"
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@ namespace Server.Mobiles
|
|||
public class OphidianWarrior : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
private static string[] m_Names = {
|
||||
"an ophidian warrior",
|
||||
"an ophidian enforcer"
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue