From aa2110cb137a7a2d261b224a40baecc08efbb260 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 3 Dec 2019 15:21:12 +0800 Subject: [PATCH] 1 --- webapp/controller/DouRewardController.class.php | 4 ++-- webapp/controller/RoleController.class.php | 6 +++--- webapp/controller/TankController.class.php | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/webapp/controller/DouRewardController.class.php b/webapp/controller/DouRewardController.class.php index 8ed431d..ebd9b54 100644 --- a/webapp/controller/DouRewardController.class.php +++ b/webapp/controller/DouRewardController.class.php @@ -100,8 +100,8 @@ class DouRewardController{ $delim = "|"; $drop_multiply = explode($delim, $row['item_id']); $num_multiply = explode($delim, $row['item_num']); - error_log(json_encode($drop_multiply)); - error_log(json_encode($num_multiply)); + //error_log(json_encode($drop_multiply)); + //error_log(json_encode($num_multiply)); for ($i = 0; $i < count($drop_multiply); $i++) { $item_id = $drop_multiply[$i]; $num = $num_multiply[$i]; diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index 37dca6e..806e109 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -239,9 +239,9 @@ class RoleController{ $quest->triggerQuest(QUEST_SUM_ALIVE, 2, $skill, $account_id); $quest->triggerQuest(QUEST_SUM_HARM, 2, $harm, $account_id); $quest->triggerQuest(QUEST_SUM_KILL, 2, $kills, $account_id); - $quest->triggerQuest(QUEST_SUM_TANK1KILL, 2, $tank1_kill, $account_id); - $quest->triggerQuest(QUEST_SUM_TANK2KILL, 2, $tank2_kill, $account_id); - $quest->triggerQuest(QUEST_SUM_TANK3KILL, 2, $tank3_kill, $account_id); + //$quest->triggerQuest(QUEST_SUM_TANK1KILL, 2, $tank1_kill, $account_id); + //$quest->triggerQuest(QUEST_SUM_TANK2KILL, 2, $tank2_kill, $account_id); + //$quest->triggerQuest(QUEST_SUM_TANK3KILL, 2, $tank3_kill, $account_id); if ($rank <= 5) { $quest->triggerQuest(QUEST_DAY_RANK, 1, 1, $account_id); } diff --git a/webapp/controller/TankController.class.php b/webapp/controller/TankController.class.php index 505a6ad..3ad90b3 100644 --- a/webapp/controller/TankController.class.php +++ b/webapp/controller/TankController.class.php @@ -155,7 +155,6 @@ class TankController{ array( ':account_id' => $account_id, )); - foreach ($rows as $row) { $t = $this->getTank($row['tank_id']); if(time() >= $row['active_time'] && $row['active_time'] != 0){