罪と罰++二律背反

$log .= "最大千人規模の徴兵を実行します。結果は$kekka分後に<br>\n";
			$S = int(((rand(50))+100)*$lr);
			$S = 1000 if($S>1000);
			$rank_exe++;
			$tho_kai++;
			if($tho_kai>150){
			$log .="日々の徴兵の成果が認められ国から $nm は $sogo_p[7] の称号を授かった!<br>\n";
			$gold +=200000; 
			$sogo =7;
			$nou_kai =0;
				}

  • 			$S = int(((rand(50))+100)*$lr);
    			$S = 1000 if($S>1000);
    			$rank_exe++;
    			$tho_kai++;
    			if($tho_kai>150){
    			$log .="日々の徴兵の成果が認められ国から $nm は $sogo_p[7] の称号を授かった!<br>\n";
    			$gold +=200000; 
    			$sogo =7;
    			$nou_kai =0;
    				}
			if($S<$gold){
				$gold-=$S;
			}elsif($gold<$S){
				$S=$gold;
				$gold=0;
			}
			if($camp==1){
				$cs1+=$S;
			}elsif($camp==2){
				$cs2+=$S;
			}elsif($camp==3){
				$cs3+=$S;
			}elsif($camp==4){
				$cs4+=$S;
			}elsif($camp==5){
				$cs5+=$S;
			}
			$mes = "$S 人の兵が集まった";
			$pr=$GMT;
			$tm=50;
		}elsif($cmd==2){
			# 行動カウントのリセット(無条件)
			$act_cnt=0;
			$tho_kai++;
			$kekka = int($GMT/60);
			$log .= "最大五千人規模の徴兵を実行します。結果は$kekka分後に<br>\n";
			$S = int(((rand(50))+100)*$lr);
			$S = 5000 if($S>5000);
			$rank_exe+=int(rand(2)+1);
			if($S<$gold){
				$gold-=$S;
			}elsif($gold<$S){
				$S=$gold;
				$gold=0;
			}
			if($camp==1){
				$cs1+=$S;
			}elsif($camp==2){
				$cs2+=$S;
			}elsif($camp==3){
				$cs3+=$S;
			}elsif($camp==4){
				$cs4+=$S;
			}elsif($camp==5){
				$cs5+=$S;
			}
			$mes = "$S 人の兵が集まった";
			$pr=$GMT;
			$tm=50;
		}elsif($cmd==3){
			# 行動カウントのリセット(無条件)
			$act_cnt=0;
			$kekka = int($GMT/60);
			$log .= "最大一万人規模の徴兵を実行します。結果は$kekka分後に<br>\n";
			$S = int(((rand(50))+100)*$lr);
			$S = 10000 if($S>10000);
			$rank_exe+=int(rand(3)+1);
			$tho_kai++;
			if($tho_kai>150){
			$log .="日々の徴兵の成果が認められ国から $nm は $sogo_p[7] の称号を授かった!<br>\n";
			$gold +=200000; 
			$sogo =7;
			$nou_kai =0;
				}
			if($S<$gold){
				$gold-=$S;
			}elsif($gold<$S){
				$S=$gold;
				$gold=0;
			}
			if($camp==1){
				$cs1+=$S;
			}elsif($camp==2){
				$cs2+=$S;
			}elsif($camp==3){
				$cs3+=$S;
			}elsif($camp==4){
				$cs4+=$S;
			}elsif($camp==5){
				$cs5+=$S;
			}
			$mes = "$S 人の兵が集まった";
			$pr=$GMT;
			$tm=50;
		}elsif($cmd==4){
			# 行動カウントのリセット(無条件)
			$act_cnt=0;
			$kekka = int($GMT/60);
			$log .= "最大二万人規模の徴兵を実行します。結果は$kekka分後に<br>\n";
			$S = int(((rand(50))+100)*$lr);
			$S = 20000 if($S>20000);
			$rank_exe+=int(rand(4)+1);
			$tho_kai++;
			if($tho_kai>150){
			$log .="日々の徴兵の成果が認められ国から $nm は $sogo_p[7] の称号を授かった!<br>\n";
			$gold +=200000; 
			$sogo =7;
			$nou_kai =0;
				}


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2012-06-08 (金) 00:26:41 (4340d)