Пример #1
0
 public MDDSGate(MDDSRoom room) : base()
 {
     m_Room = room;
     Target = new Point3D(m_Room.Entry);
     TargetMap = m_Room.Instance.Map;
     Dispellable = false;
 }
Пример #2
0
 public MDDSGate(MDDSRoom room) : base()
 {
     m_Room      = room;
     Target      = new Point3D(m_Room.Entry);
     TargetMap   = m_Room.Instance.Map;
     Dispellable = false;
 }
Пример #3
0
        public Point3D GetNextRoom(MDDSRoom actualRoom, Mobile m)
        {
            int index = m_Rooms.IndexOf(actualRoom);

            if (++index < m_Rooms.Count)
            {
                m.SendMessage("Progression : {0} sur {1}.", (index + 1), m_Rooms.Count);
                return(m_Rooms[index].Entry);
            }
            else
            {
                m.Map = m_OriginMap;
                m_Followers.Remove(m);
                m_Starter.CleanInstances();
                return(m_Origin);
            }
        }