Fixes implicit array initializers

This commit is contained in:
Kamron Batman 2018-09-14 13:14:20 -07:00
parent 7d3a0ca265
commit fee83ce560
189 changed files with 440 additions and 808 deletions

View file

@ -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!",

View file

@ -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 );