Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ namespace Server.Mobiles
|
|||
public override bool Unprovokable => Core.SE;
|
||||
public override bool AreaPeaceImmune => Core.SE;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override Poison HitPoison => 0.8 >= Utility.RandomDouble() ? Poison.Greater : Poison.Deadly;
|
||||
public override Poison HitPoison => Utility.RandomDouble() <= 0.8 ? Poison.Greater : Poison.Deadly;
|
||||
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Revenant : BaseCreature
|
||||
{
|
||||
private DateTime m_ExpireTime;
|
||||
private Mobile m_Target;
|
||||
private readonly DateTime m_ExpireTime;
|
||||
private readonly Mobile m_Target;
|
||||
|
||||
public Revenant(Mobile caster, Mobile target, TimeSpan duration) : base(AIType.AI_Melee, FightMode.Closest, 10, 1,
|
||||
0.18, 0.36)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue