Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -71,7 +71,7 @@ namespace Server.Mobiles
/*
// TODO: uncomment once added
if ( Utility.RandomDouble() < 0.025 )
if (Utility.RandomDouble() < 0.025)
{
switch ( Utility.Random( 5 ) )
{
@ -99,4 +99,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -13,7 +13,7 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.1 )
if (Utility.RandomDouble() < 0.1)
c.DropItem( new ParrotItem() );
}
*/
@ -40,4 +40,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -65,10 +65,10 @@ namespace Server.Mobiles
/*
// TODO: uncomment once added
if ( Utility.RandomDouble() < 0.2 )
if (Utility.RandomDouble() < 0.2)
c.DropItem( new ParrotItem() );
if ( Utility.RandomDouble() < 0.05 )
if (Utility.RandomDouble() < 0.05)
c.DropItem( new ThorvaldsMedallion() );
*/
}
@ -87,4 +87,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -14,7 +14,7 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.1 )
if (Utility.RandomDouble() < 0.1)
c.DropItem( new ParrotItem() );
}
*/
@ -43,4 +43,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -55,8 +55,8 @@ namespace Server.Mobiles
c.DropItem(new SalivasFeather());
// TODO: uncomment once added
//if ( Utility.RandomDouble() < 0.1 )
// c.DropItem( new ParrotItem() );
// if (Utility.RandomDouble() < 0.1)
// c.DropItem( new ParrotItem() );
}
public override void Serialize(IGenericWriter writer)
@ -73,4 +73,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}