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

@ -3,10 +3,7 @@ namespace Server.Items
public class BarbedLongbow : ElvenCompositeLongbow
{
[Constructible]
public BarbedLongbow()
{
Attributes.ReflectPhysical = 12;
}
public BarbedLongbow() => Attributes.ReflectPhysical = 12;
public BarbedLongbow(Serial serial) : base(serial)
{

View file

@ -6,10 +6,7 @@ namespace Server.Items
public class CompositeBow : BaseRanged
{
[Constructible]
public CompositeBow() : base(0x26C2)
{
Weight = 5.0;
}
public CompositeBow() : base(0x26C2) => Weight = 5.0;
public CompositeBow(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LightweightShortbow : MagicalShortbow
{
[Constructible]
public LightweightShortbow()
{
Balanced = true;
}
public LightweightShortbow() => Balanced = true;
public LightweightShortbow(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LongbowOfMight : ElvenCompositeLongbow
{
[Constructible]
public LongbowOfMight()
{
Attributes.WeaponDamage = 5;
}
public LongbowOfMight() => Attributes.WeaponDamage = 5;
public LongbowOfMight(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class RangersShortbow : MagicalShortbow
{
[Constructible]
public RangersShortbow()
{
Attributes.WeaponSpeed = 5;
}
public RangersShortbow() => Attributes.WeaponSpeed = 5;
public RangersShortbow(Serial serial) : base(serial)
{

View file

@ -6,10 +6,7 @@ namespace Server.Items
public class RepeatingCrossbow : BaseRanged
{
[Constructible]
public RepeatingCrossbow() : base(0x26C3)
{
Weight = 6.0;
}
public RepeatingCrossbow() : base(0x26C3) => Weight = 6.0;
public RepeatingCrossbow(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class SlayerLongbow : ElvenCompositeLongbow
{
[Constructible]
public SlayerLongbow()
{
Slayer2 = (SlayerName)Utility.RandomMinMax(1, 27);
}
public SlayerLongbow() => Slayer2 = (SlayerName)Utility.RandomMinMax(1, 27);
public SlayerLongbow(Serial serial) : base(serial)
{