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

@ -2,10 +2,7 @@ namespace Server.Items
{
public class BasePiece : Item
{
public BasePiece(int itemID, BaseBoard board) : base(itemID)
{
Board = board;
}
public BasePiece(int itemID, BaseBoard board) : base(itemID) => Board = board;
public BasePiece(Serial serial) : base(serial)
{
@ -72,24 +69,12 @@ namespace Server.Items
return true;
}
public override bool DropToMobile(Mobile from, Mobile target, Point3D p)
{
return false;
}
public override bool DropToMobile(Mobile from, Mobile target, Point3D p) => false;
public override bool DropToItem(Mobile from, Item target, Point3D p)
{
return target == Board && p.X != -1 && p.Y != -1 && base.DropToItem(from, target, p);
}
public override bool DropToItem(Mobile from, Item target, Point3D p) => target == Board && p.X != -1 && p.Y != -1 && base.DropToItem(from, target, p);
public override bool DropToWorld(Mobile from, Point3D p)
{
return false;
}
public override bool DropToWorld(Mobile from, Point3D p) => false;
public override int GetLiftSound(Mobile from)
{
return -1;
}
public override int GetLiftSound(Mobile from) => -1;
}
}