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

@ -37,7 +37,7 @@ namespace Server.Mobiles
VirtualArmor = 28;
if (0.25 > Utility.RandomDouble())
if (Utility.RandomDouble() < 0.25)
PackItem(new Board(10));
else
PackItem(new Log(10));
@ -116,10 +116,10 @@ namespace Server.Mobiles
if (Hits > HitsMax / 4)
{
if (0.25 >= Utility.RandomDouble())
if (Utility.RandomDouble() <= 0.25)
SpawnBogling(attacker);
}
else if (0.25 >= Utility.RandomDouble())
else if (Utility.RandomDouble() <= 0.25)
EatBoglings();
}
}