Beispiel #1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            Persist   = (BlueSpawnerPersistence)reader.ReadItem();
            BlueStuff = (ArrayList)reader.ReadItemList();
            new MindflayerRegion();
        }
		public BlueSpawnerPersistence() : base( 0x1F1C )
		{
			Name = "Blue Spawner Persistence";
			Movable = false;

			if ( Persist == null || Persist.Deleted )
				Persist = this;
			else
				base.Delete();
		}
Beispiel #3
0
        public BlueSpawnerPersistence() : base(0x1F1C)
        {
            Name    = "Blue Spawner Persistence";
            Movable = false;

            if (Persist == null || Persist.Deleted)
            {
                Persist = this;
            }
            else
            {
                base.Delete();
            }
        }
		public static void BlueSpawnCommand_OnCommand( CommandEventArgs e )
		{
			BlueSpawnerPersistence bsp = new BlueSpawnerPersistence();

			if ( bsp != null )
			{
				bsp.Map = Map.Malas;

				if ( !bsp.GenerateSpawners() )
					e.Mobile.SendMessage( 1365, "Blue Monster Spawners Created." );
				else
				{
					e.Mobile.SendMessage( 1365, "Old Blue Monster Spawners Removed." );
					e.Mobile.SendMessage( 1365, "Blue Monster Spawners Created." );
				}
			}
		}
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();

			Persist = (BlueSpawnerPersistence)reader.ReadItem();
			BlueStuff = (ArrayList)reader.ReadItemList();
			new MindflayerRegion();
		}