From 30c219716dd2dc3a9d43ace231c91c87564862b7 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 18 Jul 2018 09:08:20 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hwe/func.php b/hwe/func.php index 7a4b3c4d..8d7b11f4 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -2307,7 +2307,7 @@ function checkAbilityEx(int $generalID, ActionLogger $actLog){ $db->update('general',[ 'leader2'=>$db->sqleval('leader2 + %i', GameConst::$upgradeLimit), 'leader'=>$db->sqleval('leader - 1') - ]); + ], 'no=%i', $generalID); $actLog->pushGeneralActionLog('통솔이 1 떨어졌습니다!', ActionLogger::PLAIN); return; } @@ -2316,7 +2316,7 @@ function checkAbilityEx(int $generalID, ActionLogger $actLog){ $db->update('general',[ 'power2'=>$db->sqleval('power2 + %i', GameConst::$upgradeLimit), 'power'=>$db->sqleval('power - 1') - ]); + ], 'no=%i', $generalID); $actLog->pushGeneralActionLog('무력이 1 떨어졌습니다!', ActionLogger::PLAIN); return; } @@ -2325,7 +2325,7 @@ function checkAbilityEx(int $generalID, ActionLogger $actLog){ $db->update('general',[ 'intel2'=>$db->sqleval('intel2 + %i', GameConst::$upgradeLimit), 'intel'=>$db->sqleval('intel - 1') - ]); + ], 'no=%i', $generalID); $actLog->pushGeneralActionLog('지력이 1 떨어졌습니다!', ActionLogger::PLAIN); return; } @@ -2334,7 +2334,7 @@ function checkAbilityEx(int $generalID, ActionLogger $actLog){ $db->update('general',[ 'leader2'=>$db->sqleval('leader2 - %i', GameConst::$upgradeLimit), 'leader'=>$db->sqleval('leader + 1') - ]); + ], 'no=%i', $generalID); $actLog->pushGeneralActionLog('통솔이 1 올랐습니다!', ActionLogger::PLAIN); return; } @@ -2343,7 +2343,7 @@ function checkAbilityEx(int $generalID, ActionLogger $actLog){ $db->update('general',[ 'power2'=>$db->sqleval('power2 - %i', GameConst::$upgradeLimit), 'power'=>$db->sqleval('power + 1') - ]); + ], 'no=%i', $generalID); $actLog->pushGeneralActionLog('무력이 1 올랐습니다!', ActionLogger::PLAIN); return; } @@ -2352,7 +2352,7 @@ function checkAbilityEx(int $generalID, ActionLogger $actLog){ $db->update('general',[ 'intel2'=>$db->sqleval('intel2 - %i', GameConst::$upgradeLimit), 'intel'=>$db->sqleval('intel + 1') - ]); + ], 'no=%i', $generalID); $actLog->pushGeneralActionLog('지력이 1 올랐습니다!', ActionLogger::PLAIN); return; }