1
This commit is contained in:
parent
ffb4fe14e2
commit
b9a90b605b
@ -162,14 +162,12 @@ class PassController{
|
|||||||
$item_list = array();
|
$item_list = array();
|
||||||
$seaReward_meta_table = require('../res/seasonReward@seasonReward.php');
|
$seaReward_meta_table = require('../res/seasonReward@seasonReward.php');
|
||||||
for ($j = 1; $j <= count($seaReward_meta_table); $j++) {
|
for ($j = 1; $j <= count($seaReward_meta_table); $j++) {
|
||||||
$id = $j + $number * 100;
|
$id = $j + 100;
|
||||||
if ($id >= ($number + 1) * 100 || $id <= ($number - 1) * 100) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$drop_multiply = array();
|
$drop_multiply = array();
|
||||||
$status = 0;
|
$status = 0;
|
||||||
$seaReward = $this->getSeasonReward($id - 1);
|
$seaReward = $this->getSeasonReward($id - 1);
|
||||||
$sum_point = $sum_point + $seaReward['point'];
|
$sum_point = $sum_point + $seaReward['point'];
|
||||||
|
error_log($seaReward['point']);
|
||||||
if ($row['score'] <= $sum_point) {
|
if ($row['score'] <= $sum_point) {
|
||||||
$level = $seaReward['level'];
|
$level = $seaReward['level'];
|
||||||
$pass_score = $row['score'] - $sum_point + $seaReward['point'];
|
$pass_score = $row['score'] - $sum_point + $seaReward['point'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user