示例#1
0
 private static void InitBuildingCost()
 {
     BuildingCost = new rinfo_array[42];
     BuildingCost[1] = new rinfo_array(21, 1.67, new TResAmount(40, 100, 50, 60));					//	ľ
     BuildingCost[2] = new rinfo_array(21, 1.67, new TResAmount(80, 40, 80, 50));					//	��
     BuildingCost[3] = new rinfo_array(21, 1.67, new TResAmount(100, 80, 30, 60));					//	��
     BuildingCost[4] = new rinfo_array(21, 1.67, new TResAmount(70, 90, 70, 20));					//	��
     BuildingCost[5] = new rinfo_array(5, 1.8, new TResAmount(520, 380, 290, 90));					//	ľ�ij�
     BuildingCost[6] = new rinfo_array(5, 1.8, new TResAmount(440, 480, 320, 50));					//	ש�鳧
     BuildingCost[7] = new rinfo_array(5, 1.8, new TResAmount(200, 450, 510, 120));					//	���쳧
     BuildingCost[8] = new rinfo_array(5, 1.8, new TResAmount(500, 440, 380, 1240));					//	ĥ��
     BuildingCost[9] = new rinfo_array(5, 1.8, new TResAmount(1200, 1480, 870, 1600));				//	�����
     BuildingCost[10] = new rinfo_array(20, 1.28, new TResAmount(130, 160, 90, 40));					//	�ֿ�
     BuildingCost[11] = new rinfo_array(20, 1.28, new TResAmount(80, 100, 70, 20));					//	����
     BuildingCost[12] = new rinfo_array(20, 1.28, new TResAmount(180, 250, 500, 160));				//	�����̣��ѷϣ�
     BuildingCost[13] = new rinfo_array(20, 1.28, new TResAmount(180, 250, 500, 160));				//	�����̣�ԭΪ(170, 200, 380, 130)
     BuildingCost[14] = new rinfo_array(20, 1.28, new TResAmount(1750, 2250, 1530, 240));			//	������
     BuildingCost[15] = new rinfo_array(20, 1.28, new TResAmount(70, 40, 60, 20));					//	���Ĵ�¥
     BuildingCost[16] = new rinfo_array(20, 1.28, new TResAmount(110, 160, 90, 70));					//	�����
     BuildingCost[17] = new rinfo_array(20, 1.28, new TResAmount(80, 70, 120, 70));					//	�г�
     BuildingCost[18] = new rinfo_array(20, 1.28, new TResAmount(180, 130, 150, 80));				//	�⽻��
     BuildingCost[19] = new rinfo_array(20, 1.28, new TResAmount(210, 140, 260, 120));				//	��Ӫ
     BuildingCost[20] = new rinfo_array(20, 1.28, new TResAmount(260, 140, 220, 100));				//	���
     BuildingCost[21] = new rinfo_array(20, 1.28, new TResAmount(460, 510, 600, 320));				//	����
     BuildingCost[22] = new rinfo_array(20, 1.28, new TResAmount(220, 160, 90, 40));					//	�о�Ժ
     BuildingCost[23] = new rinfo_array(10, 1.28, new TResAmount(40, 50, 30, 10));					//	�ض�
     BuildingCost[24] = new rinfo_array(20, 1.28, new TResAmount(1250, 1110, 1260, 600));			//	������
     BuildingCost[25] = new rinfo_array(20, 1.28, new TResAmount(580, 460, 350, 180));				//	�й�
     BuildingCost[26] = new rinfo_array(20, 1.28, new TResAmount(550, 800, 750, 250));				//	�ʹ�
     BuildingCost[27] = new rinfo_array(20, 1.26, new TResAmount(2880, 2740, 2580, 990));			//	����
     BuildingCost[28] = new rinfo_array(20, 1.28, new TResAmount(1400, 1330, 1200, 400));			//	������
     BuildingCost[29] = new rinfo_array(20, 1.28, new TResAmount(630, 420, 780, 360));				//	���Ӫ
     BuildingCost[30] = new rinfo_array(20, 1.28, new TResAmount(780, 420, 660, 300));				//	�����
     BuildingCost[31] = new rinfo_array(20, 1.28, new TResAmount(70, 90, 170, 70));					//	�����ǽ
     BuildingCost[32] = new rinfo_array(20, 1.28, new TResAmount(120, 200, 0, 80));					//	�ն�����ǽ
     BuildingCost[33] = new rinfo_array(20, 1.28, new TResAmount(160, 100, 80, 60));					//	��¬��ǽ
     BuildingCost[34] = new rinfo_array(20, 1.28, new TResAmount(155, 130, 125, 70));				//	ʯ����
     BuildingCost[35] = new rinfo_array(10, 1.40, new TResAmount(1460, 930, 1250, 1740));			//	��Ʒ�
     BuildingCost[36] = new rinfo_array(20, 1.28, new TResAmount(80, 120, 70, 90));					//	���壬ԭΪ(100, 100, 100, 100)
     BuildingCost[37] = new rinfo_array(20, 1.33, new TResAmount(700, 670, 700, 240));				//	Ӣ��԰
     BuildingCost[38] = new rinfo_array(20, 1.28, new TResAmount(650, 800, 450, 200));				//	��ֿ�
     BuildingCost[39] = new rinfo_array(20, 1.28, new TResAmount(400, 500, 350, 100));				//	������
     BuildingCost[40] = new rinfo_array(100, 1.0275, new TResAmount(66700, 69050, 72200, 13200));	//	�������
     BuildingCost[41] = new rinfo_array(20, 1.28, new TResAmount(780, 420, 660, 540));				//	�����
 }
示例#2
0
 private static void InitBuildingCost()
 {
     BuildingCost = new rinfo_array[42];
     BuildingCost[1] = new rinfo_array(21, 1.67, new TResAmount(40, 100, 50, 60));
     BuildingCost[2] = new rinfo_array(21, 1.67, new TResAmount(80, 40, 80, 50));
     BuildingCost[3] = new rinfo_array(21, 1.67, new TResAmount(100, 80, 30, 60));
     BuildingCost[4] = new rinfo_array(21, 1.67, new TResAmount(70, 90, 70, 20));
     BuildingCost[5] = new rinfo_array(5, 1.8, new TResAmount(520, 380, 290, 90));
     BuildingCost[6] = new rinfo_array(5, 1.8, new TResAmount(440, 480, 320, 50));
     BuildingCost[7] = new rinfo_array(5, 1.8, new TResAmount(200, 450, 510, 120));
     BuildingCost[8] = new rinfo_array(5, 1.8, new TResAmount(500, 440, 380, 1240));
     BuildingCost[9] = new rinfo_array(5, 1.8, new TResAmount(1200, 1480, 870, 1600));
     BuildingCost[10] = new rinfo_array(20, 1.28, new TResAmount(130, 160, 90, 40));
     BuildingCost[11] = new rinfo_array(20, 1.28, new TResAmount(80, 100, 70, 20));
     BuildingCost[12] = new rinfo_array(20, 1.28, new TResAmount(170, 200, 380, 130));
     BuildingCost[13] = new rinfo_array(20, 1.28, new TResAmount(130, 210, 410, 130));
     BuildingCost[14] = new rinfo_array(20, 1.28, new TResAmount(1750, 2250, 1530, 240));
     BuildingCost[15] = new rinfo_array(20, 1.28, new TResAmount(70, 40, 60, 20));
     BuildingCost[16] = new rinfo_array(20, 1.28, new TResAmount(110, 160, 90, 70));
     BuildingCost[17] = new rinfo_array(20, 1.28, new TResAmount(80, 70, 120, 70));
     BuildingCost[18] = new rinfo_array(20, 1.28, new TResAmount(180, 130, 150, 80));
     BuildingCost[19] = new rinfo_array(20, 1.28, new TResAmount(210, 140, 260, 120));
     BuildingCost[20] = new rinfo_array(20, 1.28, new TResAmount(260, 140, 220, 100));
     BuildingCost[21] = new rinfo_array(20, 1.28, new TResAmount(460, 510, 600, 320));
     BuildingCost[22] = new rinfo_array(20, 1.28, new TResAmount(220, 160, 90, 40));
     BuildingCost[23] = new rinfo_array(10, 1.28, new TResAmount(40, 50, 30, 10));
     BuildingCost[24] = new rinfo_array(20, 1.28, new TResAmount(1250, 1110, 1260, 600));
     BuildingCost[25] = new rinfo_array(20, 1.28, new TResAmount(580, 460, 350, 180));
     BuildingCost[26] = new rinfo_array(20, 1.28, new TResAmount(550, 800, 750, 250));
     BuildingCost[27] = new rinfo_array(20, 1.26, new TResAmount(2880, 2740, 2580, 990));
     BuildingCost[28] = new rinfo_array(20, 1.28, new TResAmount(1400, 1330, 1200, 400));
     BuildingCost[29] = new rinfo_array(20, 1.28, new TResAmount(630, 420, 780, 360));
     BuildingCost[30] = new rinfo_array(20, 1.28, new TResAmount(780, 420, 660, 300));
     BuildingCost[31] = new rinfo_array(20, 1.28, new TResAmount(70, 90, 170, 70));
     BuildingCost[32] = new rinfo_array(20, 1.28, new TResAmount(120, 200, 0, 80));
     BuildingCost[33] = new rinfo_array(20, 1.28, new TResAmount(160, 100, 80, 60));
     BuildingCost[34] = new rinfo_array(20, 1.28, new TResAmount(155, 130, 125, 70));
     BuildingCost[35] = new rinfo_array(10, 1.40, new TResAmount(1460, 930, 1250, 1740));
     BuildingCost[36] = new rinfo_array(20, 1.28, new TResAmount(100, 100, 100, 100));
     BuildingCost[37] = new rinfo_array(20, 1.33, new TResAmount(700, 670, 700, 240));
     BuildingCost[38] = new rinfo_array(20, 1.28, new TResAmount(650, 800, 450, 200));
     BuildingCost[39] = new rinfo_array(20, 1.28, new TResAmount(400, 500, 350, 100));
     BuildingCost[40] = new rinfo_array(100, 1.0275, new TResAmount(66700, 69050, 72200, 13200));
     BuildingCost[41] = new rinfo_array(20, 1.28, new TResAmount(780, 420, 660, 540));
 }