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 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue