public Point3D GetPlotCenter() { int x = m_Bounds.X + m_Bounds.Width / 2; int y = m_Bounds.Y + m_Bounds.Height / 2; int z = ( m_Facet == null ) ? 0 : m_Facet.GetAverageZ( x, y ); return new Point3D( x, y, z ); }
public HouseRaffleDeed(HouseRaffleStone stone = null, Mobile m = null) : base(0x2830) { m_Stone = stone; if (stone != null) { m_PlotLocation = stone.GetPlotCenter(); m_Facet = stone.PlotFacet; } m_AwardedTo = m; LootType = LootType.Blessed; Hue = 0x501; }