This commit is contained in:
wangwei01 2019-04-29 15:54:58 +08:00
parent 4fbe972560
commit 6c61a74932
2 changed files with 4 additions and 1 deletions

View File

@ -54,6 +54,9 @@ class HangController{
}
$item_id = 1;
$num = time() - $row['hang_time'];
if ($num >= 4 * 3600) {
$num = 4 * 3600;
}
if ($weight != 0) {
$num = $num * 3;
}

View File

@ -92,7 +92,7 @@ class RoleController{
$alive_time_his = $alive_time;
$add_HP_his = $add_HP;
$coin_num = $_REQUEST['coin_num']; //金币
$integral = $_REQUEST['integral']; //积分
$integral = $_REQUEST['score']; //积分
if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
return;