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

@ -61,13 +61,13 @@ namespace Server.Mobiles
public override string CorpseName => "a demon knight corpse";
public override bool IgnoreYoungProtection => Core.ML;
public static Type[] ArtifactRarity10{ get; } =
public static Type[] ArtifactRarity10 { get; } =
{
typeof(LegacyOfTheDreadLord),
typeof(TheTaskmaster)
};
public static Type[] ArtifactRarity11{ get; } =
public static Type[] ArtifactRarity11 { get; } =
{
typeof(TheDragonSlayer),
typeof(ArmorOfFortune),
@ -231,7 +231,7 @@ namespace Server.Mobiles
MovingEffect(from, 0xECA, 10, 0, false, false, 0, 0);
PlaySound(0x491);
if (0.05 > Utility.RandomDouble())
if (Utility.RandomDouble() < 0.05)
Timer.DelayCall(TimeSpan.FromSeconds(1.0), CreateBones_Callback, from);
m_InHere = false;