public override void OnDoubleClick(Mobile from)
 {
     if (from.InRange(Location, 1))
     {
         if (DoomSystem.SecretRoom.Wanderer == null)
         {
             WandererOfTheVoid wanderer = new WandererOfTheVoid();
             wanderer.MoveToWorld(new Point3D(470, 96, -1), Map.Malas);
             wanderer.Combatant = from;
         }
     }
 }
Пример #2
0
        public override void OnDoubleClick( Mobile from )
        {
            if ( !from.InRange( this.GetWorldLocation(), 3 ) )
                return;

            if ( m_CanSummon && ( m_Wanderer == null || !m_Wanderer.Alive ) )
            {
                m_Wanderer = new WandererOfTheVoid();
                m_Wanderer.MoveToWorld( new Point3D( 467, 94, -1 ), Map.Malas );

                // I am the guardian of the Tomb of Sektu. Suffer my wrath!
                m_Wanderer.PublicOverheadMessage( Network.MessageType.Regular, 0x3B2, 1060002, "" );

                Timer.DelayCall( TimeSpan.FromSeconds( 5.0 ), new TimerCallback( SayFakeMessage ) );

                m_CanSummon = false;
            }
        }