유저에게 포상량이 확실히 더 많아짐

This commit is contained in:
2018-04-18 21:24:00 +09:00
parent 61244fcef9
commit 3f21e28ef7
+7 -1
View File
@@ -636,7 +636,13 @@ function processAI($no) {
}
if ($genID) {
$amount = min(100, intdiv(($nation[$type]-GameConst::$baserice), 5000)*10 + 10);
if($genID === $npcGenID){
$amount = min(100, intdiv(($nation[$type]-GameConst::$baserice), 5000)*10 + 10);
}
else{
$amount = min(100, intdiv(($nation[$type]-GameConst::$baserice), 2000)*10 + 10);
}
// 포상
$command = EncodeCommand($type2, $genID, $amount, 23); // 금,쌀 1000단위 포상
}