diff --git a/webapp/controller/PassController.class.php b/webapp/controller/PassController.class.php index d3e93e6..c7cd91a 100644 --- a/webapp/controller/PassController.class.php +++ b/webapp/controller/PassController.class.php @@ -162,14 +162,12 @@ class PassController{ $item_list = array(); $seaReward_meta_table = require('../res/seasonReward@seasonReward.php'); for ($j = 1; $j <= count($seaReward_meta_table); $j++) { - $id = $j + $number * 100; - if ($id >= ($number + 1) * 100 || $id <= ($number - 1) * 100) { - continue; - } + $id = $j + 100; $drop_multiply = array(); $status = 0; $seaReward = $this->getSeasonReward($id - 1); $sum_point = $sum_point + $seaReward['point']; + error_log($seaReward['point']); if ($row['score'] <= $sum_point) { $level = $seaReward['level']; $pass_score = $row['score'] - $sum_point + $seaReward['point'];