CODE |
private static Point3D[] m_MalasDeathDestinations = new Point3D[] { new Point3D( 948, 570, -90 ) }; public Point3D GetYoungDeathDestination() { if ( this.Region is Jail ) return Point3D.Zero; Point3D[] list; if ( this.Map == Map.Trammel ) list = m_MalasDeathDestinations; else if ( this.Map == Map.Felucca ) list = m_MalasDeathDestinations; else if ( this.Map == Map.Ilshenar ) list = m_MalasDeathDestinations; else if ( this.Map == Map.Malas ) list = m_MalasDeathDestinations; else if ( this.Map == Map.Tokuno ) list = m_MalasDeathDestinations; else return Point3D.Zero; |
CODE |
public Point3D GetYoungDeathDestination() { if ( this.Region is Jail ) return Point3D.Zero; if ( this.Map != null ) this.MoveToWorld( ( 948, 570, -90 ), map.Trammel );//or any map you'd like else return Point3D.Zero; } |