Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -54,7 +54,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
public override Poison PoisonImmune => Poison.Greater;
|
||||
public override int TreasureMapLevel{ get{ return 2; } }
|
||||
public override int TreasureMapLevel => 2;
|
||||
public override bool DisallowAllMoves => true;
|
||||
|
||||
public Reaper( Serial serial ) : base( serial )
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a plant corpse" )]
|
||||
public class BogThing : BaseCreature
|
||||
{
|
||||
public override string DefaultName { get { return "a bog thing"; } }
|
||||
public override string DefaultName => "a bog thing";
|
||||
|
||||
[Constructible]
|
||||
public BogThing() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.6, 1.2 )
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a plant corpse" )]
|
||||
public class Bogling : BaseCreature
|
||||
{
|
||||
public override string DefaultName { get { return "a bogling"; } }
|
||||
public override string DefaultName => "a bogling";
|
||||
|
||||
[Constructible]
|
||||
public Bogling() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
|
|
@ -48,8 +48,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override int Hides{ get{ return 6; } }
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override int Hides => 6;
|
||||
public override int Meat => 1;
|
||||
|
||||
public Bogling( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -67,4 +67,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a corpser corpse" )]
|
||||
public class Corpser : BaseCreature
|
||||
{
|
||||
public override string DefaultName { get { return "a corpser"; } }
|
||||
public override string DefaultName => "a corpser";
|
||||
|
||||
[Constructible]
|
||||
public Corpser() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
public override double HitPoisonChance{ get{ return 0.1; } }
|
||||
public override double HitPoisonChance => 0.1;
|
||||
|
||||
public Quagmire( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue