Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -346,10 +346,7 @@ namespace Server.Items
flags |= toSet;
}
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet)
{
return (flags & toGet) != 0;
}
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet) => (flags & toGet) != 0;
public override void Serialize(GenericWriter writer)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class ElvenQuiver : BaseQuiver
{
[Constructible]
public ElvenQuiver()
{
WeightReduction = 30;
}
public ElvenQuiver() => WeightReduction = 30;
public ElvenQuiver(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class QuiverOfBlight : ElvenQuiver
{
[Constructible]
public QuiverOfBlight()
{
Hue = 0x4F3;
}
public QuiverOfBlight() => Hue = 0x4F3;
public QuiverOfBlight(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class QuiverOfFire : ElvenQuiver
{
[Constructible]
public QuiverOfFire()
{
Hue = 0x4E7;
}
public QuiverOfFire() => Hue = 0x4E7;
public QuiverOfFire(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class QuiverOfIce : ElvenQuiver
{
[Constructible]
public QuiverOfIce()
{
Hue = 0x4ED;
}
public QuiverOfIce() => Hue = 0x4ED;
public QuiverOfIce(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class QuiverOfLightning : ElvenQuiver
{
[Constructible]
public QuiverOfLightning()
{
Hue = 0x4F9;
}
public QuiverOfLightning() => Hue = 0x4F9;
public QuiverOfLightning(Serial serial) : base(serial)
{