Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -46,7 +46,7 @@ namespace Server.Mobiles
|
|||
|
||||
PackItem(new PowerCrystal());
|
||||
|
||||
if (0.02 > Utility.RandomDouble())
|
||||
if (Utility.RandomDouble() < 0.02)
|
||||
PackItem(new BlackthornWelcomeBook());
|
||||
|
||||
m_NextAbilityTime = DateTime.UtcNow + TimeSpan.FromSeconds(Utility.RandomMinMax(5, 30));
|
||||
|
|
@ -71,11 +71,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
base.OnDeath(c);
|
||||
|
||||
if (0.05 > Utility.RandomDouble())
|
||||
if (Utility.RandomDouble() < 0.05)
|
||||
{
|
||||
if (!IsParagon)
|
||||
{
|
||||
if (0.75 > Utility.RandomDouble())
|
||||
if (Utility.RandomDouble() < 0.75)
|
||||
c.DropItem(DawnsMusicGear.RandomCommon);
|
||||
else
|
||||
c.DropItem(DawnsMusicGear.RandomUncommon);
|
||||
|
|
@ -104,7 +104,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
base.OnGaveMeleeAttack(defender);
|
||||
|
||||
if (!m_Stunning && 0.3 > Utility.RandomDouble())
|
||||
if (!m_Stunning && Utility.RandomDouble() < 0.3)
|
||||
{
|
||||
m_Stunning = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue