Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -11,10 +11,10 @@ namespace Server.Mobiles
{
public override WeaponAbility GetWeaponAbility() => WeaponAbility.CrushingBlow;
public override string DefaultName { get { return "a deathwatch beetle"; } }
public override string DefaultName => "a deathwatch beetle";
[Constructible]
public DeathwatchBeetle() : base( AIType.AI_Melee, Core.ML ? FightMode.Aggressor : FightMode.Closest, 10, 1, 0.2, 0.4 )
public DeathwatchBeetle() : base( AIType.AI_Melee, Core.ML ? FightMode.Aggressor : FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Body = 242;
@ -125,7 +125,7 @@ namespace Server.Mobiles
m.SendLocalizedMessage( 1070821, this.Name ); // %s spits a poisonous substance at you!
}
public override int Hides{ get{ return 8; } }
public override int Hides => 8;
public DeathwatchBeetle( Serial serial ) : base( serial )
{
}
@ -142,4 +142,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}