천통했을 때에는 벌점이 늘어나지 않도록 수정

This commit is contained in:
2018-09-18 03:26:12 +09:00
parent 89c5485784
commit 385e7f4871
+2 -1
View File
@@ -1252,8 +1252,9 @@ function increaseRefresh($type="", $cnt=1) {
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game_env');
$gameStor->refresh = $gameStor->refresh+$cnt; //TODO: +로 증가하는 값은 별도로 분리
$isunited = $gameStor->isunited;
if($generalID && $userGrade < 6) {
if($isunited != 2 && $generalID && $userGrade < 6) {
$db->update('general', [
'lastrefresh'=>$date,
'con'=>$db->sqleval('con + %i', $cnt),