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

@ -31,7 +31,7 @@ namespace Server.Items
{
base.Serialize(writer);
writer.Write(1); //version
writer.Write(1); // version
}
public override void Deserialize(IGenericReader reader)
@ -138,7 +138,7 @@ namespace Server.Items
owner.FixedEffect(0x37B9, 10, 16);
if (25 > Utility.Random(100)) // 25% chance to lower durability
if (Utility.Random(100) < 25) // 25% chance to lower durability
{
int wear = Utility.Random(2);