GameConst 클래스의 항목들을 public static으로 변경.

This commit is contained in:
2018-03-25 01:19:37 +09:00
parent bcea562636
commit 13ee593548
13 changed files with 93 additions and 93 deletions
+1 -1
View File
@@ -728,7 +728,7 @@ function processAI($connect, $no) {
$result = MYDB_query($query, $connect) or Error("processAI10 ".MYDB_error($connect),"");
$SelGen = MYDB_fetch_array($result);
if($SelGen['no'] != 0) {
$amount = floor(($nation[$type]-GameConst::baserice) / 5000)*10 + 10;
$amount = floor(($nation[$type]-GameConst::$baserice) / 5000)*10 + 10;
if($amount > 100) $amount = 100;
// 포상
$command = EncodeCommand($type2, $SelGen['no'], $amount, 23); // 금 1000단위 포상