From 4856f6c4778d605f00e19fe27e4a3dd0fb43362a Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 9 May 2020 17:52:06 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=A0=EB=84=88=EB=A8=BC=ED=8A=B8=20?= =?UTF-8?q?=EC=9A=B0=EC=8A=B9=20=EC=B2=98=EB=A6=AC=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_tournament.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/func_tournament.php b/hwe/func_tournament.php index 6bf425bb..9ceffc93 100644 --- a/hwe/func_tournament.php +++ b/hwe/func_tournament.php @@ -753,6 +753,9 @@ function setGift($tnmt_type, $tnmt, $phase) { $db->update('rank_data', [ 'value' => $db->sqleval('value + 2') ], 'general_id = %i AND type = %s', $general['no'], "{$tp2}g"); + $db->update('rank_data', [ + 'value' => $db->sqleval('value + 1') + ], 'general_id = %i AND type = %s', $general['no'], "{$tp2}p"); //포상 장수 이름, 금액 $resultHelper[$generalID]['reward'] += $cost;