1
This commit is contained in:
parent
ffb4fe14e2
commit
b9a90b605b
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user